Automation

  Home  Testing  Automation


“Automation related Frequently Asked Questions by expert members with professional career as Automation. These list of interview questions and answers will help you strengthen your technical skills, prepare for the new job interview and quickly revise your concepts”



108 Automation Questions And Answers

1⟩ What is Selenium?

Selenium is a robust test automation suite designed in a way to support and encourage automation testing of functional aspects of web-based applications and a wide range of browsers and platforms.

 159 views

2⟩ Tell me does the Selenium have any limitations?

Selenium supports only web based applications testing. So, here are the limitations of it:

☛ Mobile applications cannot be tested using Selenium

☛ Desktop applications cannot be tested using Selenium

☛ Captcha and Bar code readers cannot be tested using Selenium

☛ User should use third-party tools like TestNG or jUnit to write test scripts and generate reports

☛ Programming language knowledge is required to create robust scripts in Selenium WebDriver

 165 views

3⟩ Tell me what is an Absolute XPath?

Absolute XPath is the direct way to find the element. It has a disadvantage. XPath gets failed if there are any changes made in the path of the element. html/body/div[3]/div/div[1]/div/div/div[1]/div/input - Absolute XPath example.

 143 views

14⟩ Do you know how to debug the tests in Selenium IDE?

The tests could be debugged in such way:

☛ insert a break point from the location from where you want to execute test step by step

☛ run the test case

☛ test case execution will be paused at the given break point

☛ click on the blue button to continue with the next statement

☛ to continue executing all the commands at a time click on the “Run” button

 142 views

15⟩ Tell me what is IntelliJ?

IntelliJ is an IDE that helps users to write code for Selenium better and faster. It could be used as an option to Java bean and Eclipse.

 155 views

16⟩ Tell me what is Automation Testing?

Automation testing is a process in which software tools execute pre-scripted tests on a software application before it is released into production. Special software is used to control the test execution, actual outcomes and predicted outcomes comparison, the test preconditions setting up, and other test control and test reporting functions.

 157 views

17⟩ Explain what is Selenium IDE?

Selenium IDE is a plug-in used to record and replay tests in Firefox browser. Scripts may be automatically recorded and edited manually providing auto-completion support and the ability to move commands around quickly.

 156 views

20⟩ Explain me what is the difference between setSpeed() and sleep() methods?

Both of these methods delay the speed of execution. The main difference between them is setSpeed sets a speed while will apply delay time before every Selenium operation takes place. thread.sleep() will set up wait only for once.

For Example:

☛ sleep(5000)- It will wait for 5 seconds. It is executed only once, where the command is written.

☛ setSpeed("5000")- It also will wait for 5 seconds. It runs each command after setSpeed delay by the number of milliseconds mentioned in set Speed.

 155 views