Published On : 28/Jan/2023 09:57:27 AM

Top 22 Selenium Interview Questions1) What is the primary distinction between web-driver and RC?The key distinction between Selenium RC and Webdriver is that when a page is loaded, Selenium RC injects javascript functions into browsers. Selenium Webdriver, on the other hand, uses the browser's built-in functionality to drive the browser. 2) What are some of the benefits of RC?The following are some of the benefits of RC:Can read and write data from and to.xls,.txt, and other formats.It can handle dynamic objects as well as Ajax-based user interface elements.For improved performance and flexibility, loops and conditions might be used.Many programming languages and operating systems are supported.Selenium RC can be used in any browser that supports JAVA scripts. 3) What is a framework, and what are the many types of frameworks accessible in RC?A collection of libraries and other resourcesThe term "framework" refers to a set of classes that testers can use to automate test cases. Some of the frameworks available in RC are NUnit, JUnit, TestNG, Bromine, RSpec, and unittest. 4) How do we deal with pop-ups in RC?To handle pop-ups in RC, use the selectWindow method to pick the pop-up window, and the windowFocus method to transfer control from the current window to the pop-up windows and conduct scripted actions. 5) What technological constraints are there while utilising Selenium RC?Apart from the JavaScript constraint on "same origin policy," Selenium is also prohibited from testing anything that is not within the browser. 

https://dridhon.com/top-22-selenium-interview-questions/