Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Cognizant Team. If you also belong to the team, you can get access from here

Cognizant Verified Tick

Compare button icon Compare button icon Compare

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Cognizant Automation Testing Interview Questions and Answers

Updated 4 Nov 2022

Cognizant Automation Testing Interview Experiences

2 interviews found

I applied via Company Website and was interviewed in Oct 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Testing interstate related Questions

Round 3 - Technical 

(2 Questions)

  • Q1. Use testing methods
  • Ans. 

    Testing methods include manual testing, automated testing, exploratory testing, regression testing, and acceptance testing.

    • Manual testing involves manually executing test cases and recording results.

    • Automated testing involves using software tools to execute tests and compare actual results with expected results.

    • Exploratory testing involves exploring the software to find defects and issues.

    • Regression testing involves re...

  • Answered by AI
  • Q2. Different types of testing
  • Ans. 

    Different types of testing include unit, integration, system, acceptance, regression, performance, and security testing.

    • Unit testing: testing individual units or components of the software

    • Integration testing: testing how different units or components work together

    • System testing: testing the entire system as a whole

    • Acceptance testing: testing to ensure the software meets the requirements and is ready for release

    • Regressi...

  • Answered by AI
Round 4 - Coding Test 

Java, selenium automation testing

Interview Preparation Tips

Interview preparation tips for other job seekers - Your any more than Question but my skills working in a job.Thank you for all.

Skills evaluated in this interview

I applied via Referral and was interviewed in May 2022. There was 1 interview round.

Round 1 - HR 

(2 Questions)

  • Q1. Tell me little about yourself why should hire you what do u think strengths and weakness why do u want to work at our company
  • Q2. I am sainath studying sphn engineeering course btech b ranch cse accrecated wih 61 percent if u hire me i had done great work among ur decision i am quick learner my strenght is selfconfident to do any wo...

Interview Preparation Tips

Topics to prepare for Cognizant Automation Testing interview:
  • auomaion tesing
Interview preparation tips for other job seekers - concentrate on work to achive goals

Automation Testing Interview Questions Asked at Other Companies

asked in HCLTech
Q1. Have you ever faced synchronization problem ? How did you overcom ... read more
asked in HCLTech
Q2. What is framework ? Explain the frameworks you worked on in your ... read more
asked in HCLTech
Q3. What is the deference between methods and constructors
asked in HCLTech
Q4. What are the exceptions handled other than NosuchElementException
asked in Capgemini
Q5. Is tocollect , analyse and finalize purpose of performance testin ... read more

Automation Testing Jobs at Cognizant

View all

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Jan 2025.

Round 1 - Technical 

(5 Questions)

  • Q1. What is the deference between methods and constructors
  • Q2. What is interface
  • Q3. Where we can use final keyboard
  • Q4. What is polymorphism
  • Q5. What is inheritance and types of inheritance
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. What do you mean by NRI gatherings and testing tools
  • Ans. 

    NRI gatherings refer to Non-Resident Indian events where testing tools can be used for automation testing.

    • NRI gatherings are events organized for Non-Resident Indians to come together and celebrate their culture.

    • Testing tools are software applications used to automate the testing process of software applications.

    • Automation testing in NRI gatherings can involve testing event registration websites, mobile apps for event

  • Answered by AI
  • Q2. Say about some scripts to debug the issue
  • Ans. 

    To debug issues in automation testing, scripts can be used to identify and resolve the root cause of the problem.

    • Use logging statements to track the flow of the script and identify where the issue occurs

    • Implement error handling mechanisms to catch and handle exceptions gracefully

    • Utilize debugging tools provided by the automation testing framework to step through the script and pinpoint the problem

    • Add assertions in the ...

  • Answered by AI
  • Q3. Is tocollect , analyse and finalize purpose of performance testing
  • Ans. 

    Performance testing is conducted to collect, analyze, and finalize the purpose of testing the performance of a system.

    • Collect data on system performance under different conditions

    • Analyze the data to identify bottlenecks and areas for improvement

    • Finalize the purpose of performance testing based on analysis results

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Site and was interviewed before Sep 2023. There were 2 interview rounds.

Round 1 - Coding Test 

Python , java, c, c++, c sharp, azure

Round 2 - Aptitude Test 

Arithmetic , reasoning, english, logical, puzzle,

Interview Preparation Tips

Interview preparation tips for other job seekers - More work on aptitude and codeing part
Interview experience
4
Good
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Jan 2025.

Round 1 - Coding Test 

1. Explain about framework architecture and from that all questions derived. asked to write diagram and explain the structure.
2. Difference between class variable and instance variable.
3. what is ITestListener why used and when used in framework.
4. architecture of selenium 4 (geckodriver, chromium driver)
5. what is BDD and cucumber, how both are related to.
6. which kind of framework you go, either POM or Page factory for with testNg/junit?
7. asked to write query on sql joins and how you fetch the second lowest of salary from each department.
8. DDL, DML statements.
9. pathquery and query parameters differences(API)
10. How the responses you are validating in automation framework for Json response file.
11. status code of Https
12. serialization and deserialization difference
13. String Builder, String Buffer and String difference? which is better and which is safe to use.
14. Dropdown in selenium how you handle, how to check which is already selected?
15. multiple data provider in testng and how you pass parameter and how you retrive from excel sheet? Asked to write code!
16.what is flaky testing?
17.Asked to write first code of JDBC connecting establishment with framework.
18. Code execution: input ="aabbabcbb"; output = a:3 , b:5, c:1 like this if they give name also it should count. Tip : HashMap you can write the code.
19. Code execution: a[]={1,2,3,4,0,0,0} b={5,6,7} output need to print as remove all 0's from first array and replace 1,2,3,4 with 5,6,7 some crazy questions.
20. Git cmds and CI/CD tool.

Round 2 - Coding Test 

1. asked about architecture and where you used oops concepts?
2. abstract class and interfaces
3. select drop down all options
4. find scrape links from webpage write the code
5. asked for writing xpath for any element random website.
6. asked about following-sibling, descendent and preceding-sibling, normalise-space locators.
7. jdbc connection code.
8. API JSON file - how you done validation in automation testing.

Round 3 - Technical 

(1 Question)

  • Q1. Why team lead position you have not taken till now and is their any managerial skills you are lacking on What kind of projects you worked on water fall model agile team You are only individual contributor?...
Round 4 - HR 

(1 Question)

  • Q1. About experience and studies Compensation discussed. Need all the exp letters and years

Interview Preparation Tips

Interview preparation tips for other job seekers - It was one day process and shortlisted drive. But it was huge number people for one profile.
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(6 Questions)

  • Q1. Write a code for febonacci series
  • Q2. Dynamic webElements handling using Xpath?
  • Q3. What is spike in agile?
  • Q4. Difference between agile and waterfall based model?
  • Q5. Sprint point system? Explain?
  • Q6. Payment failure by debit card in e-commerce site? Make test scenarios?
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. How do agile methodologies function in B2B projects?
  • Ans. 

    Agile methodologies in B2B projects involve frequent communication, adaptability, and collaboration with stakeholders.

    • Agile methodologies in B2B projects prioritize customer collaboration and responding to change over following a strict plan.

    • Regular feedback from stakeholders helps in adjusting project scope and priorities in real-time.

    • Cross-functional teams work together closely to deliver incremental value to the B2B...

  • Answered by AI
  • Q2. What is your experience with barcode scanners?
  • Ans. 

    I have extensive experience working with barcode scanners in various automation projects.

    • Implemented barcode scanning functionality in warehouse management system to track inventory

    • Integrated barcode scanners with automated testing tools for regression testing

    • Utilized barcode scanners in manufacturing processes to improve efficiency and accuracy

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I was interviewed in May 2024.

Round 1 - Technical 

(10 Questions)

  • Q1. Basics of Selenium(Windowhandles,Screenshot,Actions class,Selector Class,) with syntax
  • Q2. Asked to write Automation Framework architecture
  • Q3. What are the different gherkin words
  • Ans. 

    Gherkin words are keywords used in Gherkin syntax for writing test scenarios in Behavior Driven Development (BDD).

    • Feature

    • Scenario

    • Given

    • When

    • Then

    • And

    • But

  • Answered by AI
  • Q4. What we will use in plugin
  • Ans. 

    Plugins are used to extend the functionality of a software application.

    • Plugins are additional software components that can be added to an existing application to provide new features or functionalities.

    • They can be used to customize the behavior of the application without modifying its core code.

    • Examples of plugins include browser extensions, WordPress plugins, and Adobe Photoshop filters.

  • Answered by AI
  • Q5. How to run runner class
  • Ans. 

    To run a runner class, you can use a test runner tool like JUnit or TestNG in your automation testing framework.

    • Use a test runner tool like JUnit or TestNG to execute the runner class

    • Add the @RunWith annotation in JUnit or specify the runner class in TestNG XML file

    • Make sure the runner class includes the necessary setup and teardown methods for test execution

  • Answered by AI
  • Q6. Java oops, strings , exception handling
  • Q7. How to run parallel mode in testng,groups,priority
  • Ans. 

    TestNG allows running tests in parallel mode using groups and priorities.

    • Use 'parallel' attribute in testng.xml file to specify parallel mode (e.g. )

    • Use 'groups' attribute in testng.xml file to group tests that should run in parallel (e.g. )

    • Use 'priority' attribute in testng.xml file to specify the order in which tests should run (e.g.

  • Answered by AI
  • Q8. Write Merge Sort Programme
  • Ans. 

    Merge Sort is a divide and conquer algorithm that divides the input array into two halves, sorts them, and then merges them back together.

    • Divide the array into two halves recursively

    • Sort each half using Merge Sort recursively

    • Merge the sorted halves back together

  • Answered by AI
  • Q9. Write Reverse a string programme
  • Ans. 

    Program to reverse a string using array of characters

    • Create an array of characters from the input string

    • Iterate through the array in reverse order and append each character to a new string

    • Return the reversed string

  • Answered by AI
  • Q10. Write syntax of data driven testing (XSSF Workbook) Syntax
  • Ans. 

    Data driven testing syntax using XSSF Workbook

    • Create XSSFWorkbook object

    • Get the sheet from the workbook

    • Iterate through rows and columns to fetch test data

    • Use test data in your test cases

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Selenium basics ( window handles , screenshot,reports, file upload and download, Add extension, Headless mode)

Interview Preparation Tips

Interview preparation tips for other job seekers - I would say it is easy to crack Service based Companies. Just prepare all the concepts of Selenium, Java,TestNG,Maven,GitHub and basic 20 Programmes.

For Selenium and BDD(Cucumber)Learn Rahul Shetty Udemy course
For Java search and learn top 200 interview questions.
Basic programmes like ( Duplicate characters,reverse string,unique characters, string anagram, Bubble sort , merge sort, quick sort and some more) .

How I switched from my current company.
Do’s
Uninstall social media apps.
Stop watching movies.
Stop eating Junk food.
Study at least 1-2 hours daily.
Listen motivational songs.
Make connections on LinkedIn.
Make single page resume by creating on overleaf website.

How to apply to companies.
Don’t apply directly on company website(Big mistake)
Send resumes to hr directly(u will get their mails on some posts on LinkedIn)
Ask referral on LinkedIn.
Update Naukri daily 9am and put notice period to 30 or 15days.

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-

I applied via Approached by Company

Round 1 - Technical 

(2 Questions)

  • Q1. Tell me your Self introduce
  • Q2. Tell me project structure
  • Ans. 

    Project structure refers to the organization of files, folders, and resources within a software project.

    • Main folders like src (source code), test (test cases), lib (libraries), docs (documentation)

    • Subfolders for specific modules or components

    • Configuration files like pom.xml, package.json, etc.

    • Build scripts like Jenkinsfile, Dockerfile

    • Version control files like .gitignore, .gitattributes

    • README.md file for project overvi

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Skill preparation

Cognizant Interview FAQs

How many rounds are there in Cognizant Automation Testing interview?
Cognizant interview process usually has 2-3 rounds. The most common rounds in the Cognizant interview process are HR, Resume Shortlist and Aptitude Test.
How to prepare for Cognizant Automation Testing interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Cognizant. The most common topics and skills that interviewers at Cognizant expect are Automation Testing, Java, Selenium, Cucumber and API.
What are the top questions asked in Cognizant Automation Testing interview?

Some of the top questions asked at the Cognizant Automation Testing interview -

  1. Use testing meth...read more
  2. Different types of test...read more
  3. i am sainath studying sphn engineeering course btech b ranch cse accrecated wi...read more

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Accenture Interview Questions
3.8
 • 8.2k Interviews
Infosys Interview Questions
3.6
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Capgemini Interview Questions
3.7
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.8
 • 3.1k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
Cognizant Automation Testing Salary
based on 6 salaries
₹3 L/yr - ₹9.8 L/yr
13% more than the average Automation Testing Salary in India
View more details

Cognizant Automation Testing Reviews and Ratings

based on 2 reviews

4.5/5

Rating in categories

5.0

Skill development

5.0

Work-life balance

4.5

Salary

5.0

Job security

5.0

Company culture

3.9

Promotions

5.0

Work satisfaction

Explore 2 Reviews and Ratings
Automation Testing

Chennai,

Coimbatore

+1

5-8 Yrs

₹ 10-14 LPA

Cypress JavaScript Automation Testing

Hyderabad / Secunderabad,

Chennai

+1

3-6 Yrs

Not Disclosed

Cypress JavaScript Automation Testing

Hyderabad / Secunderabad,

Chennai

+1

3-6 Yrs

Not Disclosed

Explore more jobs
Associate
72.2k salaries
unlock blur

₹5.1 L/yr - ₹15.9 L/yr

Programmer Analyst
55.6k salaries
unlock blur

₹2.4 L/yr - ₹9.6 L/yr

Senior Associate
48.6k salaries
unlock blur

₹9 L/yr - ₹27.4 L/yr

Senior Processing Executive
28.9k salaries
unlock blur

₹1.8 L/yr - ₹9 L/yr

Technical Lead
17.6k salaries
unlock blur

₹5.9 L/yr - ₹24.6 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.7
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview