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

Filter interviews by

Cognizant Software Quality Assurance Engineer Interview Questions and Answers

Updated 23 Feb 2022

10 Interview questions

A Software Quality Assurance Engineer was asked
Q. Explain the execution flow of the Cucumber framework.
Ans. 

Cucumber framework executes feature files using step definitions and generates reports.

  • Cucumber reads feature files written in Gherkin syntax

  • Step definitions are written in programming language

  • Cucumber matches steps in feature file with step definitions

  • Cucumber generates reports after execution

A Software Quality Assurance Engineer was asked
Q. What is the difference between absolute XPath and relative XPath?
Ans. 

Absolute Xpath is the complete path from the root element while relative Xpath is the path from the current element.

  • Absolute Xpath starts with a single forward slash (/) and is used to locate an element from the root node.

  • Relative Xpath starts with a double forward slash (//) and is used to locate an element from the current node.

  • Absolute Xpath is more specific and less flexible while relative Xpath is more flexib...

Software Quality Assurance Engineer Interview Questions Asked at Other Companies

asked in ivy
Q1. Write code to remove duplicate letters from a string and print th ... read more
asked in Cognizant
Q2. What is the difference between the get and quit methods?
Q3. How can you swap two numbers without using a temporary variable o ... read more
asked in Amazon
Q4. What are the test scenarios for end-to-end testing of the concert ... read more
asked in Convin
Q5. Can you explain the framework you used in your last project?
A Software Quality Assurance Engineer was asked
Q. What is the difference between Overloading and Overriding?
Ans. 

Overloading is having multiple methods with the same name but different parameters. Overriding is having a method in a subclass with the same name and parameters as a method in its superclass.

  • Overloading is compile-time polymorphism while overriding is runtime polymorphism.

  • Overloading is used to provide different implementations of the same method for different input parameters.

  • Overriding is used to provide a spec...

A Software Quality Assurance Engineer was asked
Q. What is the difference between a scenario and a scenario outline?
Ans. 

Scenario outlines are templates for scenarios with placeholders for input values.

  • Scenario outlines are used in BDD frameworks like Cucumber.

  • They allow for the creation of multiple scenarios with different input values.

  • Scenario outlines use placeholders like to represent input values.

  • Example: Given a with , when they log in, then they should see the .

  • Scenario outlines are more flexible and reusable than regular s...

What people are saying about Cognizant

View All
schedule2
Verified Icon
2w
works at
Cognizant
Salary expectation
I have 5+ years of experience in springboot microservices, currently working in CTS and having 10L CTC , wanted to switch in Infosys or Accenture like companies, how much should I ask for 15L-18L ? Just worried if I ask more they can reject my application, please help me with some numbers
Got a question about Cognizant?
Ask anonymously on communities.
A Software Quality Assurance Engineer was asked
Q. How do you skip a specific test case in TestNG?
Ans. 

How to skip a specific test case in TestNG?

  • Use @Test(enabled = false) annotation to skip a test case

  • Use @Test(groups = {"skip"}) annotation and exclude the group from test execution

  • Use ITestResult.SKIP status to skip a test case programmatically

A Software Quality Assurance Engineer was asked
Q. How do you select a check box in Selenium?
Ans. 

To select a checkbox in Selenium, locate the checkbox element and use the 'click' method.

  • Locate the checkbox element using any of the available locators in Selenium

  • Use the 'click' method to select the checkbox

  • Verify that the checkbox is selected using the 'isSelected' method

A Software Quality Assurance Engineer was asked
Q. Explain the pseudo code for taking a screenshot.
Ans. 

TakescreenShot sudo code captures the screen and saves it as an image file.

  • Import necessary libraries for capturing the screen and saving images

  • Define a function to capture the screen

  • Specify the file format and location to save the screenshot

  • Call the function to capture and save the screenshot

Are these interview questions helpful?
A Software Quality Assurance Engineer was asked
Q. What is the difference between the get and quit methods?
Ans. 

The get method is used to retrieve a value from a data structure, while the quit method is used to terminate a program or session.

  • The get method is commonly used in programming languages to access elements from arrays, lists, dictionaries, etc.

  • The quit method is typically used to gracefully exit a program or session, closing any open resources or connections.

  • Example: In Python, the get method is used to retrieve v...

A Software Quality Assurance Engineer was asked
Q. Explain the exception handling process in your project?
Ans. 

Exception handling process involves identifying, catching, and handling errors in the software.

  • Identify potential exceptions and define exception classes

  • Catch exceptions using try-catch blocks

  • Handle exceptions appropriately, either by logging or displaying error messages

  • Implement a fallback mechanism to handle unexpected exceptions

  • Test exception handling scenarios thoroughly

A Software Quality Assurance Engineer was asked
Q. Explain the order of TestNG annotations execution flow.
Ans. 

TestNG annotations are executed in a specific order to ensure proper test execution.

  • BeforeSuite

  • BeforeTest

  • BeforeClass

  • BeforeMethod

  • Test

  • AfterMethod

  • AfterClass

  • AfterTest

  • AfterSuite

Cognizant Software Quality Assurance Engineer Interview Experiences

1 interview found

I applied via Recruitment Consulltant and was interviewed before Feb 2021. There was 1 interview round.

Round 1 - Technical 

(10 Questions)

  • Q1. What is the different get and quit methods?
  • Ans. 

    The get method is used to retrieve a value from a data structure, while the quit method is used to terminate a program or session.

    • The get method is commonly used in programming languages to access elements from arrays, lists, dictionaries, etc.

    • The quit method is typically used to gracefully exit a program or session, closing any open resources or connections.

    • Example: In Python, the get method is used to retrieve values...

  • Answered by AI
  • Q2. Explain TakescreenShot sudo code?
  • Ans. 

    TakescreenShot sudo code captures the screen and saves it as an image file.

    • Import necessary libraries for capturing the screen and saving images

    • Define a function to capture the screen

    • Specify the file format and location to save the screenshot

    • Call the function to capture and save the screenshot

  • Answered by AI
  • Q3. Explain the exception handling process in your project?
  • Ans. 

    Exception handling process involves identifying, catching, and handling errors in the software.

    • Identify potential exceptions and define exception classes

    • Catch exceptions using try-catch blocks

    • Handle exceptions appropriately, either by logging or displaying error messages

    • Implement a fallback mechanism to handle unexpected exceptions

    • Test exception handling scenarios thoroughly

  • Answered by AI
  • Q4. Difference between Overloading & Overriding?
  • Ans. 

    Overloading is having multiple methods with the same name but different parameters. Overriding is having a method in a subclass with the same name and parameters as a method in its superclass.

    • Overloading is compile-time polymorphism while overriding is runtime polymorphism.

    • Overloading is used to provide different implementations of the same method for different input parameters.

    • Overriding is used to provide a specific ...

  • Answered by AI
  • Q5. How to select check box in selenium?
  • Ans. 

    To select a checkbox in Selenium, locate the checkbox element and use the 'click' method.

    • Locate the checkbox element using any of the available locators in Selenium

    • Use the 'click' method to select the checkbox

    • Verify that the checkbox is selected using the 'isSelected' method

  • Answered by AI
  • Q6. How to skip a specific test case in TestNG?
  • Ans. 

    How to skip a specific test case in TestNG?

    • Use @Test(enabled = false) annotation to skip a test case

    • Use @Test(groups = {"skip"}) annotation and exclude the group from test execution

    • Use ITestResult.SKIP status to skip a test case programmatically

  • Answered by AI
  • Q7. Difference between absolute Xpath and relative Xpath?
  • Ans. 

    Absolute Xpath is the complete path from the root element while relative Xpath is the path from the current element.

    • Absolute Xpath starts with a single forward slash (/) and is used to locate an element from the root node.

    • Relative Xpath starts with a double forward slash (//) and is used to locate an element from the current node.

    • Absolute Xpath is more specific and less flexible while relative Xpath is more flexible an...

  • Answered by AI
  • Q8. Explain execution flow of cucumber framework?
  • Ans. 

    Cucumber framework executes feature files using step definitions and generates reports.

    • Cucumber reads feature files written in Gherkin syntax

    • Step definitions are written in programming language

    • Cucumber matches steps in feature file with step definitions

    • Cucumber generates reports after execution

  • Answered by AI
  • Q9. Difference between scenario & scenario outline?
  • Ans. 

    Scenario outlines are templates for scenarios with placeholders for input values.

    • Scenario outlines are used in BDD frameworks like Cucumber.

    • They allow for the creation of multiple scenarios with different input values.

    • Scenario outlines use placeholders like to represent input values.

    • Example: Given a with , when they log in, then they should see the .

    • Scenario outlines are more flexible and reusable than regular scenar...

  • Answered by AI
  • Q10. Explain the order of TestNG annotations execution flow?
  • Ans. 

    TestNG annotations are executed in a specific order to ensure proper test execution.

    • BeforeSuite

    • BeforeTest

    • BeforeClass

    • BeforeMethod

    • Test

    • AfterMethod

    • AfterClass

    • AfterTest

    • AfterSuite

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - If you are preparing for Automation Testing please prepare based on provided questions

Skills evaluated in this interview

Interview questions from similar companies

I applied via Naukri.com and was interviewed in Nov 2019. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Why are you looking for the job change?
  • Ans. 

    I'm seeking new challenges and opportunities for growth that align with my career goals and aspirations.

    • Desire for professional growth: I'm looking to expand my skill set and take on more leadership responsibilities.

    • Seeking a better cultural fit: My current company has a different work culture than what I thrive in; I value collaboration and innovation.

    • Interest in new technologies: I'm excited about working with cuttin...

  • Answered by AI
  • Q2. Relevant technical questions, as per my current technology

Interview Preparation Tips

Interview preparation tips for other job seekers - Keep it simple and be yourself. That's what the interviewers looked into. Also a thorough understanding of the technology is a must and that is what will help you in cracking the interview. You don't have to go in-depth, just the overview and what happens when is what they look for. Good communication skills is also an added incentive, something I always try to work on. All the best

Software Quality Assurance Engineer Interview Questions Asked at Other Companies

asked in ivy
Q1. Write code to remove duplicate letters from a string and print th ... read more
asked in Cognizant
Q2. What is the difference between the get and quit methods?
Q3. How can you swap two numbers without using a temporary variable o ... read more
asked in Amazon
Q4. What are the test scenarios for end-to-end testing of the concert ... read more
asked in Convin
Q5. Can you explain the framework you used in your last project?

I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. They asked about dbms questions in the form of table formate
  • Q2. They asked code for some python program

Interview Preparation Tips

Interview preparation tips for other job seekers - Firstly they conducted computer based technical exam and then after qualifying that then we will go for face face interview and then lastly HR round will be held.

Interview Questionnaire 

5 Questions

  • Q1. Basic telephone round probably around 3 times
  • Q2. About ourself and past experience
  • Q3. And they really see if we are interested or not, nothing technical
  • Q4. Telephone technical interview
  • Q5. My role is pega developer so questions are on pega

Interview Preparation Tips

Round: Face to face technical
Experience: Asked each and every aspect in pega

What people are saying about Cognizant

View All
schedule2
Verified Icon
2w
works at
Cognizant
Salary expectation
I have 5+ years of experience in springboot microservices, currently working in CTS and having 10L CTC , wanted to switch in Infosys or Accenture like companies, how much should I ask for 15L-18L ? Just worried if I ask more they can reject my application, please help me with some numbers
Got a question about Cognizant?
Ask anonymously on communities.

I applied via Walk-in and was interviewed before May 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. What is C++
  • Ans. 

    C++ is a high-level programming language used for developing system software, application software, device drivers, and video games.

    • C++ is an extension of the C programming language.

    • It supports object-oriented programming concepts like classes, inheritance, polymorphism, and encapsulation.

    • C++ is used in developing operating systems, browsers, databases, and other software applications.

    • It is known for its performance an...

  • Answered by AI
  • Q2. What is Link List
  • Ans. 

    A data structure that stores a sequence of elements in a linear order.

    • Consists of nodes that contain data and a pointer to the next node.

    • Can be singly linked or doubly linked.

    • Used for implementing stacks, queues, and hash tables.

    • Example: Singly linked list - 1 -> 2 -> 3 -> null

    • Example: Doubly linked list - null <- 1 <-> 2 <-> 3 -> null

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Don't go

Skills evaluated in this interview

I applied via Job Portal and was interviewed before Dec 2019. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. First they ask basic questions like HTML SQL Java.

Interview Preparation Tips

Interview preparation tips for other job seekers - First we learn basics programming knowledge and we confident to attend interview and speak bold.

I applied via Company Website and was interviewed before Jun 2020. There was 1 interview round.

Interview Questionnaire 

3 Questions

  • Q1. By Rajkumar Bharathi, I stay at Trichy
  • Q2. I have completed my B.E from kalasalingam university in 2020, with a score of 6.33
  • Q3. I am a fresher need this jobs

Interview Preparation Tips

Interview preparation tips for other job seekers - Dress for the job or company
Are these interview questions helpful?

I applied via Recruitment Consultant and was interviewed before May 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. About the project

Interview Preparation Tips

Interview preparation tips for other job seekers - I think being honest about every question asked in the interview is the best practice the crack any interview.

I applied via Campus Placement and was interviewed before May 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Basic coding questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Just be confident , easy to crack

I applied via Applied in more than one job portal can't remember now. and was interviewed before Jan 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. About struts framework.

Interview Preparation Tips

Interview preparation tips for other job seekers - I had three rounds of telephonic, technical, HR, interviews, I can say this confidence is important in all aspects.

Cognizant Interview FAQs

How many rounds are there in Cognizant Software Quality Assurance Engineer interview?
Cognizant interview process usually has 1 rounds. The most common rounds in the Cognizant interview process are Technical.
What are the top questions asked in Cognizant Software Quality Assurance Engineer interview?

Some of the top questions asked at the Cognizant Software Quality Assurance Engineer interview -

  1. What is the different get and quit metho...read more
  2. How to skip a specific test case in Test...read more
  3. Explain the exception handling process in your proje...read more

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.6
 • 11.1k Interviews
Accenture Interview Questions
3.7
 • 8.7k Interviews
Infosys Interview Questions
3.6
 • 7.9k Interviews
Wipro Interview Questions
3.7
 • 6.1k Interviews
Capgemini Interview Questions
3.7
 • 5.1k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.1k Interviews
HCLTech Interview Questions
3.5
 • 4.1k Interviews
Genpact Interview Questions
3.7
 • 3.4k Interviews
IBM Interview Questions
3.9
 • 2.5k Interviews
DXC Technology Interview Questions
3.6
 • 842 Interviews
View all
Cognizant Software Quality Assurance Engineer Salary
based on 42 salaries
₹3.6 L/yr - ₹8 L/yr
35% less than the average Software Quality Assurance Engineer Salary in India
View more details

Cognizant Software Quality Assurance Engineer Reviews and Ratings

based on 1 review

4.0/5

Rating in categories

4.0

Skill development

4.0

Work-life balance

4.0

Salary

4.0

Job security

4.0

Company culture

4.0

Promotions

4.0

Work satisfaction

Explore 1 Review and Rating
Associate
73k salaries
unlock blur

₹5.3 L/yr - ₹12.5 L/yr

Programmer Analyst
56.2k salaries
unlock blur

₹3.5 L/yr - ₹7.3 L/yr

Senior Associate
55.1k salaries
unlock blur

₹9.7 L/yr - ₹23.4 L/yr

Senior Processing Executive
29.8k salaries
unlock blur

₹2.3 L/yr - ₹6.5 L/yr

Technical Lead
19k salaries
unlock blur

₹6 L/yr - ₹21 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.6
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

3.7
Compare
write
Share an Interview