Automation testing is used to automate the manual testing. It is a process of automating the manual process to test the application/system under test. It uses separate testing tools which facilitate you to create test scripts which can be executed repeatedly and doesn’t need any manual intervention.
What is test automation or automation testing?
What are the advantages of automation testing?
- It supports 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.
What is selenium? What are the different components of selenium?
Selenium is one of the most popular automated testing suites. It is browser automation tool which lets you automated operations like click, type and selection from a drop down of a web page. It is designed to support and encourage automation testing of functionalities of web based applications and a wide range of browsers and platforms. It is one of the most accepted tools amongst the testing professional due to its existence in the open source community.
Selenium is not just a single tool rather than it is a package of several testing tools and that?s why it is referred as a suite. Each of these tools is designed to cater different testing and test environment requirement.
What is Selenium 1.0?
Selenium 1.0 is popularily known as Selenium Remote Control (Selenium RC). It is a library available in wide variety of languages. The main reason to use Selenium RC was that Selenium IDE was incapable to execute tests in browsers other than Selenium IDE and the limitation of language Selenese used in Selenium IDE.
What is Selenium IDE?
Selenium IDE is a firefox plug-in. It is used to record and replay tests in firefox browser. It is used only with firefox browser.
What is selenium 2.0?
Selenium 2.0 is a tool which is a combination of web testing tools Selenium RC and WebDriver.
Why is selenium selected as a test tool?
Selenium is used as a testing tool because:
- It is free and open source.
- It has a large user base and helping communities.
- Compatible on different platforms i.e. Windows, Mac OS, Linux etc.
- Have cross browser compatibility (Chrome, Firefox, IE, Safari etc.)
- Support multiple programming languages ( Java, C#, Ruby, PERL, Python etc.)
- Support distributed testing.
What are selenium supporting testing types?
Selenium supports two types of testing:
- Functional Testing
- Regression Testing
What are the limitations of selenium?
Selenium has following limitations:
- It can be used only to test web based application.
- Mobile applications can not be tested using selenium.
- You can not test captcha and bar code by using selenium.
- The user must have the knowledge of programming language for using selenium.
- Reports can only be generated using third party tools like TestNG or Junit.
What is selenese?
Selenese is a lanuage which is used for writing test script in selenium IDE.
Describe the different types of locators in Selenium?
Locator is an address which identifies a web element uniquely within the web page.
There are different types of locators in Selenium to identify web elements accurately and precisely.
- CSS Selector
What is an Xpath?
Xpath is used to locate a web element based on its XML path. It can be used to locate HTML elements.
Which is the latest Selenium tool?
The latest Selenium tool is WebDriver.
What are the different types of Drivers that WebDriver contains?
These are the different drivers available in WebDriver:
What are the different types of annotations which are used in Selenium?
JUnit annotations which can be used are:
What is Selenium Grid?
Selenium Grid facilitates you to distribute your tests on multiple machines and all of them at the same time. So, you can execute tests on Internet Explorer on Windows and Safari on Mac machine using the same text script. It reduces the time of test execution and provides quick feedback.
Where the result is seen of Test Execution in Selenium IDE?
The result of test execution is displayed in a Log Window in Selenium IDE.
Can you edit tests in Selenium IDE?
Yes, tests in Selenium IDE can be edited. There are two ways to edit tests in Selenium IDE.
- By Table views
- Looking into the source code
Can you use html id and name while using Selenium IDE?
Yes, You can use html id and name as it is available in Selenium IDE.
What are the WebDriver supported Mobile Testing Drivers?
WebDriver supported “mobile testing drivers” are: