# 223

Senior Test Automation Engineer interview questions shared by candidates

## Top Interview Questions

Sort: Relevance|Popular|Date
Senior Test Automation Engineer was asked...24 March 2020

### Code to find character count in a given string.

In these sorts of interviews you really need to drill down and understand what the interviewer is looking for. A good way to simulate a real interview experience is to do a mock with one of the EPAM Systems Senior Test Automation Engineer experts on Prepfully, rated super strongly on TrustPilot... prepfully.com/practice-interviews Less

### A quick programming question. Count from 1 to 100 and write 'X' if the current number can be divided by 3 or 'Y' if by 5 and 'Z' if both.

public class Func35 { public static void main(String[] args) { for(int i=1;i&lt;=100;i++){ if(i%3==0 &amp;&amp; i%5==0){ System.out.print("Z"+","); } else if(i%3==0){ System.out.print("X"+","); } else if(i%5==0){ System.out.print("Y"+","); } else { System.out.print(i+","); } } } } Less

for(int i=1;i&lt;=100;i++) { boolean flag=false; if(i%15==0) { System.out.println(i+"Z"); flag=true; } else if(i%3==0 &amp;&amp; flag==false) { System.out.println(i+"X"); flag=true; } else if(i%5==0&amp;&amp;flag==false) { System.out.println(i+" Y"); } } Less

Used a bool variable added the two division in the loop (with the loop variables) (i%5 and i%3). The first division only sets the bool variable and the second division writes the output according Less

### Public int compareTo(object o) { Employee emp = (Employee)o; return this.id - e.id; }

Output should be 0. Since compareTo() implements Comparable interface.

### 1.Tell me about yourself? 2.The asked about which framework you used? about that. 3.Selenium-about locators, selenium wait and usage 4.Basic Java Q? Difference between HashMap and HashSet, Abstract and Interface, What is Final? What is Encapsulation? 5.What is Instance Variable, method and object? 6.Java program to count and print repeated character in a string? String would be Your Name. 7.Cucumber-About Gherkins, Background, Scenario Outline, Reporting, How Feature file and stepDefinition file are linked etc. 8.About API Automation?

Did u get schedule date?

I have completed L1 &amp; l2 rounds of interview. I am waiting for another Managerial round as per the consultancy guy said. Less

Did u give interview by video call? They took me interview via Microsoft teams . That was first round its almost 3 days i didnt get any response. My interview was regarding python developer 2+ experience. They took around 45min interview . I dono whom to contact for further updates Less

Use data provider annotations and declare username and password as the variables. and from excel extract the username name and password in form for list or array. and using data provider you can test it for both valid and non valid username and password. NOTE:- @dataprovider annotation follow one to one mapping do care of that while providing values in your test case. Less

### 1. What was your most challenging project 2. How was your relationship with Dev team 3. What is your take on agile development 4. What was your role in the agile project you worked on 5. What can you do to finish the testing in timely manner 6. Give me an example of a time you faced a conflict while working on a team. How did you handle that? 7. Tell me about a time you were under a lot of pressure. What was going on, and how did you get through it? 8. Give me an example of a time you managed numerous responsibilities. How did you handle that?

My answers were absolutely out of my experiences. Be ready with 5 stories in all and try to fit them everywhere. Less

### R1 Interview : 1. Find first and second minimum of an Array of integer. 2. Bulb puzzle. 3. Jars and Pills puzzle. 4. Missing Element in Array of integer. 5. All API method. 6. How to do API documentation before publish? 7. Difference between SOAP and REST. 8. Different tools to Automate API. 9. API Exceptions. 10. If API is not working how to debug that. 11. Why API testing is required? 12. Difference between Unit Testing and API Testing R2 - Interview : 13. Rest Sharp Framework related Questions. 14. API response code. 15. How we provide header in API request. 16. Difference between URL and query parameter. 17. How to pass Query Parameter in request in Rest Sharp. 18. File Upload in selenium. 19. Sibling in Xpath. 20. Reporting Rest Sharp Framework. 21. Specflow Scenario Outline. 22. Tags in Specflow. 23. Collection in Post Man. 24. Different tools to test API manually.

Interview was in very detailed with lots of puzzles.