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
3.8

based on 48.2k Reviews

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Cognizant Qe Automation Engineer Interview Questions and Answers

Updated 6 Mar 2024

Cognizant Qe Automation Engineer Interview Experiences

1 interview found

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(3 Questions)

  • Q1. What is the difference between Implicit wait and explicit wait in Selenium
  • Ans. 

    Implicit wait is set globally for all elements, while explicit wait is applied only to specific elements.

    • Implicit wait is set once at the beginning of the test script, while explicit wait is used whenever needed.

    • Implicit wait waits for a specified amount of time before throwing a NoSuchElementException, while explicit wait waits for a certain condition to be met before proceeding.

    • Implicit wait is defined using driver.m...

  • Answered by AI
  • Q2. Tell me about yourself
  • Q3. Framework used in project
  • Ans. 

    The project uses a hybrid framework combining data-driven and keyword-driven approaches.

    • Combines data-driven and keyword-driven testing

    • Utilizes reusable components for test automation

    • Supports both functional and regression testing

  • Answered by AI

Skills evaluated in this interview

Interview questions from similar companies

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
-
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
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. What is Hard assert
  • Ans. 

    Hard assert is a type of assertion in test automation that stops the test execution immediately when a failure occurs.

    • Hard assert is used to validate the expected outcome of a test case

    • If the assertion fails, the test execution is halted and marked as failed

    • It is commonly used in automated test scripts to ensure the correctness of the application under test

  • Answered by AI
  • Q2. What is soft assert
  • Ans. 

    Soft assert is a way to continue the execution of a test case even after an assertion failure.

    • Soft assert does not stop the execution of the test case when an assertion fails.

    • It is useful when you want to log the failure but continue with the remaining test steps.

    • Soft assert is commonly used in test automation frameworks like TestNG in Java.

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.

Round 1 - One-on-one 

(3 Questions)

  • Q1. Write a program to print 2 nd highest number from array with using sorting?
  • Ans. 

    Program to find 2nd highest number in array without sorting.

    • Iterate through array to find highest and second highest numbers

    • Initialize variables to store highest and second highest numbers

    • Compare each element with highest and second highest numbers

  • Answered by AI
  • Q2. Write a program to add value into hashmap?
  • Ans. 

    Program to add values into a hashmap in Java.

    • Create a new HashMap object.

    • Use the put() method to add key-value pairs into the hashmap.

    • Keys must be unique, values can be duplicated.

    • Example: HashMap map = new HashMap<>(); map.put("A", 1);

  • Answered by AI
  • Q3. What are main concepts of OOPS in java?
  • Ans. 

    Main concepts of OOPS in Java include inheritance, encapsulation, polymorphism, and abstraction.

    • Inheritance: Allows a class to inherit properties and behavior from another class. Example: class B extends class A.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: private variables with public getter and setter methods.

    • Polymorphism: Ability of a method to do different things ba...

  • Answered by AI
Round 2 - One-on-one 

(2 Questions)

  • Q1. What are the different http codes used in rest assure?
  • Ans. 

    Different HTTP codes used in Rest Assured

    • 200 - OK: Request was successful

    • 201 - Created: Request was successful and a new resource was created

    • 400 - Bad Request: Request was invalid

    • 401 - Unauthorized: Request requires user authentication

    • 404 - Not Found: Requested resource was not found

    • 500 - Internal Server Error: Server encountered an unexpected condition

  • Answered by AI
  • Q2. Write a code using rest assure for status code
  • Ans. 

    Code using Rest Assured for checking status code

    • Import Rest Assured library

    • Use given() method to specify the base URI

    • Use when() method to specify the HTTP method and endpoint

    • Use then() method to validate the status code

  • Answered by AI

Skills evaluated in this interview

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

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

Round 1 - Technical 

(4 Questions)

  • Q1. Difference between hash map and hash table
  • Ans. 

    HashMap is non-synchronized and allows null values and keys, while HashTable is synchronized and does not allow null values or keys.

    • HashMap is non-synchronized and not thread-safe, while HashTable is synchronized and thread-safe.

    • HashMap allows null values and keys, while HashTable does not allow null values or keys.

    • HashMap is generally preferred over HashTable for non-thread-safe operations due to better performance.

  • Answered by AI
  • Q2. What is final finally finalize
  • Ans. 

    final, finally, and finalize are keywords in Java used for different purposes.

    • final is a keyword used to declare constants, prevent method overriding, and prevent inheritance.

    • finally is a block of code that is always executed, whether an exception is thrown or not.

    • finalize is a method used for cleanup operations before an object is garbage collected.

  • Answered by AI
  • Q3. What is idempotent in API
  • Ans. 

    Idempotent in API means that making the same request multiple times has the same effect as making it once.

    • Idempotent operations produce the same result regardless of how many times they are called.

    • GET and PUT requests are typically idempotent, while POST requests are not.

    • For example, sending a PUT request to update a resource should have the same result whether it is sent once or multiple times.

  • Answered by AI
  • Q4. Pillars of JAVA and explain with example
  • Ans. 

    The pillars of JAVA are Inheritance, Encapsulation, Polymorphism, and Abstraction.

    • Inheritance: Allows a class to inherit properties and behavior from another class. Example: class Dog extends Animal.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: private variables with public getter and setter methods.

    • Polymorphism: Ability of a method to do different things based on the ob...

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(5 Questions)

  • Q1. What is selenium
  • Ans. 

    Selenium is a popular open-source automation testing tool used for web application testing.

    • Selenium supports multiple programming languages like Java, Python, C#, etc.

    • It allows testers to write test scripts in a variety of IDEs like Eclipse, IntelliJ, etc.

    • Selenium can automate interactions with web browsers like Chrome, Firefox, etc.

    • It can perform various testing tasks such as form filling, button clicking, data extrac

  • Answered by AI
  • Q2. Explain different components of selenium
  • Ans. 

    Selenium is a suite of tools used for automating web browsers.

    • Selenium IDE: Record and playback tool for creating automated tests

    • Selenium WebDriver: Automation tool for writing test scripts in various programming languages

    • Selenium Grid: Distributes test execution on multiple machines for parallel testing

    • Selenium RC (Remote Control): Deprecated tool for running tests in multiple browsers

  • Answered by AI
  • Q3. Difference between findelement and findelement
  • Ans. 

    findelement is a method used in Selenium to locate a single web element on a webpage, while findelements is used to locate multiple web elements.

    • findelement returns the first matching element found on the webpage

    • findelements returns a list of all matching elements found on the webpage

    • findelement is used when only one element needs to be located, while findelements is used when multiple elements need to be located

  • Answered by AI
  • Q4. Different types of wait
  • Ans. 

    Different types of wait include implicit, explicit, and fluent waits in automation testing.

    • Implicit wait: Waits for a certain amount of time before throwing a NoSuchElementException if the element is not found.

    • Explicit wait: Waits for a certain condition to be met before proceeding further in the code.

    • Fluent wait: Waits for a condition to be met with a defined polling frequency and timeout.

    • Example: Using implicit wait ...

  • Answered by AI
  • Q5. Difference between close and wait
  • Ans. 

    Close is used to close a window or application, while wait is used to pause the execution for a specified amount of time.

    • Close is used to close a window or application after the test is completed

    • Wait is used to pause the execution for a specified amount of time, such as waiting for an element to load before proceeding

    • Example: driver.close() will close the current window, while Thread.sleep(5000) will pause the executio

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Where do you see yourself in 5 years

Interview Preparation Tips

Interview preparation tips for other job seekers - Really good company
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
More than 8 weeks
Result
No response

I applied via Naukri.com and was interviewed before Jan 2024. There was 1 interview round.

Round 1 - Coding Test 

String reverse in JS, Framework related question

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(1 Question)

  • Q1. Why atos? Coding skills required
  • Ans. 

    Atos is a leading global IT services company with a strong focus on automation and coding skills.

    • Atos is a well-established global IT services company known for its expertise in automation and coding.

    • They have a strong reputation for delivering innovative solutions to clients using cutting-edge technologies.

    • Working at Atos will provide opportunities to enhance coding skills and work on challenging automation projects.

    • A...

  • Answered by AI

Skills evaluated in this interview

Cognizant Interview FAQs

How many rounds are there in Cognizant Qe Automation Engineer interview?
Cognizant interview process usually has 1 rounds. The most common rounds in the Cognizant interview process are Technical.
How to prepare for Cognizant Qe Automation Engineer 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 Cucumber, Java and Selenium.
What are the top questions asked in Cognizant Qe Automation Engineer interview?

Some of the top questions asked at the Cognizant Qe Automation Engineer interview -

  1. What is the difference between Implicit wait and explicit wait in Selen...read more
  2. Framework used in proj...read more

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.3k Interviews
Accenture Interview Questions
3.9
 • 8.1k Interviews
Infosys Interview Questions
3.7
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Capgemini Interview Questions
3.8
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.9
 • 3k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
Cognizant Qe Automation Engineer Salary
based on 32 salaries
₹2.5 L/yr - ₹9.4 L/yr
30% less than the average Qe Automation Engineer Salary in India
View more details

Cognizant Qe Automation Engineer Reviews and Ratings

based on 5 reviews

3.6/5

Rating in categories

3.9

Skill development

3.8

Work-life balance

3.6

Salary

3.7

Job security

3.8

Company culture

3.5

Promotions

3.6

Work satisfaction

Explore 5 Reviews and Ratings
Associate
72.4k salaries
unlock blur

₹5.1 L/yr - ₹16 L/yr

Programmer Analyst
55.4k salaries
unlock blur

₹2.4 L/yr - ₹9.6 L/yr

Senior Associate
48.3k salaries
unlock blur

₹9 L/yr - ₹27.2 L/yr

Senior Processing Executive
28.7k salaries
unlock blur

₹1.8 L/yr - ₹9 L/yr

Technical Lead
17.6k salaries
unlock blur

₹5.9 L/yr - ₹24.2 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.7
Compare

Infosys

3.7
Compare

Wipro

3.7
Compare

Accenture

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