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 Senior Automation Test Engineer Interview Questions and Answers

Updated 26 Dec 2024

10 Interview questions

A Senior Automation Test Engineer was asked 5mo ago
Q. What is the syntax for using driver.findElement in Selenium?
Ans. 

The syntax for using driver.findElement in Selenium is driver.findElement(By locator)

  • Use driver.findElement(By locator) to locate a single element on the web page

  • Specify the locator strategy (e.g. By.id, By.name, By.xpath) to identify the element

  • Example: WebElement element = driver.findElement(By.id("username"));

A Senior Automation Test Engineer was asked 5mo ago
Q. What are the different types of assertions, and what is the syntax for a hard assertion in TestNG?
Ans. 

Different types of assertions and syntax for hard assertion in TestNG

  • Types of assertions: Hard assertions and Soft assertions

  • Syntax for hard assertion in TestNG: Assert.assertEquals(expected, actual)

Senior Automation Test Engineer Interview Questions Asked at Other Companies

Q1. (1) write a list comprehension to print a list from 1 to 10 (2) w ... read more
asked in Capgemini
Q2. What are the different data types in Python?
asked in Capgemini
Q3. how do you concatenate a string and integer? is it possible ?
asked in Capgemini
Q4. what is xpath ? How do you find an element ? what is the differen ... read more
asked in Capgemini
Q5. If some data is not found on the page, do a page refresh. How do ... read more
A Senior Automation Test Engineer was asked 5mo ago
Q. What types of wait mechanisms are utilized in your project?
Ans. 

Types of wait mechanisms include implicit wait, explicit wait, fluent wait, and thread.sleep.

  • Implicit wait: Waits for a certain amount of time before throwing a NoSuchElementException.

  • Explicit wait: Waits for a certain condition to occur before proceeding further.

  • Fluent wait: Waits for a condition to be true with a specified polling frequency.

  • Thread.sleep: Pauses the execution for a specified amount of time.

A Senior Automation Test Engineer was asked 5mo ago
Q. How do you remove duplicates from an array?
Ans. 

Use a Set data structure to remove duplicates from an array of strings.

  • Create a Set from the array to automatically remove duplicates

  • Convert the Set back to an array to get the unique values

What people are saying about Cognizant

View All
a junior software engineer
6d
Job offer in Malaysia - legit or scam?
Hey everyone, I received a job proposal from Mindgraph for a Junior Mainframe Developer position in Malaysia (onsite). Not sure if it's a real deal. They found my resume on Naukri and the offer includes: * Experience: 3+ years on cardlink, VSAM, CICS, JCL * Location: Malaysia (Accenture client in Kuala Lumpur) * Notice: 0-60 days * Benefits: One-way ticket, 1-week stay, medical insurance, visa. Has anyone heard of Mindgraph or had a similar experience? Note : This is a permanent position with Mindgragh and you need to work with our client Accenture - Malaysia (Kaula Lumpur) & we will provide one way Air Ticket from India - Malaysia, 1 Week Accommodation, Medical Insurance and will take care of the Visa process also. Any insights would be appreciated!
Got a question about Cognizant?
Ask anonymously on communities.
A Senior Automation Test Engineer was asked 5mo ago
Q. What is the difference between List, Set, and Map collections in Java?
Ans. 

List, Set, and Map are different types of collections in Java used to store and manipulate groups of objects.

  • List is an ordered collection that allows duplicate elements. Example: ArrayList, LinkedList

  • Set is a collection that does not allow duplicate elements. Example: HashSet, TreeSet

  • Map is a collection of key-value pairs where each key is unique. Example: HashMap, TreeMap

A Senior Automation Test Engineer was asked 5mo ago
Q. What actions would you take if there is a mismatch between user stories and application functionality?
Ans. 

I would analyze the user stories and application functionality to identify the root cause of the mismatch and work towards resolving it.

  • Review the user stories and application functionality to understand the discrepancies

  • Communicate with stakeholders to clarify requirements and expectations

  • Update test cases and automation scripts to align with the corrected user stories

  • Collaborate with developers to address any un...

A Senior Automation Test Engineer was asked 5mo ago
Q. Can you provide a specific scenario from your previous project, and detail the feature file step definitions while demonstrating how to run the scenario with different sets of data?
Ans. 

Demonstrating feature file step definitions with different sets of data in a previous project scenario

  • Create a feature file with a scenario outline that includes placeholders for different sets of data

  • Write step definitions that use the placeholders to run the scenario with different data sets

  • Use data tables or examples in the feature file to provide the different sets of data

  • Run the scenario with different data s...

Are these interview questions helpful?
A Senior Automation Test Engineer was asked 5mo ago
Q. What approach can be used to count the number of URLs in an HTML page using Selenium and open the URL that contains your name?
Ans. 

To count URLs in an HTML page using Selenium and open the URL containing your name, you can use a combination of Selenium WebDriver methods and regular expressions.

  • Use Selenium WebDriver to navigate to the HTML page and retrieve its source code

  • Use regular expressions to identify and count the URLs in the source code

  • Iterate through the list of URLs to find the one containing your name

  • Use Selenium WebDriver to open ...

A Senior Automation Test Engineer was asked 5mo ago
Q. How can you separate letters and digits from a string in Java? Please provide the Java code for this task.
Ans. 

Use regular expressions to separate letters and digits from a string in Java.

  • Use the String class's split() method with a regular expression to separate letters and digits.

  • Create a regular expression pattern that matches either letters or digits.

  • Store the separated letters and digits in separate arrays.

A Senior Automation Test Engineer was asked 10mo ago
Q. Tell me about your experience with automation frameworks.
Ans. 

An automation framework is a set of guidelines, rules, and tools that help in creating and executing automated tests.

  • Automation frameworks provide structure and organization to automated tests

  • They help in reducing maintenance efforts by promoting reusability of code

  • Frameworks can be data-driven, keyword-driven, or hybrid in nature

  • Examples of popular automation frameworks include Selenium, TestNG, and Cucumber

Cognizant Senior Automation Test Engineer Interview Experiences

3 interviews found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
-

I applied via Walk-in and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(8 Questions)

  • Q1. Can you introduce yourself?
  • Ans. 

    I am a Senior Automation Test Engineer with 5+ years of experience in designing and implementing automated testing frameworks.

    • 5+ years of experience in automation testing

    • Proficient in designing and implementing automated testing frameworks

    • Strong knowledge of testing tools like Selenium, Appium, and JUnit

    • Experience in creating test scripts and executing test cases

    • Ability to analyze test results and identify defects

  • Answered by AI
  • Q2. What is the syntax for using driver.findElement in Selenium?
  • Ans. 

    The syntax for using driver.findElement in Selenium is driver.findElement(By locator)

    • Use driver.findElement(By locator) to locate a single element on the web page

    • Specify the locator strategy (e.g. By.id, By.name, By.xpath) to identify the element

    • Example: WebElement element = driver.findElement(By.id("username"));

  • Answered by AI
  • Q3. What are the different types of assertions, and what is the syntax for a hard assertion in TestNG?
  • Ans. 

    Different types of assertions and syntax for hard assertion in TestNG

    • Types of assertions: Hard assertions and Soft assertions

    • Syntax for hard assertion in TestNG: Assert.assertEquals(expected, actual)

  • Answered by AI
  • Q4. What types of wait mechanisms are utilized in your project?
  • Ans. 

    Types of wait mechanisms include implicit wait, explicit wait, fluent wait, and thread.sleep.

    • Implicit wait: Waits for a certain amount of time before throwing a NoSuchElementException.

    • Explicit wait: Waits for a certain condition to occur before proceeding further.

    • Fluent wait: Waits for a condition to be true with a specified polling frequency.

    • Thread.sleep: Pauses the execution for a specified amount of time.

  • Answered by AI
  • Q5. How do you manage frames in Selenium?
  • Ans. 

    Frames in Selenium can be managed using switchTo() method to navigate between frames.

    • Use driver.switchTo().frame() method to switch to a frame by index, name or WebElement

    • Use driver.switchTo().defaultContent() method to switch back to the main content

    • Use driver.switchTo().parentFrame() method to switch to the parent frame

  • Answered by AI
  • Q6. How do you remove duplicates from an array?
  • Ans. 

    Use a Set data structure to remove duplicates from an array of strings.

    • Create a Set from the array to automatically remove duplicates

    • Convert the Set back to an array to get the unique values

  • Answered by AI
  • Q7. What is the difference between List, Set, and Map collections in Java?
  • Ans. 

    List, Set, and Map are different types of collections in Java used to store and manipulate groups of objects.

    • List is an ordered collection that allows duplicate elements. Example: ArrayList, LinkedList

    • Set is a collection that does not allow duplicate elements. Example: HashSet, TreeSet

    • Map is a collection of key-value pairs where each key is unique. Example: HashMap, TreeMap

  • Answered by AI
  • Q8. What actions would you take if there is a mismatch between user stories and application functionality?
  • Ans. 

    I would analyze the user stories and application functionality to identify the root cause of the mismatch and work towards resolving it.

    • Review the user stories and application functionality to understand the discrepancies

    • Communicate with stakeholders to clarify requirements and expectations

    • Update test cases and automation scripts to align with the corrected user stories

    • Collaborate with developers to address any underly...

  • Answered by AI
Round 2 - Technical 

(4 Questions)

  • Q1. What is your relevant experience, and what are your roles and responsibilities in your current company?
  • Ans. 

    I have over 5 years of experience in automation testing, with a focus on creating and executing test scripts for web applications.

    • Developing automation test scripts using tools like Selenium and TestNG

    • Creating test plans and test cases based on requirements

    • Executing test cases and reporting defects

    • Collaborating with developers and QA team to ensure quality of the product

    • Participating in Agile ceremonies such as sprint ...

  • Answered by AI
  • Q2. Can you provide a specific scenario from your previous project, and detail the feature file step definitions while demonstrating how to run the scenario with different sets of data?
  • Ans. 

    Demonstrating feature file step definitions with different sets of data in a previous project scenario

    • Create a feature file with a scenario outline that includes placeholders for different sets of data

    • Write step definitions that use the placeholders to run the scenario with different data sets

    • Use data tables or examples in the feature file to provide the different sets of data

    • Run the scenario with different data sets t...

  • Answered by AI
  • Q3. What approach can be used to count the number of URLs in an HTML page using Selenium and open the URL that contains your name?
  • Ans. 

    To count URLs in an HTML page using Selenium and open the URL containing your name, you can use a combination of Selenium WebDriver methods and regular expressions.

    • Use Selenium WebDriver to navigate to the HTML page and retrieve its source code

    • Use regular expressions to identify and count the URLs in the source code

    • Iterate through the list of URLs to find the one containing your name

    • Use Selenium WebDriver to open the U...

  • Answered by AI
  • Q4. How can you separate letters and digits from a string in Java? Please provide the Java code for this task.
  • Ans. 

    Use regular expressions to separate letters and digits from a string in Java.

    • Use the String class's split() method with a regular expression to separate letters and digits.

    • Create a regular expression pattern that matches either letters or digits.

    • Store the separated letters and digits in separate arrays.

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Automation Test Engineer interview:
  • Java oops
  • Selenium
  • Cucumber
Interview preparation tips for other job seekers - Review fundamental concepts, practice coding daily, and utilize free websites for practice. Be well-versed in the roles and responsibilities of your current or previous projects, and answer confidently.
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
Selected Selected
Round 1 - Technical 

(1 Question)

  • Q1. Tell about automation framework
  • Ans. 

    An automation framework is a set of guidelines, rules, and tools that help in creating and executing automated tests.

    • Automation frameworks provide structure and organization to automated tests

    • They help in reducing maintenance efforts by promoting reusability of code

    • Frameworks can be data-driven, keyword-driven, or hybrid in nature

    • Examples of popular automation frameworks include Selenium, TestNG, and Cucumber

  • Answered by AI
Round 2 - HR 

(1 Question)

  • Q1. Reason for job change
  • Ans. 

    Seeking new challenges and growth opportunities in a more advanced role.

    • Desire to work on more complex projects

    • Opportunity for career advancement

    • Seeking a higher salary or better benefits

    • Company restructuring or downsizing

    • Relocation to a new area

  • Answered by AI
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Explain your current testing framework
Method Overloading and Overriding.
find duplicate value from string
only 30mins interview

Round 2 - Technical 

(1 Question)

  • Q1. Manual testing question abstract class and interface difference

Interview questions from similar companies

I applied via Recruitment Consultant and was interviewed in Jan 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. I attended interview on TOSCA Automation tool. Interviewer was very cool.. He asked basic questions about tosca tool usage but questions are some what tricky.. If we prepare like some interview questions f...

Interview Preparation Tips

Interview preparation tips for other job seekers - On any tool ur attending interview meanz you shoudl be having some handson usage otherwise it js very difficult to crack the interview

What people are saying about Cognizant

View All
a junior software engineer
6d
Job offer in Malaysia - legit or scam?
Hey everyone, I received a job proposal from Mindgraph for a Junior Mainframe Developer position in Malaysia (onsite). Not sure if it's a real deal. They found my resume on Naukri and the offer includes: * Experience: 3+ years on cardlink, VSAM, CICS, JCL * Location: Malaysia (Accenture client in Kuala Lumpur) * Notice: 0-60 days * Benefits: One-way ticket, 1-week stay, medical insurance, visa. Has anyone heard of Mindgraph or had a similar experience? Note : This is a permanent position with Mindgragh and you need to work with our client Accenture - Malaysia (Kaula Lumpur) & we will provide one way Air Ticket from India - Malaysia, 1 Week Accommodation, Medical Insurance and will take care of the Visa process also. Any insights would be appreciated!
Got a question about Cognizant?
Ask anonymously on communities.

Interview Questionnaire 

1 Question

  • Q1. Core java, Selenium, Restassured
Interview experience
2
Poor
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Oct 2022. There were 3 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 - Technical 

(21 Questions)

  • Q1. What are the different types of datatypes in python?
  • Ans. 

    Python has several built-in datatypes including numeric, sequence, and mapping types.

    • Numeric types include integers, floating-point numbers, and complex numbers.

    • Sequence types include lists, tuples, and range objects.

    • Mapping types include dictionaries.

    • Other datatypes include boolean, bytes, and sets.

  • Answered by AI
  • Q2. How do you concatenate a string and integer? is it possible ?
  • Ans. 

    Yes, it is possible to concatenate a string and integer using type conversion.

    • Convert the integer to a string using str() function and then concatenate with the string.

    • Use format() method to insert the integer value into the string.

    • Use f-strings to directly insert the integer value into the string.

  • Answered by AI
  • Q3. What is xpath ? How do you find an element ? what is the difference between absolute xpath and relative xpath?
  • Ans. 

    XPath is a language used to locate elements in an XML or HTML document. Absolute and relative XPaths differ in their starting point.

    • XPath is used to navigate through elements and attributes in an XML or HTML document

    • Elements can be located using absolute or relative XPaths

    • Absolute XPaths start from the root node and are more specific but less flexible

    • Relative XPaths start from the current node and are more flexible but...

  • Answered by AI
  • Q4. What are different locators supported in selenium?
  • Ans. 

    Selenium supports various locators such as ID, Name, Class Name, Tag Name, Link Text, Partial Link Text, CSS Selector and XPath.

    • ID locator is the most efficient and reliable locator

    • Name locator is used for locating elements by their name attribute

    • Class Name locator is used for locating elements by their class attribute

    • Tag Name locator is used for locating elements by their tag name

    • Link Text locator is used for locating...

  • Answered by AI
  • Q5. What is the difference between findelement and findelements?
  • Ans. 

    findelement returns the first matching element while findelements returns a list of all matching elements.

    • findelement is used to locate the first matching element on a web page

    • findelements is used to locate all matching elements on a web page

    • findelement throws NoSuchElementException if no matching element is found

    • findelements returns an empty list if no matching element is found

  • Answered by AI
  • Q6. What are the exceptions in selenium?
  • Ans. 

    Exceptions in Selenium are errors that occur during test execution.

    • Some common exceptions in Selenium are NoSuchElementException, TimeoutException, StaleElementReferenceException, and ElementNotVisibleException.

    • NoSuchElementException occurs when an element cannot be found on the page.

    • TimeoutException occurs when a command takes too long to execute.

    • StaleElementReferenceException occurs when an element is no longer attac...

  • Answered by AI
  • Q7. How do you select a value from dropdown in selenium?
  • Ans. 

    To select a value from dropdown in Selenium, use the Select class and its methods.

    • Locate the dropdown element using any of the locators like ID, name, class name, etc.

    • Create an object of the Select class and pass the dropdown element as a parameter.

    • Use the Select class methods like selectByVisibleText(), selectByValue(), or selectByIndex() to select the desired option.

    • Finally, use the assert statement to verify if the ...

  • Answered by AI
  • Q8. How do you achieve synchronization? what are the differences between the synchronization ways?
  • Ans. 

    Synchronization is the process of coordinating the execution of multiple threads to ensure proper order of execution.

    • Synchronization can be achieved using techniques like locks, semaphores, and monitors.

    • Locks are used to ensure that only one thread can access a shared resource at a time.

    • Semaphores are used to control access to a shared resource by limiting the number of threads that can access it at once.

    • Monitors are u...

  • Answered by AI
  • Q9. What is the difference between break continue and pass?
  • Ans. 

    Break, continue and pass are control statements used in loops. Break terminates the loop, continue skips an iteration and pass does nothing.

    • Break is used to terminate a loop when a certain condition is met

    • Continue is used to skip an iteration of a loop when a certain condition is met

    • Pass is used as a placeholder when a statement is required syntactically but no action is needed

  • Answered by AI
  • Q10. What is full join ?
  • Ans. 

    Full join is a type of SQL join that returns all the rows from both tables, matching rows from both tables and nulls where there is no match.

    • Full join is also known as a full outer join.

    • It is used to combine data from two tables where some of the data may not match.

    • The result set includes all the rows from both tables, with nulls where there is no match.

    • Full join is represented by the keyword 'FULL OUTER JOIN' in SQL.

    • E...

  • Answered by AI
  • Q11. Write a Query to Find Second Highest Salary in SQL
  • Ans. 

    Query to find second highest salary in SQL

    • Use the ORDER BY clause to sort the salaries in descending order

    • Use the LIMIT clause to select the second highest salary

    • Use a subquery to exclude the highest salary from the results

  • Answered by AI
  • Q12. How to fetch 1st 5 records in sql?
  • Ans. 

    To fetch 1st 5 records in SQL, use the LIMIT clause.

    • Use the SELECT statement to specify the columns to retrieve.

    • Use the FROM clause to specify the table to retrieve data from.

    • Use the LIMIT clause to specify the number of records to retrieve.

    • The syntax is: SELECT column1, column2, ... FROM table_name LIMIT 5;

    • The first 5 records will be returned.

  • Answered by AI
  • Q13. How do you copy a table in mysql?
  • Ans. 

    To copy a table in MySQL, use the CREATE TABLE statement with the SELECT statement.

    • Use the CREATE TABLE statement with the SELECT statement to copy a table.

    • Specify the new table name after the CREATE TABLE statement.

    • Specify the original table name after the SELECT statement.

    • Add any additional conditions or clauses as needed.

    • Example: CREATE TABLE new_table SELECT * FROM original_table WHERE condition;

  • Answered by AI
  • Q14. How do you fetch unique elements from a column?
  • Ans. 

    To fetch unique elements from a column, use the DISTINCT keyword in SQL.

    • Use the SELECT statement with the DISTINCT keyword.

    • Specify the column name from which you want to fetch unique elements.

    • Example: SELECT DISTINCT column_name FROM table_name;

    • You can also use GROUP BY clause to group the unique elements based on another column.

    • Example: SELECT column_name, COUNT(*) FROM table_name GROUP BY column_name;

  • Answered by AI
  • Q15. Write an SQL query to find names of employees start with ‘A’?
  • Ans. 

    SQL query to find names of employees starting with 'A'

    • Use the SELECT statement to retrieve data from the employee table

    • Use the LIKE operator to match the names starting with 'A'

    • Use the % wildcard to match any number of characters after 'A'

  • Answered by AI
  • Q16. How do you open a file and read repeating words from a file ?
  • Ans. 

    To open a file and read repeating words, use file handling and string manipulation techniques.

    • Open the file using file handling techniques in the programming language of your choice.

    • Read the contents of the file and store it in a string variable.

    • Split the string into an array of words using a delimiter such as space or comma.

    • Loop through the array and use a dictionary or hash table to count the frequency of each word.

    • P...

  • Answered by AI
  • Q17. How do you generate random emails in python? gmail.com is constant
  • Ans. 

    Generating random emails in Python with constant domain

    • Use the random module to generate random strings for the username part of the email

    • Combine the random username with the constant domain name

    • Ensure the generated email is unique if required

  • Answered by AI
  • Q18. How do you generate random data / number in python ?
  • Ans. 

    Python provides random module to generate random data and numbers.

    • Import random module

    • Use random.randint() to generate random integer within a range

    • Use random.choice() to select a random element from a list

    • Use random.random() to generate a random float between 0 and 1

    • Use random.uniform() to generate a random float within a range

  • Answered by AI
  • Q19. What is the difference between array and a list ?
  • Ans. 

    Arrays are fixed in size, while lists can grow or shrink dynamically.

    • Arrays are a collection of elements of the same data type, while lists can contain elements of different data types.

    • Arrays are accessed using an index, while lists are accessed using an iterator.

    • Arrays are faster for accessing elements, while lists are faster for inserting or deleting elements.

    • Examples of arrays include int[] and char[], while example...

  • Answered by AI
  • Q20. How do you run a test suite using robotframework command line ?
  • Ans. 

    To run a test suite using robotframework command line, use the 'robot' command followed by the path to the test suite file.

    • Open the command prompt or terminal

    • Navigate to the directory containing the test suite file

    • Enter the command 'robot' followed by the name of the test suite file

    • Add any additional options or arguments as needed

    • Press enter to execute the command

    • Example: robot my_test_suite.robot

    • Example with options: ...

  • Answered by AI
  • Q21. If some data is not found on the page, do page refresh and how do you validate a data after page refresh in selenium?
  • Ans. 

    To validate data after page refresh in Selenium, we can refresh the page and then use explicit wait to validate the data.

    • Refresh the page using driver.navigate().refresh() method

    • Use explicit wait to wait for the element to be visible on the page

    • Validate the data using getText() or getAttribute() method

    • Example: driver.navigate().refresh(); WebDriverWait wait = new WebDriverWait(driver, 10); wait.until(ExpectedConditions...

  • Answered by AI
Round 3 - HR 

(3 Questions)

  • Q1. What are your roles and responsibilities?
  • Ans. 

    As a Senior Automation Test Engineer, my roles and responsibilities include designing and implementing automated test scripts, identifying and reporting software defects, and collaborating with cross-functional teams to ensure high-quality software delivery.

    • Designing and implementing automated test scripts using tools like Selenium, Appium, or JUnit

    • Identifying and reporting software defects and working closely with dev...

  • Answered by AI
  • Q2. What is your current and expected CTC ?
  • Ans. 

    I prefer not to disclose my current CTC. As for my expected CTC, I am looking for a competitive salary based on my experience and skills.

    • I am open to negotiation based on the job responsibilities and company's budget

    • I have researched the market rates for similar positions and have a realistic expectation

    • I am looking for a salary that reflects my experience and skills

    • I am also interested in other benefits such as health...

  • Answered by AI
  • Q3. Are you willing to relocate to Hyderabad ?
  • Ans. 

    Yes, I am willing to relocate to Hyderabad.

    • I am open to new opportunities and experiences in different locations.

    • I have researched about Hyderabad and I am excited about the city's culture and opportunities.

    • I am ready to adapt to a new environment and build a life in Hyderabad.

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Capgemini Senior Automation Test Engineer interview:
  • Python
  • Selenium
  • MySQL
  • Linux
Interview preparation tips for other job seekers - Prepare Basics.
Techincal went on friday, HR called immediately on Monday. She took HR round and told I was selected but I dint hear back from the company. I've sent multiple emails and messages but no response.

Skills evaluated in this interview

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

Are these interview questions helpful?

I applied via Recruitment Consultant and was interviewed in Jul 2021. There were 3 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Java OOPS concepts Selenium questions
  • Q2. Difference between abstract class and Interface
  • Ans. 

    Abstract class is a class that cannot be instantiated and can have both abstract and non-abstract methods. Interface is a collection of abstract methods and constants.

    • Abstract class can have constructors while interface cannot

    • A class can implement multiple interfaces but can only inherit from one abstract class

    • Abstract class can have instance variables while interface cannot

    • Abstract class is used for code reusability w...

  • Answered by AI
  • Q3. How do you handel windows,frames in selenium
  • Ans. 

    Windows and frames can be handled in Selenium using switchTo() method.

    • Use driver.switchTo().window() to switch between windows.

    • Use driver.switchTo().frame() to switch between frames.

    • To switch back to the default content, use driver.switchTo().defaultContent().

  • Answered by AI
  • Q4. Exceptions in selenium
  • Ans. 

    Exceptions in Selenium are errors that occur during test execution.

    • Selenium throws exceptions when it encounters errors during test execution

    • Common exceptions include NoSuchElementException, TimeoutException, and StaleElementReferenceException

    • Handling exceptions is important for creating stable and reliable test scripts

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare on basics of java & selenium

Skills evaluated in this interview

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

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

Round 1 - Technical 

(1 Question)

  • Q1. Basic java,api,framework,pom level questions

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

Interview Questionnaire 

1 Question

  • Q1. Basic selenium questions like wait types,handling dropdown,assert&verify difference, limitations of selenium,what framework have been used,xpath types

Interview Preparation Tips

Interview preparation tips for other job seekers - Stay calm& present confidently what you know

Cognizant Interview FAQs

How many rounds are there in Cognizant Senior Automation Test Engineer interview?
Cognizant interview process usually has 2 rounds. The most common rounds in the Cognizant interview process are Technical, Coding Test and HR.
How to prepare for Cognizant Senior Automation Test 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 Java, Maven, SQL and Selenium Testing.
What are the top questions asked in Cognizant Senior Automation Test Engineer interview?

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

  1. What actions would you take if there is a mismatch between user stories and app...read more
  2. What approach can be used to count the number of URLs in an HTML page using Sel...read more
  3. How can you separate letters and digits from a string in Java? Please provide t...read more

Tell us how to improve this page.

Overall Interview Experience Rating

3.7/5

based on 3 interview experiences

Difficulty level

Moderate 100%

Duration

2-4 weeks 100%
View more
Cognizant Senior Automation Test Engineer Salary
based on 122 salaries
₹5.8 L/yr - ₹22.1 L/yr
8% less than the average Senior Automation Test Engineer Salary in India
View more details

Cognizant Senior Automation Test Engineer Reviews and Ratings

based on 7 reviews

3.9/5

Rating in categories

3.2

Skill development

3.7

Work-life balance

3.3

Salary

3.3

Job security

3.0

Company culture

2.5

Promotions

3.0

Work satisfaction

Explore 7 Reviews and Ratings
Associate
73.1k salaries
unlock blur

₹5.1 L/yr - ₹14.4 L/yr

Programmer Analyst
56.1k salaries
unlock blur

₹2 L/yr - ₹9.2 L/yr

Senior Associate
54.7k salaries
unlock blur

₹8.4 L/yr - ₹28.6 L/yr

Senior Processing Executive
29.7k salaries
unlock blur

₹1.4 L/yr - ₹9 L/yr

Technical Lead
18k salaries
unlock blur

₹6 L/yr - ₹25.5 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.6
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

3.8
Compare
write
Share an Interview