i
Cognizant
Filter interviews by
Java is a high-level, object-oriented programming language designed for portability and ease of use across platforms.
Developed by Sun Microsystems in 1995, now owned by Oracle.
Java is platform-independent due to the Java Virtual Machine (JVM).
It follows the principle of 'Write Once, Run Anywhere' (WORA).
Java is widely used for building enterprise-level applications, mobile apps, and web applications.
Example: Andro...
Program to reverse a string using array of characters
Create an array of characters to store the input string
Iterate through the input string and store each character in the array
Iterate through the array in reverse order to construct the reversed string
To switch to a frame in test automation, use the switchTo() method in Selenium WebDriver.
Use driver.switchTo().frame() method to switch to a frame by index, name, or WebElement.
To switch back to the default content, use driver.switchTo().defaultContent().
Make sure the frame is present and loaded before switching to it.
This Java program reverses the words in a given string while maintaining their order.
Use the split() method to break the string into words. Example: String[] words = input.split(" ");
Utilize a StringBuilder to construct the reversed words. Example: StringBuilder reversed = new StringBuilder();
Iterate through the array of words in reverse order. Example: for (int i = words.length - 1; i >= 0; i--) { ... }
Append ...
What people are saying about Cognizant
I worked on a data-driven automation framework using Selenium and TestNG.
Used Selenium WebDriver for browser automation
Utilized TestNG for test case management and execution
Implemented data-driven testing using Excel or CSV files
Integrated with Jenkins for continuous integration
Supported parallel execution for faster testing
Handled reporting using ExtentReports or Allure
Black box testing is testing without knowledge of the internal workings of the system, while white box testing is testing with knowledge of the internal workings of the system.
Black box testing focuses on testing the functionality of the system without knowledge of the internal workings of the system.
White box testing focuses on testing the internal workings of the system, including code and algorithms.
Black box t...
SDLC stands for Software Development Life Cycle, a process used to design, develop, and test software. Agile is a methodology that emphasizes flexibility and collaboration.
SDLC is a structured process that includes phases like planning, design, development, testing, deployment, and maintenance.
Agile is a methodology that focuses on iterative development, collaboration, and customer feedback.
SDLC is more traditiona...
Manual testing is done by humans, while automation testing is done by software tools.
Manual testing involves executing test cases manually without any automation tools.
Automation testing involves using software tools to execute test cases.
Manual testing is time-consuming and prone to human errors.
Automation testing is faster, more reliable, and can be repeated multiple times.
Manual testing is suitable for explorat...
Appium desired capabilities are key-value pairs used to set up the automation environment for testing mobile apps.
Desired capabilities are used to configure the Appium server session before the test starts.
They include settings like platformName, deviceName, appPackage, appActivity, etc.
Example: { platformName: 'Android', deviceName: 'emulator-5554', appPackage: 'com.example.app', appActivity: '.MainActivity' }
Software testing is the process of evaluating a software application or system to find defects and ensure it meets the specified requirements.
Testing is done to identify defects and ensure the software meets the requirements
It involves various types of testing such as functional, performance, security, etc.
Testing can be done manually or using automated tools
Test cases are designed to cover all possible scenarios ...
SDLC stands for Software Development Life Cycle, a process used to design, develop, and test software. Agile is a methodology that emphasizes flexibility and collaboration.
SDLC is a structured process that includes phases like planning, design, development, testing, deployment, and maintenance.
Agile is a methodology that focuses on iterative development, collaboration, and customer feedback.
SDLC is more traditional and...
I appeared for an interview in Feb 2025, where I was asked the following questions.
I applied via Job Portal and was interviewed in Jan 2024. There were 2 interview rounds.
I appeared for an interview in Oct 2023.
Java basics coding like string array etc
I applied via Naukri.com and was interviewed in Aug 2023. There was 1 interview round.
Appium desired capabilities are key-value pairs used to set up the automation environment for testing mobile apps.
Desired capabilities are used to configure the Appium server session before the test starts.
They include settings like platformName, deviceName, appPackage, appActivity, etc.
Example: { platformName: 'Android', deviceName: 'emulator-5554', appPackage: 'com.example.app', appActivity: '.MainActivity' }
I applied via Monster and was interviewed in May 2023. There were 3 interview rounds.
My expected salary is negotiable based on the responsibilities and benefits offered. I can join within 2 weeks.
Expected salary is negotiable based on responsibilities and benefits
Can join within 2 weeks
Open to discussing salary range during interview process
I applied via Naukri.com and was interviewed in May 2023. There were 3 interview rounds.
The duration of Cognizant Test Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 14 interview experiences
Difficulty level
Duration
based on 84 reviews
Rating in categories
Associate
71.1k
salaries
| ₹5.3 L/yr - ₹13.6 L/yr |
Programmer Analyst
56.1k
salaries
| ₹3.5 L/yr - ₹8 L/yr |
Senior Associate
55.9k
salaries
| ₹10.1 L/yr - ₹23.8 L/yr |
Senior Processing Executive
30.1k
salaries
| ₹2.5 L/yr - ₹6.5 L/yr |
Technical Lead
18.6k
salaries
| ₹6 L/yr - ₹21.5 L/yr |
TCS
Infosys
Wipro
Accenture