Frequently asked Automation Testing interview questions and answers for freshers and 1-5 year experienced testers on prerequisites and procedure followed in Automation Testing, Advantages, Disadvantages, test cases, tools used, automation Framework etc.
- Tests conducted by testers manually is called Manual Testing, wherein they compare the expected and actual functionality are in accordance with the test cases.
- Tests conducted by using software tool is called Automation Testing, wherein the expected results are fed into the tool to be compared with the actual output of software being tested.
- Stable build
- List of repeated functionality
- List of Test Data
- iAutomation Framework
3. Explain the procedure followed in Automation Testing?
- Tool Selection – List down the automation tools compatible, depending on whether the application is Desktop / Web based, language used for software development etc
- Scope of Automation – List down the scenarios and functionality which are repetitive and automatable
- Planning – Design a framework, Schedule the scripting and execution of the same
- iDevelopment – Scripting the scenarios to be tested with inputs(Test Data) and expected output
- Execution – Running/Executing the scripts and reporting the results
- vMaintenance – Update the scripts in accordance to the latest changes with the software under test
4. What are the different types of Automation Testing?
- Unit tests, GUI tests and Functional tests
- Unit tests – Done at development phase which helps reduce the bugs
- GUI tests – Done at testing level, which focuses its scripts to test user interface of application under test
- Functional tests – Done at testing level, which simulates the functional scenarios to test the application with provided input and expected results
NOTE : Other automation test include Webservice testing
5. What are the Advantages of Automation Testing
- Reduced test execution time
- Can be executed in cross platforms test cases (different OS, browsers, environment, etc)
- Simplifies complex functional tests
- Automating repetitive tasks
6. What are the Disadvantages of Automation Testing
- Continuous script maintenance/updation is necessary
- Basic programming knowledge is a must for better automation test
- Skilled resources required for scripting
7. Why use a particular tool for automation testing ?
Tool selection should be done considering -
- Platform to be tested - like supported OS, scripting languages supported by tool and testing
- Debugging facility
- Support for object identification
- Frameworks supported
8. What are the aspects considered while shortlisting test cases for Automation?
Following cases should be automated :
- GUI cases
- Regression cases
- Most repeated scenarios
- Tests with multiple data sets
9. What are the factors to prove the maximum usage of automation testing?
Following are the criteria considered to prove maximum usage of automation testing :
- Number of test cases to defect detected ratio
- Execution time and time required to release the product
- Reduction in manual interference
- Complexity of Maintenance
- Test coverage