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 Manager Interview Questions, Process, and Tips

Updated 19 Sep 2024

Cognizant Automation Manager Interview Experiences

1 interview found

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Referral and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Panel interview 

(4 Questions)

  • Q1. What is the order of Annotations in TestNG
  • Ans. 

    The order of Annotations in TestNG is @BeforeSuite, @BeforeTest, @BeforeClass, @BeforeMethod, @Test, @AfterMethod, @AfterClass, @AfterTest, @AfterSuite.

    • Annotations are executed in the following order: @BeforeSuite, @BeforeTest, @BeforeClass, @BeforeMethod, @Test, @AfterMethod, @AfterClass, @AfterTest, @AfterSuite.

    • Annotations are used in TestNG to perform actions before or after a test method or test class.

    • For example, ...

  • Answered by AI
  • Q2. Write the XPath to identify “CNN Logo” on CNN’s official website
  • Ans. 

    XPath to identify 'CNN Logo' on CNN's official website

    • Use the 'contains' function to search for the alt attribute containing 'CNN Logo'

    • XPath: //img[contains(@alt, 'CNN Logo')]

  • Answered by AI
  • Q3. What is the difference between “Sprint Review” and “Sprint Retrospective” meeting?
  • Ans. 

    Sprint Review focuses on the product increment, while Sprint Retrospective focuses on the process and team dynamics.

    • Sprint Review is a meeting held at the end of the sprint to review the product increment and get feedback from stakeholders.

    • Sprint Retrospective is a meeting held at the end of the sprint to reflect on the process, identify what went well and what could be improved.

    • Sprint Review is focused on the product ...

  • Answered by AI
  • Q4. How can you re-run failed test cases in TestNG?
  • Ans. 

    Failed test cases in TestNG can be re-run using the 'rerunFailedTests' feature.

    • Add 'rerunFailedTests' listener in testng.xml file

    • Specify the number of times to re-run failed tests

    • Failed tests will be re-run based on the specified count

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Automation Manager interview:
  • Selenium
  • Java
  • Database Testing
  • API Testing
  • Agile
  • Software Testing

Skills evaluated in this interview

Interview questions from similar companies

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
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Dec 2024.

Round 1 - Technical 

(7 Questions)

  • Q1. Write code to implement and explicit wait in Selenium
  • Q2. Write code to implement Robot class in java
  • Q3. How would you locate the Xpath for the "Today's Deal" menu item on Amazon
  • Q4. What will be the memory allocation for the code String str1 = "Automation"; String str2 = new String("Automation");
  • Q5. What is the difference between str1==str2 and str1.equals(str2)
  • Q6. Meaning of status code 401 and 502
  • Q7. Print first 4 letter and last 4 letter of String str="www.amazon.com"
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

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

Round 1 - Technical 

(10 Questions)

  • Q1. What is the output of below code class Animal{ Animal(){ System.out.println("animal is created") } class Dog extends Animal{ Dog(){ System.out.println("Dog is created")} class TestSuper4{ pub...
  • Ans. 

    The output of the code will be 'animal is created' followed by 'Dog is created'.

    • The code defines a class Animal with a constructor that prints 'animal is created'.

    • It also defines a class Dog that extends Animal, with a constructor that prints 'Dog is created'.

    • In the main method, an instance of Dog is created, which will trigger the constructors of both Animal and Dog classes.

  • Answered by AI
  • Q2. Output of this : System.out.println(10+20+"Hello"+30+40) - Explain
  • Q3. Output of this : String name="Hello"; name=name+"There"; system.out.println(name)
  • Ans. 

    The output will be 'HelloThere'

    • Concatenation of 'Hello' and 'There' results in 'HelloThere'

    • The final string is printed using System.out.println()

  • Answered by AI
  • Q4. StringBuffer buffer=new StringBuffer("Hello") buffer.append("There"); System.out.println(buffer);
  • Ans. 

    The code creates a StringBuffer object with 'Hello' and appends 'There' to it before printing the final string.

    • StringBuffer is mutable, so the original 'Hello' string can be modified

    • The append() method adds the specified string to the end of the buffer

    • The final output will be 'HelloThere'

  • Answered by AI
  • Q5. Which is valid or invalid a. ChromeDriver driver=new ChromeDriver(); b. WebDriver driver=new ChromeDriver(); c. WebDriver driver2=new WebDriver(); driver2=new ChromeDriver();
  • Ans. 

    Option a is valid, option b is valid, option c is invalid.

    • Option a is valid because ChromeDriver is a subclass of WebDriver, so it can be assigned to a WebDriver reference.

    • Option b is valid because ChromeDriver is a subclass of WebDriver, so it can be instantiated using a WebDriver reference.

    • Option c is invalid because WebDriver is an interface and cannot be instantiated directly. It can only be used as a reference typ

  • Answered by AI
  • Q6. Program to sort the input in descending order without using inbuild method/functions
  • Ans. 

    Sort input array of strings in descending order without using inbuilt functions

    • Iterate through the array and compare each element with the rest to find the largest element

    • Swap the largest element with the first element, then repeat the process for the remaining elements

    • Continue this process until the array is sorted in descending order

  • Answered by AI
  • Q7. Difference between findElement and findElements
  • Ans. 

    findElement returns the first matching element on the page, while findElements returns a list of all matching elements.

    • findElement returns a single WebElement matching the locator provided

    • findElements returns a list of WebElements matching the locator provided

    • findElement will throw NoSuchElementException if no element is found, while findElements will return an empty list

  • Answered by AI
  • Q8. Difference between getwindowhandle and getwindowhandles() and what is output type
  • Ans. 

    getwindowhandle returns the handle of the current window, getwindowhandles() returns handles of all open windows

    • getwindowhandle returns a single window handle, while getwindowhandles() returns a set of window handles

    • getwindowhandle is used to switch between windows in Selenium WebDriver

    • Output type of getwindowhandle is String, while output type of getwindowhandles() is Set

Answered by AI
  • Q9. Question on finding the xpaths on website
  • Q10. Difference between String and StringBuilder?
  • Ans. 

    String is immutable, while StringBuilder is mutable and more efficient for concatenating strings.

    • String is immutable, meaning its value cannot be changed once it is created.

    • StringBuilder is mutable, allowing for modifications to the string without creating a new object.

    • StringBuilder is more efficient for concatenating multiple strings as it does not create new objects each time.

    • Example: String str = "Hello"; StringBuil

  • Answered by AI

    Skills evaluated in this interview

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

    I applied via Company Website and was interviewed in Oct 2024. There was 1 interview round.

    Round 1 - Technical 

    (4 Questions)

    • Q1. Write java program to print sum of digits from a given string eg: "abcd23"
    • Ans. 

      Java program to print sum of digits from a given string

      • Iterate through each character in the string

      • Check if the character is a digit using Character.isDigit() method

      • Convert the digit character to integer using Character.getNumericValue() method

      • Sum up all the digits found in the string

    • Answered by AI
    • Q2. Explain oops concepts used in your framework with example?
    • Ans. 

      OOPs concepts used in the framework include inheritance, polymorphism, encapsulation, and abstraction.

      • Inheritance is used to create a parent-child relationship between classes. For example, a base class 'Page' can be inherited by 'HomePage' and 'LoginPage' classes.

      • Polymorphism allows objects of different classes to be treated as objects of a common superclass. For instance, a 'click' method can be implemented different...

    • Answered by AI
    • Q3. Explain polymorphism
    • Ans. 

      Polymorphism is the ability of a single function or method to operate on different types of data.

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

      • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

      • Example of compile-time polymorphism: function overloading in Java.

      • Example of runtime polymorphism: method overriding in Java

    • Answered by AI
    • Q4. Java program to print the sum of elements in string array eg: String[] arr = {"1","2","3"}
    • Ans. 

      Java program to print the sum of elements in a string array.

      • Convert each element in the string array to an integer using Integer.parseInt()

      • Sum up all the integers to get the total sum

    • Answered by AI

    Skills evaluated in this interview

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

    Cognizant Interview FAQs

    How many rounds are there in Cognizant Automation Manager interview?
    Cognizant interview process usually has 1 rounds. The most common rounds in the Cognizant interview process are Panel interview.
    What are the top questions asked in Cognizant Automation Manager interview?

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

    1. What is the difference between “Sprint Review” and “Sprint Retrospective�...read more
    2. Write the XPath to identify “CNN Logo” on CNN’s official webs...read more
    3. How can you re-run failed test cases in Test...read more

    Tell us how to improve this page.

    Cognizant Automation Manager Interview Process

    based on 1 interview

    Interview experience

    3
      
    Average
    View more

    Interview Questions from Similar Companies

    TCS Interview Questions
    3.7
     • 10.5k Interviews
    Accenture Interview Questions
    3.8
     • 8.2k Interviews
    Infosys Interview Questions
    3.6
     • 7.6k Interviews
    Wipro Interview Questions
    3.7
     • 5.7k Interviews
    Capgemini Interview Questions
    3.7
     • 4.8k Interviews
    Tech Mahindra Interview Questions
    3.5
     • 3.9k 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 Manager Salary
    based on 16 salaries
    ₹13.5 L/yr - ₹24 L/yr
    8% more than the average Automation Manager Salary in India
    View more details

    Cognizant Automation Manager Reviews and Ratings

    based on 1 review

    3.0/5

    Rating in categories

    4.0

    Skill development

    2.0

    Work-life balance

    4.0

    Salary

    2.0

    Job security

    3.0

    Company culture

    3.0

    Promotions

    3.0

    Work satisfaction

    Explore 1 Review and Rating
    Associate
    72.3k salaries
    unlock blur

    ₹5.1 L/yr - ₹16 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.9 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