http://www.technicalpage.net/search/label/SQL
Selenium Interview Questions and Answers Part 1:
YouTube: To watch this in YouTube, click here
1. What is Selenium?
2. What are advantages of Selenium?
3. What are the platforms Selenium supports ?
4. What are the programming languages Selenium supports ?
5. What are the browsers Selenium supports ?
6. What are the drivers Selenium supports ?
7. What are the tools Selenium can be integrated with ?
8. What are the components of Selenium ?
9. How can Selenium supports parallel execution?
10. What are the disadvantages of Selenium?
1. What is Selenium?
Selenium is a web based software testing tool. It does not support window based or desktop based applications. It is used for automating software testing.
2. What are advantages of Selenium?
Some main advantages of Selenium are :
1. It is open source tool, that means, it is free to use.
2. It supports multiple operating platforms, that means, it is platform independent.
3. It supports multiple programming languages.
4. It supports multiple browsers.
5. It can be integrated with other tools in software development/testing process.
6. It supports parallel execution.
3. What are the platforms Selenium supports ?
Selenium supports multiple platforms, such as :
Window
Mac
Linux
iphone
Android
Ipad
4. What are the programming languages Selenium supports ?
Selenium supports multiple programming languages, such as :
Java, Python, Java Script, C#, C++, .Net, PHP, Perl, Ruby etc.
5. What are the browsers Selenium supports ?
Selenium supports multiple browsers, such as :
Firefox, Chrome, Internet explorer, EDGE, Safari, Opera
6. What are the drivers Selenium supports ?
Selenium supports below drivers:
Firefox driver
Gecko driver
Chrome driver
Internet Explorer driver
Safari driver
Opera driver
Edge driver
HTML UNIT driver
Iphone driver
Android driver
7. What are the tools Selenium can be integrated with ?
Selenium can be integrated with multiple tools, such as :
TestNG, Jenkins, Maven, Cucumber, JUnits, AutoIT etc.
8. What are the components of Selenium ?
The components of Selenium are :
Selenium IDE
Selenium RC
Selenium WebDriver
Selenium GRID
9. How can Selenium supports parallel execution?
Selenium supports parallel execution through Selenium GRID.
10. What are the disadvantages of Selenium?
There are some disadvantages of Selenium, such as:
1. Since it is a free tool, there is no technical support.
2. It supports only web application. To work on window or desktop based applications you need to use third party tools.
3. Selenium does not have record or replay option, So you need to know at least one object oriented programming language such as Java, Python, .Net etc to use Selenium.
4. You need to know about locators such as class, name, link, id, xpath, CSS Selector
5. The locators such as name, id, class, link are not reliable. So, you need to have good knowledge of reliable locators such as xpath, CSS selector.
6. You should have knowledge to handle the dynamic locators. During execution, locators may change their values, so you should be able to handle such dynamic behaviour.
7. You need to know about frames. Frames may present on web pages. Sometimes, there are frames inside frames. You should be able to identify the frames and switch to the frames.
8. Your code might fail when run in different browsers. So, you should be able to create code so handle such situations.
9. The performance is impacted by the network speed, operating systems, browsers etc.
No comments:
Post a Comment