Selenium is a portable framework for software testing. Selenium tool facilitates with a playback tool for authoring functional tests without the need to learn a test scripting language. Selenium is one of the most widely used open source Web UI (User Interface) automation testing suite.
Automation testing uses automation tools to write and execute test cases, no manual involvement is necessary for executing an automated test suite. Testers prefer automation tools to write test scripts and test cases and then group into test suites.
– It supports the execution of repeated test cases. – It facilitates parallel execution. – It aids in testing a large test matrix. – It improves accuracy because there are no chances of human errors. – It saves time and money.
1. Selenium Integrated Development Environment (IDE) 2. Selenium Remote Control (Now Deprecated) 3. WebDriver 4. Selenium Grid
– Functional Testing – Regression Testing – Sanity Testing – Smoke Testing – Responsive Testing – Cross Browser Testing – UI testing (black box) – Integration Testing
1. Id 2. XPath 3. CSS selector 4. className 5. tagName 6. name 7. link text 8. partialLinkText
Xpath or XML path is a query language that is used for selecting nodes from XML documents. Also, it is one of the locators supported by Selenium Webdriver.
Single Slash "/": Single slash is used to create XPath with absolute path. Double Slash "//": Double slash is used to create XPath with the relative path.
– JAVA – PHP – Python – C# – Ruby – Perl
– AndroidDriver – IphoneDriver – OperaMobileDriver