i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Naukri.com and was interviewed before May 2022. There were 2 interview rounds.
To identify objects in Selenium, we use locators such as ID, Name, Class Name, XPath, CSS Selector, etc.
Locators are used to identify web elements on a page
ID and Name are the most commonly used locators
XPath and CSS Selector are more powerful but slower
Class Name is useful for identifying multiple elements with the same class
Locators can be used with findElement() and findElements() methods
Example: driver.findElement(
I applied via Referral and was interviewed in Aug 2021. There was 1 interview round.
Implicit and explicit are two types of waits in Selenium.
Implicit wait is set globally and applied to all elements, while explicit wait is set for a specific element or condition.
Implicit wait waits for a certain amount of time before throwing an exception if the element is not found, while explicit wait waits for a specific condition to occur before proceeding.
Implicit wait is set using the 'driver.manage().timeouts()...
API methods are functions that allow communication between different software systems.
API methods can be used to retrieve data from a server or send data to a server.
API methods can be RESTful or SOAP-based.
Examples of API methods include GET, POST, PUT, and DELETE.
API methods can be tested using tools like Postman or SoapUI.
Status code of an API is a numerical code that indicates the success or failure of a request.
Status codes range from 100 to 599
2xx codes indicate success
4xx codes indicate client errors
5xx codes indicate server errors
What people are saying about Cognizant
Cognizant interview questions for designations
I applied via Naukri.com and was interviewed in Jan 2022. There was 1 interview round.
Get interview-ready with Top Cognizant Interview Questions
TestNG is a testing framework for Java. Annotations like @Test, @BeforeMethod, @AfterMethod, etc. are used to define test cases and their order of execution.
@Test annotation is used to define a test case.
@BeforeMethod and @AfterMethod annotations are used to define pre and post conditions for each test case.
Test cases can be grouped using @Test annotation with 'groups' parameter.
Test cases can be prioritized using @Tes...
Selenium is a popular automation testing tool used for web applications. It has various methods and commands for testing.
Selenium WebDriver is used for automating web applications
findElement() method is used to locate an element on the web page
sendKeys() method is used to enter text into a text field
click() method is used to click on an element
getTitle() method is used to get the title of the web page
getText() method i...
Git is a version control system. Push code to upload changes to a remote repository. Pull code to download changes from a remote repository.
To push code, use the command 'git push
To pull code, use the command 'git pull
Make sure to commit changes before pushing code using the command 'git commit -m
Use 'git status' to check the statu...
The duration of Cognizant Automation Test Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 20 interviews
2 Interview rounds
based on 115 reviews
Rating in categories
Associate
72.3k
salaries
| ₹5.2 L/yr - ₹16 L/yr |
Programmer Analyst
55.6k
salaries
| ₹2.4 L/yr - ₹9.3 L/yr |
Senior Associate
50.3k
salaries
| ₹9 L/yr - ₹28.6 L/yr |
Senior Processing Executive
29.1k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.7k
salaries
| ₹6 L/yr - ₹25 L/yr |
TCS
Infosys
Wipro
Accenture