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 Selenium Automation Tester Interview Questions, Process, and Tips

Updated 16 Jan 2025

Top Cognizant Selenium Automation Tester Interview Questions and Answers

View all 9 questions

Cognizant Selenium Automation Tester Interview Experiences

4 interviews found

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

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

Round 1 - Technical 

(2 Questions)

  • Q1. 5 error codes of sql
  • Q2. 5 maven commands
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

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

Round 1 - Technical 

(2 Questions)

  • Q1. All about selenium and java
  • Q2. JAVA oops concepts and selenium framework

Selenium Automation Tester Interview Questions Asked at Other Companies

asked in Cognizant
Q1. How to get the count of all text box in a web page?
Q2. Why should Selenium be selected as a testing tool for web applica ... read more
Q3. What are the different parts of a test automation framework?
Q4. What are some of the best practices in test automation?
Q5. How can you run a selected test from a group of tests in Cucumber ... read more
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Syntax of Explicit wait
  • Ans. 

    Explicit wait is a mechanism in Selenium that allows the automation tester to wait for a certain condition to occur before proceeding further.

    • Syntax: WebDriverWait wait = new WebDriverWait(driver, timeoutInSeconds);

    • wait.until(ExpectedConditions.condition);

    • Example: WebDriverWait wait = new WebDriverWait(driver, 10);

    • wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("elementId")));

  • Answered by AI

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in Jul 2021. There were 3 interview rounds.

Interview Questionnaire 

7 Questions

  • Q1. Difference between red only and constants?
  • Ans. 

    Red only is a type of constant used in Selenium to locate web elements based on their color.

    • Red only is used to locate elements that have a specific color, such as a red button.

    • Constants are variables that hold a fixed value and are used in Selenium to make code more readable and maintainable.

    • Red only is a type of constant that holds the value 'red' and is used in conjunction with other locators, such as ID or class na

  • Answered by AI
  • Q2. Explain interface
  • Ans. 

    An interface is a contract between two entities that defines the communication between them.

    • An interface defines a set of methods that a class must implement.

    • It provides a way to achieve abstraction and loose coupling.

    • Interfaces can be used to achieve multiple inheritance in Java.

    • Example: Java's Comparable interface defines a method to compare objects.

    • Example: Selenium WebDriver interface defines methods to interact wi

  • Answered by AI
  • Q3. How to get the count of all text box in a web page?
  • Ans. 

    Use Selenium WebDriver to find and count all text boxes on a web page.

    • Use Selenium WebDriver to locate all text boxes on the web page

    • Use findElements method with input tag and type attribute as text to find all text boxes

    • Get the size of the list of elements to get the count of text boxes

  • Answered by AI
  • Q4. Explain implicit and explicit wait?
  • Ans. 

    Implicit wait is a global wait applied to all elements, while explicit wait is a specific wait applied to a particular element or condition.

    • Implicit wait is set once and applied to all elements in the script

    • Explicit wait is set for a specific element or condition

    • Implicit wait is defined at the driver level

    • Explicit wait is defined at the element level

    • Implicit wait is used to wait for elements to appear on the page

    • Explic...

  • Answered by AI
  • Q5. Explain collections, Framework used?
  • Ans. 

    Collections are used to store and manipulate groups of objects. Frameworks used in Selenium automation testing include TestNG, JUnit, and Cucumber.

    • Collections are used to store and manipulate groups of objects

    • Frameworks used in Selenium automation testing include TestNG, JUnit, and Cucumber

  • Answered by AI
  • Q6. How to reduce execution time in selenium?
  • Ans. 

    To reduce execution time in Selenium, optimize test scripts, use efficient locators, and run tests in parallel.

    • Optimize test scripts by removing unnecessary steps and reducing wait times

    • Use efficient locators such as CSS selectors instead of XPath

    • Run tests in parallel using tools like Selenium Grid or TestNG

    • Use headless browsers like PhantomJS to speed up tests

    • Use page object model to reduce code duplication and improv

  • Answered by AI
  • Q7. How to upload resume using Selenium
  • Ans. 

    To upload resume using Selenium, use sendKeys() method to locate the file input element and pass the file path.

    • Locate the file input element using any of the locators like id, name, class, etc.

    • Use sendKeys() method to pass the file path to the file input element.

    • Click on the submit button to upload the file.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - It was good. Asked basic questions on java and selenium.

Skills evaluated in this interview

Cognizant interview questions for designations

 Automation Tester

 (6)

 Quality Assurance and Automation Tester

 (1)

 Software Tester

 (15)

 ETL Tester

 (8)

 QA Tester

 (6)

 Performance Tester

 (2)

 Associate Tester

 (1)

 Functional Tester

 (1)

Selenium Automation Tester Jobs at Cognizant

View all

Interview questions from similar companies

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

(2 Questions)

  • Q1. Explain your automation framework
  • Q2. Different types of waits
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. FindElement vs findElements
  • Ans. 

    findElement is used to locate a single element on a web page, while findElements is used to locate multiple elements.

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

    • findElement throws NoSuchElementException if no element is found, while findElements returns an empty list.

    • findElement is used when you expect only one element to be present, while findE...

  • Answered by AI
  • Q2. Largest number in array, Java program
  • Ans. 

    Java program to find the largest number in an array of strings

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

    • Initialize a variable to store the largest number and compare each element to update it

    • Return the largest number found in the array

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. OOPS concepts, Testng
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Asked some questions on selenium, sql query and java programming

Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Nov 2023. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. 1)Diff between continue and break ? 2)what is maven3)write code for extent report
  • Ans. 

    1) continue - skips the current iteration and continues with the next iteration in a loop. break - exits the loop immediately. 2) Maven is a build automation tool used primarily for Java projects. 3) Extent Report is a reporting library for Selenium test automation.

    • continue statement is used to skip the current iteration and continue with the next iteration in a loop

    • break statement is used to exit the loop immediately

    • M...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for HCLTech Selenium Automation Tester interview:
  • Selenium
  • Core Java

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. 1. Find the second non repetitive character
  • Ans. 

    The second non-repetitive character is to be found in a given array of strings.

    • Iterate through each character in the strings and count their occurrences

    • Identify the characters that occur only once

    • Return the second non-repetitive character

  • Answered by AI

Skills evaluated in this interview

Cognizant Interview FAQs

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

Some of the top questions asked at the Cognizant Selenium Automation Tester interview -

  1. How to get the count of all text box in a web pa...read more
  2. How to reduce execution time in seleni...read more
  3. How to upload resume using Selen...read more

Tell us how to improve this page.

Cognizant Selenium Automation Tester Interview Process

based on 3 interviews

1 Interview rounds

  • Technical Round
View more
Cognizant Selenium Automation Tester Salary
based on 21 salaries
₹2.5 L/yr - ₹10.5 L/yr
9% more than the average Selenium Automation Tester Salary in India
View more details

Cognizant Selenium Automation Tester Reviews and Ratings

based on 5 reviews

4.4/5

Rating in categories

3.5

Skill development

3.3

Work-life balance

3.3

Salary

4.1

Job security

4.0

Company culture

2.5

Promotions

3.0

Work satisfaction

Explore 5 Reviews and Ratings
Automation Selenium Tester (Java Development)

Chennai,

Bangalore / Bengaluru

5-10 Yrs

Not Disclosed

Explore more jobs
Associate
72.2k salaries
unlock blur

₹5.1 L/yr - ₹15.9 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.6 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