QA Automation || Interview Que

 




Interview Questions


Wipro QA Automation Walk-in (Face to Face) Interview Questions I came across recently. Sharing these to help my connections prepare and succeed in their next interview.

Round 1: Technical (Coding, Core Concepts, and Automation Tools)

 1. Solve the following Java programs:
 • Count the occurrence of a specific word in a sentence.
 • Replace one element in Array A, then copy all elements from Array A to Array B and print them in descending order.
 • Reverse a string while preserving the positions of spaces.
 2. Explain the Factory and DataProvider annotations in TestNG.
 3. What are the different annotations in TestNG, and what is their sequence of execution?
 4. How do you highlight a web element and capture a screenshot of a page in Selenium?
 5. How do you handle authentication pop-ups in Selenium WebDriver?
 6. What are some basic commands in Git?
 7. How do you schedule a job in Jenkins and trigger the build automatically?
 8. Write an SQL query to fetch the top 10 records from a table.
 9. What is a retrospective meeting in Scrum, and why is it important?
 10. What are environmental variables in Postman?
 11. What are the different authentication techniques in Rest Assured?
 12. Explain FluentWait, Implicit Wait, and Explicit Wait in Selenium.
 13. Describe the String Constant Pool in Java.
 14. What is a payload in API testing, and how is it used?

Round 2: Behavioral and Managerial Questions

 1. Can you share a challenging project you worked on and how you handled it?
 2. How do you prioritize tasks when juggling multiple deadlines?
 3. Tell me about a time you resolved a conflict within your team. What was your approach?
 4. How do you ensure consistent communication with developers and stakeholders?
 5. What steps do you take to improve the testing process in your team?
 6. How do you handle changes in requirements during a sprint?
 7. What’s your approach to mentoring junior team members?
 8. How do you measure the success of your test automation efforts?
 9. If a test suite fails overnight, how would you address the issue?
 10. How do you stay motivated and keep your team engaged under tight deadlines?

How to Prepare for these Questions.
Check out the comment box below
👇

Note :- These questions may vary depending on the interviewer, so use them as extra reference to guide your preparation.

YOE: 4+ years
Role: Test Engineer

#Deloitte interview (10 LPA ) hashtag#joined

hashtag#Round 1 : (Technical )
👉 What is Data Driven Framework ?
👉 Scenario vs Scenario Outline in cucumber
👉 Difference between xpath and css ?
👉 What is Actions class in Selenium ?
👉 How to right click on a button using selenium ?
👉 What is difference between exception and error ?
👉 Can you recover from error ?
👉 Difference between array and arraylist
👉 Does Arraylist allows duplicate values ?
👉 Write Java code to insert an element in array.
👉 Write Java code to remove duplicates from an array ?

hashtag#Round 2 : (Technical )
👉 What is Maven and What are its advantages ?
👉 Difference between mvn clean,mvn verify ,mvn test
👉 How will you execute your testNg file from pom.xml ?
👉 What reports have you used in your framework
👉 What is JavaScriptExecutor ?
👉 How do you handle stale element exception ?
👉 Can you develop a framework from scratch.?
👉 Write Java code to print count of each character of a string.
👉 Test cases vs Test Scenarios vs Epic difference.
👉 what is Requirement Traceability Matrix ?


hashtag#Round 3 : (HR)
👉 Salary discussion.
👉 Salary kitna loge discuss karlein ?
👉 Selected and Joined.

Exploring Key Scenarios and Questions in QA and Software Testing

🔍 Scenario-Based Questions:

 • Scenario 1: Share a time you had to perform root cause analysis for a critical production issue. How did you identify the problem and ensure it wouldn’t happen again?
 • Scenario 2: How do you decide if a post-production defect is QA’s oversight or caused by development?
 • Scenario 3: Faced with 100 manual test cases, how do you determine which ones to automate?
 • Scenario 4: What would you do if a critical bug was discovered at the end of a sprint?
 • Scenario 5: How would you design an automation strategy for a new feature from scratch?

💬 Behavioral-Based Questions:

 • Question 1: Tell us about a time when you worked under pressure to meet a tight deadline. How did you prioritize your testing tasks?
 • Question 2: Have you ever found a critical bug others missed? What steps did you take to resolve it?
 • Question 3: How do you foster effective collaboration between QA, development, and cross-functional teams?
 • Question 4: When a single module of production code is modified, do you retest the entire application or focus on that module? Why?
 • Question 5: How do you manage and prioritize tasks in a fast-paced Agile environment?
 • Question 6: Share an example of when you improved the testing process for your team.

Deloitte hashtag#Automation Interview Questions
Round 1: Technical 1
 1. Write a program to reverse a string without using built-in methods.
 2. Implement a program to check if a string is a palindrome.
 3. Why do you want to transition to or continue in automation testing?
 4. Walk me through the automation framework you’ve built or worked on.

Round 2: Technical 2
Java Coding Questions:

 5. Write a program to remove duplicates from an ArrayList.
 6. Write a program to sort a Map by its values.

Exception Handling in Java:

 7. What is the difference between Checked and Unchecked Exceptions?
 8. Explain the concept of finally in exception handling with examples.
 9. How do you handle exceptions in Selenium WebDriver?

Object-Oriented Programming (OOP):

 10. What is the difference between Abstract Classes and Interfaces?
 11. How is Inheritance implemented in your automation framework?
 12. Explain Overloading and Overriding in Java with examples.
 13. Have you used static methods in your project? When and why?

Selenium Automation:

 14. How do you handle dynamic elements on a webpage?
 15. Write the Selenium code to verify broken links on a webpage.
 16. Explain the difference between driver.close() and driver.quit().

Handling Alerts and Pop-ups:

 17. How will you handle JavaScript alerts using Selenium?
 18. How do you switch between multiple windows or tabs in Selenium?

TestNG Framework:

 19. What is the difference between @BeforeMethod and @BeforeClass in TestNG?
 20. How do you prioritize test cases in TestNG?
 21. How do you run multiple test suites in TestNG?

Jenkins and CI/CD:

 22. What are Jenkins pipelines, and how do they work?
 23. How do you integrate Jenkins with GitHub?

Regression and Smoke Testing:

 24. How do you decide which test cases to include in smoke and regression testing?
 25. What tools have you used for running regression suites in parallel?

Miscellaneous:

 26. Questions about cross-browser testing: What challenges have you faced and how did you solve them?
 27. How do you manage test data in your automation framework?

𝗤𝗔 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻 𝗶𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄 𝗾𝘂𝗲𝘀𝘁𝗶𝗼𝗻𝘀 𝗳𝗿𝗼𝗺 𝗮 𝗖𝗮𝗽𝗴𝗲𝗺𝗶𝗻𝗶

1. Write a program to find duplicate elements in a string array.
2. How would you introduce yourself briefly and effectively?
3. Explain the framework you have worked with in your automation testing process.
4. How do you handle closing the second window of a browser in automation testing?
5. Differentiate between XPath and CSS selectors.
6. What is the syntax for a LinkText XPath locator?
7. What changes or setups do you perform before starting execution in your framework?
8. How do you handle change requests in your application? Describe the steps you follow.
9. How often do you trigger regression test scripts? How do you manage them in your repository?
10. What challenges have you encountered in automation testing, and how did you overcome them?
11. Explain the differences between GET and POST methods in API testing.
12. What are the essential components of the GET and POST methods?
13. Discuss HTTP status codes like 401 and 503.
14. How do you validate the response code in API testing?
15. What format do you use for assertions in your tests?
16. Explain the difference between 200 and 201 HTTP status codes.
17. Provide the syntax for query parameters in API requests.

Rubrik recent SDET interview experience:

Checking behavior and culture fit  [ Whatever answer you are giving, give with concrete example ]
Q1. What drives you to keep working?
Q2. Have you ever been in a point of conflict with anyone like your colleagues / Manager or anyone ? How you handled it.
Q3. Have you ever worked after office hours? Is this ethical??
Q4. Have you ever been through a moment when you got feedback from your manager and what were your actions on it?
Q5. Suppose you have a ML model that takes some data as input, process it and provide output. How will you test this ML model?

Q6. Questions on pytest marker
Q7. Questions on pytest fixture
Q8. How to create customised marker
Q9. Scope in Pytest
Q10. Parametrize fixture
Q11. Can we create and tear down instance within one fixture
Q12. How to skip a test
Q13. How we can automatically run a fixture
Q14. Given code and asked whether it is correct or have any error
Q15. System -> take image input, swap images and give output
 -> Test cases from user perspective
 ->  Image sent by AWS API to backend services, fetch some data, process it and provide output through some API.
 - Test this system E2E
 -  What all type of testing you will do and how you will set up automation
Q16. Puzzle:
You have 1 football ground, 8 teams, total time of all the matches should be 10 hours and the final match is 2 hours. How you will organize all the matches

𝗤𝗔 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻 𝗶𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄 𝗾𝘂𝗲𝘀𝘁𝗶𝗼𝗻𝘀 𝗳𝗿𝗼𝗺 𝗮 𝗖𝗮𝗽𝗴𝗲𝗺𝗶𝗻𝗶

1. Write a program to find duplicate elements in a string array.
2. How would you introduce yourself briefly and effectively?
3. Explain the framework you have worked with in your automation testing process.
4. How do you handle closing the second window of a browser in automation testing?
5. Differentiate between XPath and CSS selectors.
6. What is the syntax for a LinkText XPath locator?
7. What changes or setups do you perform before starting execution in your framework?
8. How do you handle change requests in your application? Describe the steps you follow.
9. How often do you trigger regression test scripts? How do you manage them in your repository?
10. What challenges have you encountered in automation testing, and how did you overcome them?
11. Explain the differences between GET and POST methods in API testing.
12. What are the essential components of the GET and POST methods?
13. Discuss HTTP status codes like 401 and 503.
14. How do you validate the response code in API testing?
15. What format do you use for assertions in your tests?
16. Explain the difference between 200 and 201 HTTP status codes.
17. Provide the syntax for query parameters in API requests

#adobe Noida interview experience : 😊

hashtag#Round 1 : Technical : (1 hour )
👉 Asked Selenium Framework in depth.
👉 Where have you used OOPS Concepts in your framework.
👉 How to run selenium scripts on already Opened Browser ?
👉 Selenium Questions : Handle Multiple Windows , Dynamic Dropdowns,handle shadow dom elements
👉Print all values of customer salary from given Graph using selenium.
👉 Java Questions : Functional Interface, Multithreading basics.
👉 Write Java Code to Print all the Permutations of a given string.
🔥 He gave me a puzzle.I gave him a solution after 5 minutes of hit and trial he was convinced 70% with the solution.
-----------------------------------------------------------------
hashtag#Round 2 : Technical (1 hour)
👉 Bug Life cycle. Bug Severity,Priority.
👉 Write code for Database Connection.
👉 How will you do parallel testing using testNg , use of IRetryAnalyzer ( asked me to write code)
👉 Write code and explain Singleton design pattern.
👉 Git command : fetch ,pull ,clone use.
👉 Find the Kth largest and Kth smallest element in array.
👉 Asked me Linux commands.
🔥 He gave me a puzzle and asked me to give the best answer possible : I gave the answer and he was convinced to some extent.
------------------------------------------------------------
hashtag#Round 3 : Technical ( 1 hour )
👉 Sort array of 0,1,2 in O(n) time.
👉 Palindromic substrings Leetcode question.Solved it after few errors.
👉 How will you write xpaths for disappearing elements in selenium ?
👉 Few Javascript basics.
👉 How would you setup your framework with Jenkins. ?
🔥 Gave me one puzzle : I again tried to give answer but he was convinced 50%
Do you have any questions :I asked him what kind of projects does adobe has and how was his experience.

Wipro Interview Questions

Round 1: Core Technical Concepts
This round was focused on coding, automation tools, and testing fundamentals:
1️
Solve the following Java programs:
 • Count the occurrence of a word in a sentence.
 • Reverse a string while preserving the positions of spaces.
2️
Explain the purpose of annotations like @Factory and @DataProvider in TestNG.
3️
Highlight a web element in Selenium and capture a screenshot.
4️
Handle authentication pop-ups in Selenium WebDriver.
5️
Explain SQL queries, such as fetching the top 10 records from a table.

Round 2: Advanced Technical and Problem-Solving

The second round delved into project-based discussions and best practices:
1️
Share a challenging project and how you resolved critical issues.
2️
Discuss different authentication techniques in REST Assured.
3️
Explain wait mechanisms in Selenium: FluentWait, Implicit Wait, and Explicit Wait.
4️
How do you improve the testing process in your team?

Round 3: HR Discussion

This round focused on understanding my aspirations, team collaboration, and work culture alignment.

💡 Key Takeaways for Interview Preparation:

 • Brush up on Java basics and frameworks like TestNG.
 • Practice writing automation scripts and SQL queries.
 • Be prepared to discuss real-world challenges from your past projects.

credit: VED PRAKASH YADAV

Test Automation Interview Questions

Selenium WebDriver:

1) What are different types of locators in Selenium?
2) When do you use Xpath over CSS locators?
3) How to get a specific value from a dropdown and reuse it in verifications?
4) When do we use JavaScript Executors?
5) Is it possible to validate Captcha using Selenium, if Yes how?
6) What should be the ideal way to store data using Selenium WebDriver only?
7) Is it possible to use Xpath like parent/child/node/.. ? If yes, then provide an example where to use it?
8) What happens if you receive browser notifications in between Test Automation Execution?
9) Why does Stale Element exception occurs and how to handle it?
10) What is Invalid Certificate Exception?

APIs:

1) What are the components of an HTTP request?
2) What is the difference between API and unit testing?
3) What is an HTTP response?
4) How we can add validation points in postman?
5) What do you understand by Server-side validation?
6) What is 3 tier Architecture?
7) Difference between webservice & APIs
8) What is Rest, Soap & GraphQL in APIs
9) What do you test in standalone API?
10) What do test in 3rd party integrated APIs?

Postman:

1) When to use collection, environment & global variables
2) How to execute a collection E2E
3) How to validate a API response has correct status code?
4) What happens when API response returns Form Data instead of Json, how to validate it?
5) How to setup Basic Auth in Postman?
6) Where do you store Environment credentials?
7) How to save a demo response for an API request?
8) How will you validate an API rqst if VPN is required for it to work?
9) How do you filter results in a API request using Postman?
10) How to setup custom headers in Postman?


Git:
1) What are the different stages in committing the code to GitHub?
2) Is it possible to revert back changes in a remote repo? If yes, how?
3) When do you commit your code? After commit how do you validate everyone has the updated code now?
4) How to merge stashed changes in local repo?
5) Why do we need GitIgnore file? How to add ignore files in it?

TestNG:

1) What is the execution format of Tests in TestNG?
2) Can priority be negative in for methods? If Yes, then what is the execution flow as per priority?
3) What is the difference in DependonMethod & dependsongroups?
4) What are different ways to exclude tests in TestNG
5) What does ThreadPoolSize mean in TestNG? How does it work?
6) Why do we need BeforeSuite & AfterSuite annotations?

HighLevel recent
hashtag#SDET interview experience
Round 1:
1. Given a string s, find the first non-repeating character in it and return its index. If it does not exist, return -1
2. Given a string, calculate the frequency of characters in a string.
3. Question related to testng like invocation count and parallel execution
4. Excel integration locators

Round 2:
1. Code to move all zeros to end
2. Question related to parallel execution API automation diff between UI and API testing
3. When to do API or UI testing
4. Scenario based question like give test cases for lift

Round 3:
Question related to frameworks and maven

EPAM Systems recently asked interview questions for hashtag#Automation Engineer

1.Explain the automation framework
2.What unit testing framework are you using
3.What is the difference between JUnit and TestNg
4.How can you rerun failed test cases
5.What CI/CD tool have you used
6.Do you know how to create a parametrized pipeline job
7.We need to save username of students, input username and print valid if it contains alphanumeric and invalid if it contains any special characters or spaces or duplicate username. WAP in java or python to handle it
8.WAP to count occurrences of characters in a string
9.WAP to find the highest number from the array w/o using inbuilt method 10.WAP to reverse the string without using inbuilt method
11.What is the difference between string and string buffer
12.What is the difference between private, public and protected access modifiers 13.Collections framework heirarchy interfaces and their classes
14.What is the difference between hashtable and hashset
15.What is the difference between comparable and comparator
16.Explain the exception hierarchy
17.WAP to create a custom exception
18.What is an interface and an abstract class?
19.Why abstract class is allowed to have a constructor
20.Difference between final, finally and finalize?
21.Explain polymorphism
22.WAP to override a function
23.Do you know about Java 8
24.What is java streams and lambda expression
25.What is git rebase and get merge
26.When to use git rebase
27.What is the functional interface
28.What is the difference in status code 401 and 403
29.What is the difference between oAuth 1.0 and oAuth2.0
30.WAP using RestAssured library and include assertions that you would use in a get or post call
31.What is the content type in oAuth2.0
32.Write a SQL query using join (two tables were given and their column names)
33.WAP to handle multiple windows in selenium
34.WAP to capture screenshots in selenium
35.How do you handle synchronisation in automation scripts
36.Write the syntax for fluent wait
37.WAP to read/write data from excel file
38.What are the different stages of an Automation test
39.What are different types of testing
40.What is the difference between priority and severity
41.What are fields required to log a bug/defect
42.What is a test plan, what are the things included in it
43.Explain briefly different phases of SDLC.

#Selenium hashtag#Training hashtag#New hashtag#Batch Register : https://t.ly/kRNPk
Apple Interview Questions for hashtag#Lead hashtag#SDET position (Exp: 10+ yrs)
L1- Hacker rank test- DSA coding questions
L2- Technical round (1hr 30mins)
1. Brief Explanation about work history and experience
2. What is the framework you use and explain me why do you use BDD framework?
3. What is scenario outline?
4. How to pass inputs from feature file with background, Scenario outline and how to pass multiple inputs?
5. Is it correct way to declare in background and how many times the input runs?
Background:
Given Launch Application
when login with username "<username>" and password "<password>"
Scenario Outline : Login with Different Credentials
Then I verify I land on home page
Examples :
 |Username| Password |
 |kate| pass123|
 |vignesh| pass1234|
 |john| pass2345|
6. Can you give me step definition & how would you pass these inputs?
7. What are all the locators have you used while creating an object repository for UI automation?
8. What is absolute Xpath and relative ? which one you would prefer to use and why?
9. What are tags and attributes?
10. Create xpath to get all Pro products
 iPhone 15 Pro Max
 iPhone 14 mini
 iPhone 13
 Macbook Pro
 Beats mini
 iPad Pro
 Airpods
11. Create Xpath to get only Pro and Mini products
12. Create Xpath to get only iPhone
13. Write a step definition to click on the below products
 iPhone 15 Pro Max
 iPhone 14 mini
 iPhone 13
 Macbook Pro
 Beats mini
 iPad Pro
 Airpods
14. Give me step definition if I want to pass data dynamically ?
15. What are the test NG annotations ?
16. How do you prioritize test cases and if l want to run only test1 and test 2 and not test 3?
17. What is the order of test3() method if we are not giving priority to it ?
18. What is Data provide in test NG ?
19. How would you pass dynamic test data using dataprovider , give me code?
20. How would you handle complex data or large set of data when you want to pass test data through dataprovider?
21 Certain application for testing , there are 1000 test cases and task to automate to 1000 test case and what is the test plan for automation ?
22 You have done signoff and still there are frequent production defects. what is the approach?
23 What is shift left testing and how would you do it?
24. Explain the automation architecture you worked on and challenges you faced during building a scalable framework.

A telephonic interview for a software testing role:

🔹General Questions:

1) Tell me about yourself and your background.
(Keep this concise and relevant to your testing experience. Highlight key skills and projects.)

2) Why are you interested in this role?
(Show your enthusiasm for software testing and the specific company/product.)

3) What are your salary expectations?
(Research industry standards beforehand and have a range in mind.)

4) What are your strengths and weaknesses
(Focus on strengths relevant to testing (attention to detail, analytical skills, etc.). For weaknesses, choose something that isn't critical for the role and explain how you're working to improve.)

5) Where do you see yourself in 5 years?
(Align your answer with career growth within the company.)

🔹Technical Questions

1) What is your experience with different testing methodologies (Agile, Waterfall)?
(Be prepared to explain the differences and your experience with each.)

2) Explain the different types of software testing.
(This could include black box, white box, functional, non-functional, regression, performance, etc. Provide clear definitions and examples.)

3) What is your experience with test automation tools?
(Mention any tools you've used (Selenium, Appium, JUnit, TestNG) and your level of proficiency.)

4) Describe your experience with bug tracking tools.
((Jira, Bugzilla, etc.) and how you document and track defects.)

5) How do you prioritize testing tasks?
(Explain your approach to risk assessment and prioritization based on factors like severity, impact, and frequency.)

6) What is your experience with different testing environments?
(e.g., staging, production)

🔹Tips for Telephonic Interviews:

- Find a quiet place
- Have your resume and notes handy
- Speak clearly and confidently
- Listen carefully

QA Automations Tester-

 Frequently asked questions-

Selenium WebDriver:

1) What are different types of locators in Selenium?
2) When do you use Xpath over CSS locators?
3) How to get a specific value from a dropdown and reuse it in verifications?
4) When do we use JavaScript Executors?
5) Is it possible to validate Captcha using Selenium, if Yes how?
6) What should be the ideal way to store data using Selenium WebDriver only?
7) Is it possible to use Xpath like parent/child/ node/.. ? If yes, then provide an example where to use it?
8) What happens if you receive browser notifications in between Test Automation Execution?
9) Why does Stale Element exception occurs and how to handle it?
10) What is Invalid Certificate Exception?

APIs:

1) What are the components of an HTTP request?
2) What is the difference between API and unit testing?
3) What is an HTTP response?
4) How we can add validation points in postman?
5) What do you understand by Server-side validation?
6) What is 3 tier Architecture?
7) Difference between webservice & APIs
8) What is Rest, Soap & GraphQL in APIs
9) What do you test in standalone API?
10) What do test in 3rd party integrated APIs?

Postman:

1) When to use collection, environment & global variables
2) How to execute a collection E2E
3) How to validate a API response has correct status code?
4) What happens when API response returns Form Data instead of Json, how to validate it?
5) How to setup Basic Auth in Postman?
6) Where do you store Environment credentials?
7) How to save a demo response for an API request?
8) How will you validate an API rqst if VPN is required for it to work?
9) How do you filter results in a API request using Postman?
10) How to setup custom headers in Postman?

Git:

1) What are the different stages in committing the code to GitHub?
2) Is it possible to revert back changes in a remote repo? If yes, how?
3) When do you commit your code? After commit how do you validate everyone has the updated code now?
4) How to merge stashed changes in local repo?
5) Why do we need Gitlgnore file? How to add ignore files in it?

TestNG:

1) What is the execution format of Tests in TestNG?
2) Can priority be negative in for methods? If Yes, then what is the execution flow as per priority?
3) What is the difference in DependonMethod & dependsongroups?
4) What are different ways to exclude tests in TestNG
5) What does ThreadPoolSize mean in TestNG? How does it work?
6) Why do we need BeforeSuite & AfterSuite annotations?

Selenium related Interview Questions for Automation Testers:

🔹Basic Level:

1. What is Selenium?
2. What are the components of the Selenium suite?
3. What are the advantages of using Selenium?
4. What are the different types of locators in Selenium?
5. What is the difference between `findElement()` and `findElements()`?
6. How do you handle dynamic web elements in Selenium?
7. What are the different types of waits in Selenium?


🔹Intermediate Level:

1. What are the different types of WebDriver APIs available in Selenium?
2. How do you handle alerts and pop-up windows in Selenium?
3. What is the Page Object Model (POM)?
4. How do you handle iframes in Selenium?
5. How do you take screenshots in Selenium?
6. How do you handle file uploads in Selenium?
7. What are some common exceptions in Selenium WebDriver?


🔹Advanced Level:

1. How do you implement a data-driven framework in Selenium?
2. How do you integrate Selenium with TestNG or JUnit?
3. What is Selenium Grid? How does it work?
4. How do you handle cookies in Selenium?
5. How do you perform cross-browser testing with Selenium?
6. What are some best practices for writing Selenium tests?


🔹Coding Challenges:

1. Write a program to select a value from a dropdown list.
2. Write a program to handle a JavaScript alert.
3. Write a program to perform a drag and drop operation.
4. Write a program to take a screenshot of a web page.

Selenium Interview Questions 🚀

1)What are Selenium’s core components? Explain each component’s purpose.

2)How do you manage dynamic web elements in Selenium?

3)findElement() and findElements() in Selenium?

4)How can you interact with checkboxes and radio buttons?

5)How do you handle alerts and pop-ups ?

6)How do you manage multiple windows and frames ?

7)How can you perform advanced actions like mouse hover and right-click in Selenium WebDriver?

8)What role does the POM play in Selenium framework design?

9)What are the different wait types available in Selenium WebDriver?

10)How do you address synchronization issues in Selenium?

11)What is TestNG, and how do you integrate it with Selenium?

12)How do you read data from excel?

13)How do you capture failed screenshots?

QA Automations Tester Frequently asked questions:

Selenium WebDriver:

1) What are different types of locators in Selenium?
2) When do you use Xpath over CSS locators?
3) How to get a specific value from a dropdown and reuse it in verifications?
4) When do we use JavaScript Executors?
5) Is it possible to validate Captcha using Selenium, if Yes how?
6) What should be the ideal way to store data using Selenium WebDriver only?
7) Is it possible to use Xpath like parent/child/ node/.. ? If yes, then provide an example where to use it?
8) What happens if you receive browser notifications in between Test Automation Execution?
9) Why does Stale Element exception occurs and how to handle it?
10) What is Invalid Certificate Exception?

APIs:

1) What are the components of an HTTP request?
2) What is the difference between API and unit testing?
3) What is an HTTP response?
4) How we can add validation points in postman?
5) What do you understand by Server-side validation?
6) What is 3 tier Architecture?
7) Difference between webservice & APIs
8) What is Rest, Soap & GraphQL in APIs
9) What do you test in standalone API?
10) What do test in 3rd party integrated APIs?

Postman:

1) When to use collection, environment & global variables
2) How to execute a collection E2E
3) How to validate a API response has correct status code?
4) What happens when API response returns Form Data instead of Json, how to validate it?
5) How to setup Basic Auth in Postman?
6) Where do you store Environment credentials?
7) How to save a demo response for an API request?
8) How will you validate an API rqst if VPN is required for it to work?
9) How do you filter results in a API request using Postman?
10) How to setup custom headers in Postman?

Git:

1) What are the different stages in committing the code to GitHub?
2) Is it possible to revert back changes in a remote repo? If yes, how?
3) When do you commit your code? After commit how do you validate everyone has the updated code now?
4) How to merge stashed changes in local repo?
5) Why do we need Gitlgnore file? How to add ignore files in it?

TestNG:

1) What is the execution format of Tests in TestNG?
2) Can priority be negative in for methods? If Yes, then what is the execution flow as per priority?
3) What is the difference in DependonMethod & dependsongroups?
4) What are different ways to exclude tests in TestNG
5) What does ThreadPoolSize mean in TestNG? How does it work?
6) Why do we need BeforeSuite & AfterSuite annotations?

Framework Implementation

How did you implement frameworks?
Specifically, how did you handle data (Excel, collections)?
Where are collection classes most frequently implemented?
Map vs. Set: Which do you prefer and why?
String Manipulation

Find the frequency of characters/repeated characters in a string.
Find the frequency of numbers in a string.
Reverse each word in a string.
Array Operations

How to sort an array?
Object-Oriented Programming (OOPs) Concepts

General OOPs concepts questions (e.g., inheritance, polymorphism, encapsulation, abstraction).
Selenium

General Selenium questions.
Scenario-based questions on handling multiple windows.
How to handle window handles and switch to a particular window.
How to handle dropdowns with and without the Select class.
Framework Involvement

Describe your involvement at the project and framework levels.
Did you participate in framework building?
Testing Tools

Experience with BDD Cucumber, including test data handling.
Experience with TestNG, Maven, and Jenkins.
Deployment

Knowledge of deployment processes.
Git

Questions on using Git and implementing Git commands.

#nagarro recent interview 😊 👏😇

📌 Round 1 : ( Aptitude and Technical Round Online Test)

👉 Online aptitude round consists of verbal ability questions , and we need to find the output of Java programs. Note : Here make sure your webcam and internet connection is proper if it disconnects even 1 time , high chances you will be disqualified.
---------------------------------------------------------------------------------
📌 Round 2 : ( Technical )
👉 Shift all even numbers to left side of array and odd number to right side.
👉 Can you create an object of interface / abstract class ? Explain.
👉 Why String is immutable in Java ?
👉 Purpose of LinkedHashMap in Java? Have you used in framework ?
👉 What is invocationCount use in testNg ?
👉 How would you wait for visibility of an element in Selenium ?
👉 How would you use AutoIT to upload a file.
👉 What is element Click Intercepted Exception ? How to resolve it.
👉 What are challenges you faced while working with framework ?
👉 What is normalize-space function in xpath ? What is use of it.
----------------------------------------------------------------------------------
📌 Round 3 : ( Technical round )
👉 What is singleton design pattern in Java ? Advantages of it ?
👉 How do you disable images in selenium ?
👉 What is difference between Action vs Actions in selenium ?
👉 Tell me how you deal with elements that change their attributes dynamically while running selenium scripts ?
👉 Purpose of using Thread Local class in Selenium ?
👉 API 200, 400, 410, 403 status codes difference .
👉 How you write test case in postman to validate the status code ?
👉 How would you perform data driven testing in postman ?
👉 Difference between HEAD and OPTIONS API methods ? (Write your answer in comments )
👉 Have you worked with Jmeter ? Some Jmeter basics asked related to ThreadGroup , Listeners .
----------------------------------------------------------------------------------
📌 Round 4 : ( HR )
👉 How soon you can join ?
👉 How was your interview experience with us ?

Contributed by : Sanjana , 7 to 8 years of experience. If you want to share your interview exp DM me
🙂

hashtag#nagarro hashtag#testing hashtag#automation hashtag#experience
Activate to view larger image,

👉 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻 𝗧𝗲𝘀𝘁𝗶𝗻𝗴 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄 𝗤𝘂𝗲𝘀𝘁𝗶𝗼𝗻𝘀

Thanks to my students for sharing their interview experiences.
Here are the questions that are frequently being asked:

𝗖𝗼𝗿𝗲 𝗝𝗮𝘃𝗮:

-> What is the difference between ArrayList and LinkedList?
-> Explain the concept of Multithreading in Java.
-> What is the difference between Abstract Class and Interface?
-> How does Garbage Collection work in Java?
-> Explain the concept of Serialization and Deserialization in Java.
-> Abstraction, Encapsulation, Inheritance, and Polymorphism
-> What is the difference between Overloading and Overriding?
-> What is the difference between String, StringBuffer, and StringBuilder?
-> How to achieve abstraction in Java?


𝗦𝗲𝗹𝗲𝗻𝗶𝘂𝗺:

-> What is the difference between WebDriver and RemoteWebDriver?
-> How do you handle dynamic elements in Selenium?
-> Explain the concept of PageObject Model in Selenium.
-> How do you handle multiple browser windows/tabs in Selenium?
-> What are the ways to handle iFrames in Selenium?

𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻 𝗙𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸𝘀:

-> What are the different types of Automation Frameworks (Data-Driven, Keyword-Driven, Hybrid, etc.)?
-> How would you design a Hybrid Automation Framework?
-> What is the role of a Test Data Management tool in an Automation Framework?
-> How do you handle test data parameterization in an Automation Framework?


𝗔𝗣𝗜:

-> What is the difference between SOAP and REST APIs?
-> Explain the different HTTP methods used in REST APIs (GET, POST, PUT, DELETE).
-> How do you handle authentication and authorization in REST APIs?
-> What are the best practices for designing and testing REST APIs?
-> How would you test the performance of a REST API?


𝗕𝗗𝗗 (𝗖𝘂𝗰𝘂𝗺𝗯𝗲𝗿):

-> What is the Gherkin syntax used in Cucumber?
-> Explain the different components of Cucumber (Feature Files, Step Definitions, Hooks, etc.).
-> How do you handle data parameterization in Cucumber scenarios?
-> How would you integrate Cucumber with Selenium for UI automation?

𝗠𝗮𝘃𝗲𝗻/𝗚𝗿𝗮𝗱𝗹𝗲:

-> What is the purpose of a build tool like Maven or Gradle?
-> Explain the different phases of the Maven build lifecycle.
-> How do you handle dependencies in Maven/Gradle projects?
-> What are the benefits of using Maven/Gradle for project management?
-> How do you create and manage plugins in Maven/Gradle?


𝗚𝗜𝗧:

-> What is the difference between Git and GitHub?
-> Explain the different Git commands (commit, push, pull, merge, )
-> How do you handle conflicts in Git?
-> What is the purpose of branching in Git?
-> How would you revert to a previous commit in Git?

Hello Connections,

One of my mentees shared his interview experience in TCS. I believe these could be valuable to many of you who are preparing for similar roles(Automation Test Engineer with 3-5 Years of experience).

I’m excited to pass them along to my network, in the hope that they help you in your preparation and boost your confidence as you approach your next opportunity.

Round 1:

1. Tell me something about yourself ?
2. What is the difference between regression and sanity ?
3. What is defect Lifecycle ?
4. What is traceability matrix ?
5. How may test cases you can write in a day ?
6. How can you define regression testing and when it's used ?
7. Difference between relative XPath and absolute XPath ?
8. Which framework are you using and explain it ?
9. How to take screenshot in Selenium and can can you write code for it ?
10. What are the different types of agile meeting ?
11. What are benefits of using TestNG framework ?
12. Can you explain POM.XML & where you use it ?
13. Write a code to swap two numbers without using third variable ?
14. What is the difference between List and Set ?
15. In a webpage how would you ensure that page has been loaded completely ?
16. What is constructor and when you will use it and what is super in constructor ?
17. What is the difference between private and protected ?
18. How will you achieve dynamic polymorphism ?
19. Can you override static methods ?
20. Can the main method be overloaded ?

Round 2:

1. Can you explain your project with your role and responsibility ?
2. How do you perform API testing, explain in detail ?
3. What are common api errors that are often found ?
4. What are the major changes you faced while performing API testing ?
5. What is mocking in API testing ?
6. What is the difference between Post and Put in API ?
7. What is singleton design pattern ?
8. What is constructor, if you want to call constructor from parent class, what you will do ?
9. What is the difference between final, finally and finalize ?
10. How will handle alerts in Selenium ?
11. How will you handle dynamic elements using X-path ?
12. How to refresh page in Selenium and ots command ?
13. Can you explain Page Factory ?
14. What is the use of maven?
15. What are the primary key and unique keys ?
16. How many joins are there and any differences ?
17. Select the top 3 max salary employees by dept ?
18. What do you achieve by git ?
19. Are you aware of CI/CD pipeline ?

Round 3:

1. Why you are looking for a change ?
2. Tell us 3 best thing you alike about your previous organization ?
3. Tell 2 points you don't like about your previous manager ?
4. Where do see yourself in next 5 years ?
5. Salary expectation

Java Interview Questions:

1.What is OOPS Concept in Java.
2.What is difference Between Abstract class and Interface
3.What is Multithreading Concept java
4.Explain the difference between == and equals() in Java.
5.What are the access modifiers in Java? Can you explain their scope and usage?
6.What is the difference between ArrayList and LinkedList?
7.What are final, finally, and finalize in Java?
8.How do you handle exceptions in Java?
9.What is the checked and unchecked exceptions give some examples?
10.what is wrapper class in java and where we can use this
11.what is type casting
12.difference between super and this keyword
13.why main method is public static void main in java
14.what is the collection framework in java what collections you are using in your frameworkand why?
15.what are the opps concept that are used in your framework explain
Java Programs:
1. reverse string without inbuild method
2. write a java program for i/p abcd o/p abbcccddd;
3.write a java program for word count is given string
4.write a java program for duplicate element from string(print string without duplicate)
5.write a java program for print duplicate character from given string
6.java program for print duplicate element from given ArrayList
7.java program for two stirng is Anagram without using inbuilt method.
8.java program for shit all zero with left or right side of given array.
9.java program for Palindrome string
10.Palindrome number
11.find the factorial for 999 Number.
12.find the count of numbers present in string(for eg."par5588gata998 iam665go")
14.merged two sorted array.

 

Previous Post Next Post