1.SeleniumRC:
它是必不可少的元素,即Selenium测试中的API,它支持Firefox,IE,Chrome等。该框架允许开发人员以编程语言编写涵盖不同测试案例的测试实例,以检查用户界面部分,最终检查用户界面部分。帮助检查互联网功能。
2. Selenium Webdriver:
它是一系列开源的API,可用于自调节Web应用程序的测试。换句话说,它充当浏览器的自动化框架,该框架首先接受指令,然后在特定于浏览器的驱动程序的帮助下,通过直接通信将这些命令相应地发送到浏览器。
Selenium RC和Selenium Webdriver之间的区别:
S.No. | Selenium RC | Selenium Webdriver |
---|---|---|
1. | This API supports a particular browser. | This is an API which is not bound to a specific browser i.e. supported by almost every browser. |
2. | The server of selenium is required to process the task. | The server of selenium is not required to process the task. |
3. | Its main engine is supported by Javascript. | Its engine is not supported by Javascript. |
4. | Easy functionality as compared to Selenium Webdriver. | It is complicated to learn as compared to Selenium RC. |
5. | It can be used for recording purposes. | It cannot be used for recording purposes. |
6. | It does not follow pure OOP. | Its approach is based on pure OOP. |
7. | Cursor movement not allowed. | Cursor movement is allowed. |