Software Test Automation Interview Questions

3,426 software test automation interview questions shared by candidates

Git basic commands, Cucumber, I was asked to execute a manual test by reading the test steps. Then I had to write missing code for a cucumber test and check-in the code in a new feature branch. At one point the team members who were observing the stuff I was doing got stuck at a git command themselves and I had to tell them what they were doing wrong ;)
avatar

Test Automation Specialist

Interviewed at ZEISS Group

4
Aug 2, 2021

Git basic commands, Cucumber, I was asked to execute a manual test by reading the test steps. Then I had to write missing code for a cucumber test and check-in the code in a new feature branch. At one point the team members who were observing the stuff I was doing got stuck at a git command themselves and I had to tell them what they were doing wrong ;)

Solve either one the below coding question you have to move zeros either to end of the array or bring them to beginning of the array. For example, if {14, 0, 5, 2, 0, 3, 0} is the given array, then moving zeros to end of the array will result {14, 5, 2, 3, 0, 0, 0} and bringing zeros to front will result {0, 0, 0, 14, 5, 2, 3}. Solve without using For loop and without using a new blank array/collection. Write a Java program to replace all leading and trailing zeroes in a number without using Replace function. Eg. input - 0001120380.0000 output - 1120380, input - 00012.001200 output - 12.0012
avatar

Automation API Test Engineer

Interviewed at R Systems

3.9
Nov 6, 2024

Solve either one the below coding question you have to move zeros either to end of the array or bring them to beginning of the array. For example, if {14, 0, 5, 2, 0, 3, 0} is the given array, then moving zeros to end of the array will result {14, 5, 2, 3, 0, 0, 0} and bringing zeros to front will result {0, 0, 0, 14, 5, 2, 3}. Solve without using For loop and without using a new blank array/collection. Write a Java program to replace all leading and trailing zeroes in a number without using Replace function. Eg. input - 0001120380.0000 output - 1120380, input - 00012.001200 output - 12.0012

How to print even & odd numbers concurrently using thread? How to use Optional Parameter? If you have two generics defined of type string, int in main method, but you have to run only string one.How you will do so ? What is the difference between hiding method & overriding method? They said to write the code. Write a code to make a list of object type? They will give some test scenarios to write test cases. Some Automation basics. Some Sql queries like find the second highest salary from employee table.
avatar

Automation Test Engineer

Interviewed at Siemens

4.3
Jun 15, 2017

How to print even & odd numbers concurrently using thread? How to use Optional Parameter? If you have two generics defined of type string, int in main method, but you have to run only string one.How you will do so ? What is the difference between hiding method & overriding method? They said to write the code. Write a code to make a list of object type? They will give some test scenarios to write test cases. Some Automation basics. Some Sql queries like find the second highest salary from employee table.

Viewing 1091 - 1100 interview questions

Glassdoor has 3,426 interview questions and reports from Software test automation interviews. Prepare for your interview. Get hired. Love your job.