Selenium FAQ’s
Selenium Online Training in Ameerpet Hyderabad
We are providing Selenium Online Training in Ameerpet Hyderabad. We are one of best Institute to provide Best High Quality Selenium online training all over India. The IT Professionals and Students from India and abroad who are unable to attend regular classes can attend our Selenium online training from their home in their convenient timings. For more details on Selenium Online Training and Selenium FAQ’s please call to 9290971883, / 9247461324, or drop a mail to revanthonlinetraining@gmail.com
Selenium FAQ’s
2 What is Selenium 2.0 ?
In Selenium 2.0 the Web Testing tools Selenium RC and WebDriver are consolidated in single tool.
3. what is assertion and what are the types of assertion in selenium ?
Assertion is used as a verification point. It verifies that the state of the application conforms to what is expected. The asserion types are : “assert” , “verify” and “waitFor”.
4. What is test automation or automation testing?
Automation testing uses the automation tools to write and execute test cases. No manual involvement is necessary for executing an automated test suite. Testers prefer the automation tools to write test cases and test scripts and then group into test suites.
5. What are the advantages of automation testing?
The advantages of automation testing are :
- It supports both functional and performance test on an application.
- It facilitates parallel execution.
- It supports the execution of repeated test cases.
- It improves accuracy because there are no chances of human errors.
- It aids in testing a large test matrix.
- It saves time and money.
6. What are the testing types supported by Selenium?
Selenium supports the testing like :
Functional Testing
Regression Testing
7. What are the limitations of Selenium?
The limitations of Selenium are :
- Selenium supports the testing of only web-based applications
- Selenium cannot be used to test Mobile applications
- It cannot test Captcha and Barcode readers
- Reports can only be generated using third-party tools like TestNG or JUnit.
- As Selenium is a free tool, there is no ready vendor support through the user can find numerous helping communities.
- The user is expected to possess prior programming language knowledge.
8. When should we use Selenium IDE?
Selenium IDE is the simplest and easiest tool within the Selenium Package. Its record and playback feature makes it exceptionally easy to learn with minimal acquaintances to any programming language. Selenium IDE is an ideal tool for a naïve user.
9. What is Selenese?
Selenese is the language which is used to write test scripts in Selenium IDE.
10 Name some of the commonly used Automation Testing tools that are used for Non-Functional Automation.
The commonly used Automation Testing tools for Non-Functional Automation are as follows.
- Load Runner, provided by Hp.
- JMeter, provided by Apache.
- Burp Suite, provided by PortSwigger.
- Acunetix, provided by Acunetix.
11. What are the different types of locators in Selenium?
The locator is an address that identifies a web element uniquely within the webpage. Thus, to identify web elements accurately and precisely we have different types of locators in Selenium:
ID
ClassName
Name
TagName
LinkText
PartialLinkText
Xpath
CSS Selector
DOM
12. What is an XPath?
XPath is used to locate a web element based on its XML path. XML is a Extensible Markup Language and which is used to store, organize and transport arbitrary data. It stores the data in a key-value pair which is very much similar to HTML tags. As both are markup languages and fall under the same umbrella, XPath can be used to locate HTML elements.
The fundamental behind locating elements using XPath is the traversing between various elements across the entire page and thus enabling a user to find an element with the reference of another element.
13. When should I use Selenium Grid?
Selenium Grid can be used to execute same or different test scripts on multiple platforms and browsers concurrently to achieve distributed test execution, testing under different environments and saving execution time remarkably.
14. What do we mean by Selenium 1 and Selenium 2?
Selenium RC alone is also referred to as Selenium 1.
Selenium RC and WebDriver, in a combination, are popularly known as Selenium 2.
15. What are the different components of Selenium?
Selenium is not just a single tool but a software having a different approach to support automation testing. It comprises of four major components which include:
Selenium Integrated Development Environment (IDE)
Selenium Remote Control (Now Deprecated)
WebDriver
Selenium Grid
16. Which is the latest Selenium tool?
WebDriver is the latest selenium tool.
17. List out the names of programming languages, browsers and operating systems that are supported by Selenium.
Selenium supports various operating systems, browsers and programming languages. They are :
- Programming Languages: C#, Java, Python, PHP, Ruby, Perl, JavaScript.
- Operating Systems: Android, iOS, Windows, Linux, Mac, Solaris.
- Browsers: Google Chrome, Mozilla Firefox, Internet Explorer, Edge, Opera, Safari, etc.
18. How do you launch the browser using WebDriver?
The following syntax can be used to launch Browser:
- WebDriver driver = new FirefoxDriver();
- WebDriver driver = new ChromeDriver();
- WebDriver driver = new InternetExplorerDriver();
19. What are the different types of Drivers available in WebDriver?
The different types of drivers available in WebDriver are:
ChromeDriver
FirefoxDriver
InternetExplorerDriver
OperaDriver
SafariDriver
AndroidDriver
IPhoneDriver
HtmlUnitDriver
20. What are the different types of waits available in WebDriver?
There are two types of waits available in WebDriver, Implicit Wait and Explicit Wait WebDriver.
Implicit Wait : It is used to provide a default waiting time (say 30 seconds) between each consecutive test step/command across the entire test script. Thus, the subsequent test step would only execute when the 30 seconds have elapsed after executing the previous test step/command.
Explicit Wait: It is used to halt the execution till the time a particular condition is met or the maximum time has elapsed. Unlike Implicit waits, explicit waits are applied for a particular instance only.
Selenium FAQ’s
Institute Address :
B1, 3rd Floor, Eureka Court, Near Image Hospital, Ameerpet, Hyderabad, India