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 for Experienced

Updated 4 Nov 2022

Cognizant Automation Testing Interview Experiences for Experienced

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 for Experienced

asked in HCLTech
Q1. What is the deference between methods and constructors
asked in Capgemini
Q2. Is tocollect , analyse and finalize purpose of performance testin ... read more
asked in Capgemini
Q3. What do you mean by NRI gatherings and testing tools
asked in HCLTech
Q4. What is inheritance and types of inheritance
asked in HCLTech
Q5. Where we can use final keyboard

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 appeared for an interview in Jan 2025.

Round 1 - Technical 

(5 Questions)

  • Q1. What is the deference between methods and constructors
  • Ans. 

    Methods are functions within a class that define behavior, while constructors are special methods used to initialize objects.

    • Methods are used to perform actions or operations within a class.

    • Constructors are special methods used to initialize objects when they are created.

    • Methods can have return types and parameters, while constructors do not have return types and have the same name as the class.

    • Example: Method 'calcula...

  • Answered by AI
  • Q2. What is interface
  • Ans. 

    An interface in automation testing refers to the point of interaction between two systems or components.

    • An interface defines the methods that a class must implement, without specifying how they are implemented.

    • Interfaces allow for loose coupling between different components, making it easier to change or update one without affecting the other.

    • In automation testing, interfaces are used to interact with the application u...

  • Answered by AI
  • Q3. Where we can use final keyboard
  • Ans. 

    The final keyword in Java can be used to declare constants, prevent method overriding, and prevent inheritance.

    • To declare constants in Java

    • To prevent method overriding in Java

    • To prevent inheritance in Java

  • Answered by AI
  • Q4. What is polymorphism
  • Ans. 

    Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.

    • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

    • It enables a single interface to represent multiple data types.

    • Examples include method overloading and method overriding in object-oriented programming.

  • Answered by AI
  • Q5. What is inheritance and types of inheritance
  • Ans. 

    Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.

    • Types of inheritance: single inheritance, multiple inheritance, multilevel inheritance, hierarchical inheritance

    • Example: Class B inherits from Class A, Class C inherits from Class B, creating a multilevel inheritance

    • Example: Class D inherits from Class A and Class B, demonstrating multiple inherita

  • Answered by AI
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
Easy
Process Duration
-
Result
-

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

Round 1 - Technical 

(13 Questions)

  • Q1. Write an Xpath for an Anchor tag
  • Ans. 

    Xpath for an Anchor tag in Automation Testing

    • Use the 'a' tag in the Xpath expression to target anchor tags

    • Use '@href' attribute to specify the link of the anchor tag

    • Example: //a[@href='https://www.example.com']

  • Answered by AI
  • Q2. What are the challenges faced in your automation project and how did you overcome them ?
  • Ans. 

    Challenges faced in automation project and how they were overcome

    • Lack of skilled resources - Conducted training sessions to upskill team members

    • Unstable test environment - Implemented robust error handling mechanisms

    • Changing requirements - Utilized agile methodologies to adapt quickly

    • Integration issues with third-party tools - Collaborated with vendors for solutions

  • Answered by AI
  • Q3. Explain Selenium Architecture
  • Ans. 

    Selenium Architecture is a framework that consists of different components for automated testing of web applications.

    • Selenium WebDriver: It is the core component that allows interaction with web elements.

    • Selenium Grid: It enables parallel execution of tests across different browsers and environments.

    • Selenium IDE: It is a record and playback tool for creating test scripts.

    • Selenium RC (Remote Control): It is the predeces...

  • Answered by AI
  • Q4. Have you ever faced synchronization problem ? How did you overcome them ?
  • Ans. 

    Yes, I have faced synchronization problems while automating tests.

    • Yes, I have encountered synchronization issues when elements load at different speeds on a webpage.

    • To overcome this, I have used explicit waits in Selenium to wait for specific conditions before proceeding with the test.

    • I have also used implicit waits to set a default waiting time for the elements to load.

    • In some cases, I have used Thread.sleep() to paus...

  • Answered by AI
  • Q5. What are the exceptions handled other than NosuchElementException
  • Ans. 

    Other exceptions handled in automation testing besides NoSuchElementException

    • ElementNotVisibleException - when element is present in DOM but not visible on the page

    • StaleElementReferenceException - when element is no longer attached to the DOM

    • TimeoutException - when a command does not complete in a specific time frame

    • NoSuchWindowException - when the window target to be switched doesn't exist

    • InvalidElementStateException ...

  • Answered by AI
  • Q6. Explain OOPS concepts
  • Ans. 

    OOPS concepts are fundamental principles of Object-Oriented Programming, including inheritance, encapsulation, polymorphism, and abstraction.

    • Inheritance: Allows a class to inherit properties and behavior from another class.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit.

    • Polymorphism: Ability to present the same interface for different data types.

    • Abstraction: Hiding the complex imple...

  • Answered by AI
  • Q7. Difference between Relative and Absolute xpath
  • Ans. 

    Relative xpath is based on the current position of an element, while absolute xpath starts from the root element.

    • Relative xpath is shorter and less prone to breaking with changes in the DOM structure.

    • Absolute xpath is longer and more specific, starting from the root element of the HTML document.

    • Relative xpath is preferred for dynamic web elements, while absolute xpath is more suitable for static elements.

    • Example: Relat...

  • Answered by AI
  • Q8. Java Program to reverse a string
  • Ans. 

    Java program to reverse a string

    • Create a StringBuilder object

    • Use the reverse() method to reverse the string

    • Convert the StringBuilder object back to a string

  • Answered by AI
  • Q9. What is framework ? Explain the frameworks you worked on in your project?
  • Ans. 

    A framework is a set of guidelines, coding standards, concepts, and practices that provide structure and support for automated testing.

    • Framework helps in organizing and executing automated tests efficiently.

    • Common frameworks include Data-Driven, Keyword-Driven, Hybrid, and Behavior-Driven Development (BDD).

    • In my project, I have worked on a Data-Driven framework where test data is separated from test scripts for easy ma

  • Answered by AI
  • Q10. TestNG-How to re-run the failed Testcases
  • Ans. 

    TestNG provides the ability to re-run failed test cases using the 'retryAnalyzer' feature.

    • Implement a custom 'IRetryAnalyzer' class to define the retry logic for failed test cases.

    • Specify the 'retryAnalyzer' attribute in the @Test annotation with the custom retry analyzer class.

    • Set the 'retryAnalyzer' attribute to the custom class name in the testng.xml file to apply the retry logic globally.

    • Failed test cases will be a...

  • Answered by AI
  • Q11. What is Interface in Java
  • Ans. 

    Interface in Java is a reference type in Java, similar to a class, that can contain only constants, method signatures, default methods, static methods, and nested types.

    • An interface is a blueprint of a class that can have abstract methods and constants.

    • Interfaces are used to achieve abstraction and multiple inheritance in Java.

    • Classes can implement multiple interfaces but can only extend one class.

    • Example: interface Sh...

  • Answered by AI
  • Q12. Explain Fluent wait ,implict ,explicit wait
  • Ans. 

    Fluent wait, implicit wait, and explicit wait are different types of wait strategies used in automation testing to handle synchronization issues.

    • Fluent wait is a dynamic wait mechanism in Selenium WebDriver that waits for a condition to be true with a specified polling frequency.

    • Implicit wait is a global wait applied to all elements in the WebDriver instance, allowing a certain amount of time for elements to load befor...

  • Answered by AI
  • Q13. TestNG supports crossbrowser testinh
  • Ans. 

    Yes, TestNG supports crossbrowser testing by allowing the execution of test cases on multiple browsers in parallel.

    • TestNG allows the use of @Parameters annotation to pass browser type as a parameter to test methods.

    • TestNG can be integrated with Selenium WebDriver to run tests on different browsers like Chrome, Firefox, and Safari.

    • TestNG provides the flexibility to run tests in parallel on multiple browsers for faster e

  • 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

I applied via Naukri.com and was interviewed in Jan 2020. There were 3 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Normal Accounts related question like describe Depreciation, ammortization, and what do you mean by Reporting (RTR Activity).
  • Q2. Some interviewer may ask what do you mean by EBITDA as in my case be prepared for this type of bouncers as well .
  • Q3. Then they will ask you your previous work related question. In my case they ask if there is GL to SL mismatch what will you do to solve it.
  • Q4. Then why do we do depreciation of companies what is the need for it
  • Ans. 

    Depreciation is necessary to allocate the cost of an asset over its useful life.

    • Depreciation helps in matching the cost of an asset with the revenue it generates.

    • It allows for the recognition of the wear and tear, obsolescence, and loss of value of assets over time.

    • Depreciation expense reduces taxable income, resulting in tax savings for companies.

    • It helps in determining the true profitability and financial position of...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Always be confident remember it's not that the interviewer knows everything but be convincing don't say blah blah if you don't know anything .
Read the basics and if you are experienced be sure to explain every detail of how you used to do work.
Best of luck.

I applied via Naukri.com and was interviewed in Oct 2020. There was 1 interview round.

Interview Questionnaire 

3 Questions

  • Q1. What is second level cache?How to implement second level cache?How to optimize sql query?what are solid principles?
  • Ans. 

    Second level cache is a caching mechanism used to improve performance by storing frequently accessed data in memory.

    • Second level cache is implemented at the application level and can be configured using frameworks like Hibernate.

    • To optimize SQL queries, one can use indexes, avoid using SELECT *, and use JOINs instead of subqueries.

    • SOLID principles are a set of design principles for writing maintainable and scalable cod...

  • Answered by AI
  • Q2. Mostly FAQ but somewhat in depth?
  • Q3. How to deploy application in aws?
  • Ans. 

    To deploy an application in AWS, you need to create an EC2 instance, configure security groups, install necessary software, and upload your application code.

    • Create an EC2 instance in the desired region and select the appropriate instance type

    • Configure security groups to allow traffic to and from the instance

    • Install necessary software and dependencies on the instance

    • Upload your application code to the instance

    • Start the ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare basic faq but in depth,Interview level is easy to medium.They will ask only theory .No practical algorithm test.

Skills evaluated in this interview

I applied via Referral and was interviewed before Mar 2021. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. About pointers and their types

Interview Preparation Tips

Interview preparation tips for other job seekers - Easy one so we can take with only basic knowledge

I applied via Campus Placement

Interview Questionnaire 

4 Questions

  • Q1. What is multithreading? ( I used it in my project )
  • Ans. 

    Multithreading is the ability of a CPU to execute multiple threads concurrently, improving performance and responsiveness.

    • Multithreading allows for parallel execution of tasks, utilizing multiple CPU cores.

    • It enables concurrent processing, where multiple threads can execute simultaneously.

    • Thread synchronization mechanisms like locks and semaphores are used to prevent data inconsistencies.

    • Multithreading can be used to i...

  • Answered by AI
  • Q2. How is socket programming different from other programmings?( Again a question from my project)
  • Q3. Difference between constructors and destructors.
  • Ans. 

    Constructors are used to initialize objects while destructors are used to destroy objects.

    • Constructors are called when an object is created while destructors are called when an object is destroyed.

    • Constructors have the same name as the class while destructors have the same name as the class preceded by a tilde (~).

    • Constructors can be overloaded while destructors cannot be overloaded.

    • Constructors do not have a return ty...

  • Answered by AI
  • Q4. Oops basics

Interview Preparation Tips

Interview preparation tips for other job seekers - My technical interview round lasted for just 20 minutes. It's becomes easier to crack if you actually have knowledge about things you have put on your resume. My advice to prepare for the interview is to open your resume and start making flowchart of what questions can go next once you introduce yourself. In the introduction, include your strong areas so that the interview revolves around that. I used this approach in my first interview and it went really well. I got real good reviews from the interviewer. Lastly, stay confident in explaining and Good Luck.

Skills evaluated in this interview

Cognizant Interview FAQs

How many rounds are there in Cognizant Automation Testing interview for experienced candidates?
Cognizant interview process for experienced candidates usually has 2-3 rounds. The most common rounds in the Cognizant interview process for experienced candidates are HR, Resume Shortlist and Aptitude Test.
How to prepare for Cognizant Automation Testing interview for experienced candidates?
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 Selenium Testing.
What are the top questions asked in Cognizant Automation Testing interview for experienced candidates?

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

  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.7k Interviews
Accenture Interview Questions
3.8
 • 8.3k Interviews
Infosys Interview Questions
3.6
 • 7.7k Interviews
Wipro Interview Questions
3.7
 • 5.7k Interviews
Capgemini Interview Questions
3.7
 • 4.9k Interviews
HCLTech Interview Questions
3.5
 • 3.9k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.9k Interviews
Genpact Interview Questions
3.8
 • 3.2k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
DXC Technology Interview Questions
3.7
 • 805 Interviews
View all
Cognizant Automation Testing Salary
based on 6 salaries
₹3 L/yr - ₹9.8 L/yr
12% 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
SDET with API Automation Testing, Selenium - Chennai Location

Hyderabad / Secunderabad,

Chennai

+1

6-10 Yrs

Not Disclosed

Automation Testing with java selenium

Hyderabad / Secunderabad,

Chennai

+1

6-10 Yrs

Not Disclosed

Explore more jobs
Associate
72.4k salaries
unlock blur

₹5.1 L/yr - ₹16 L/yr

Programmer Analyst
55.6k salaries
unlock blur

₹2.4 L/yr - ₹9.3 L/yr

Senior Associate
50.3k salaries
unlock blur

₹9 L/yr - ₹28.6 L/yr

Senior Processing Executive
29.1k salaries
unlock blur

₹1.8 L/yr - ₹9.2 L/yr

Technical Lead
17.7k salaries
unlock blur

₹6 L/yr - ₹25 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