i
Cognizant
Filter interviews by
5 common SQL error codes and their meanings
Error code 1062: Duplicate entry - occurs when trying to insert a record with a primary key that already exists
Error code 1146: Table not found - occurs when trying to query a table that does not exist
Error code 1045: Access denied - occurs when trying to access a database without proper permissions
Error code 1054: Unknown column - occurs when referencing a column that do...
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")));
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.
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 cla...
What people are saying about Cognizant
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
E...
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
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 intera...
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 i...
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
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
5 common SQL error codes and their meanings
Error code 1062: Duplicate entry - occurs when trying to insert a record with a primary key that already exists
Error code 1146: Table not found - occurs when trying to query a table that does not exist
Error code 1045: Access denied - occurs when trying to access a database without proper permissions
Error code 1054: Unknown column - occurs when referencing a column that does no...
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
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")));
I applied via Naukri.com and was interviewed in Jul 2021. There were 3 interview rounds.
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...
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...
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
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...
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
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...
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.
I applied via Naukri.com and was interviewed before Jul 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed before Apr 2020. There were 3 interview rounds.
I applied via Approached by Company and was interviewed before Dec 2021. There were 3 interview rounds.
I am a Senior Engineer with over 10 years of experience in software development, specializing in scalable systems and team leadership.
Over a decade of experience in software engineering, focusing on backend development and cloud technologies.
Led a team of 5 engineers in developing a microservices architecture for a high-traffic e-commerce platform, improving scalability by 40%.
Proficient in multiple programming languag...
I applied via Job Fair and was interviewed before May 2021. There were 2 interview rounds.
based on 3 interview experiences
Difficulty level
Duration
based on 5 reviews
Rating in categories
Associate
73.1k
salaries
| ₹5.3 L/yr - ₹12.5 L/yr |
Programmer Analyst
56.2k
salaries
| ₹3.5 L/yr - ₹7.3 L/yr |
Senior Associate
52.9k
salaries
| ₹10.5 L/yr - ₹23.4 L/yr |
Senior Processing Executive
29.8k
salaries
| ₹2.2 L/yr - ₹6.5 L/yr |
Technical Lead
19k
salaries
| ₹6 L/yr - ₹21.3 L/yr |
TCS
Infosys
Wipro
Accenture