Filter interviews by
I applied via LinkedIn and was interviewed in Aug 2024. There was 1 interview round.
Python coding questions
Pytest assert statement questions
My framework is a data-driven framework using Selenium and TestNG for automated testing.
Data-driven framework allows for separating test scripts from test data
Uses Selenium for web automation and TestNG for test execution and reporting
Supports parallel execution for faster test runs
I applied via Job Portal and was interviewed in Nov 2024. There was 1 interview round.
Selenium framework is a test automation tool used for web applications.
Selenium framework allows for automated testing of web applications.
It supports multiple programming languages like Java, Python, C#, etc.
Selenium WebDriver is a key component for interacting with web elements.
Test scripts can be written using Selenium IDE, WebDriver, or Grid.
Selenium framework can be integrated with tools like TestNG, JUnit, etc.,
posted on 13 Mar 2023
I applied via Walk-in and was interviewed in Dec 2019. There was 1 interview round.
Types of testing include functional, performance, security, usability, and regression testing.
Functional testing ensures that the software meets the specified requirements.
Performance testing checks the system's response time and scalability.
Security testing identifies vulnerabilities and ensures data protection.
Usability testing evaluates the user-friendliness of the software.
Regression testing verifies that changes o
Smoke testing and Sanity testing are two types of software testing used to check the basic functionality of the application.
Smoke testing is a type of testing that checks whether the critical functionalities of the application are working fine or not.
Sanity testing is a type of testing that checks whether the bugs have been fixed or not after a new build is released.
Smoke testing is done to ensure that the application ...
Retesting is the process of testing a previously failed test case after the defects have been fixed.
Retesting is done to ensure that the defects have been fixed and the software is working as expected.
It is usually done after regression testing.
Retesting can be done manually or through automation.
Examples of scenarios that require retesting include fixing a bug, adding new functionality, or changing the environment.
Ret...
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 executing test cases and comparing actual results with expected results
Types of testing include functional, performance, security, and usability testing
Testing can be done manually or us...
Regression testing is the process of testing changes made to a software application to ensure that existing functionality still works.
It is performed after changes are made to the software
It ensures that existing functionality is not affected by the changes
It helps to catch any defects that may have been introduced by the changes
It can be automated to save time and effort
Examples include retesting after bug fixes, test...
I applied via LinkedIn and was interviewed in Dec 2022. There were 2 interview rounds.
Answers to common questions asked in an Automation Tester interview.
To mouse hover an element, you can use Actions class in Selenium WebDriver.
Xpath for an element can be written using various attributes like id, class, etc.
To run tests parallel in TestNG, you can use 'parallel' attribute in testng.xml file.
Automation test framework I worked in was based on Page Object Model design pattern.
Data provider in TestNG is us...
Create a POJO class for a given API request
Define a class with fields corresponding to the request parameters
Add getters and setters for each field
Implement toString method for easy debugging
I applied via Approached by Company and was interviewed in Jan 2022. There were 4 interview rounds.
Questions related to cucumber, defects found, functional and automation testing tools.
Cucumber is a BDD tool used for testing
Found defects related to UI, functionality, and performance
Functional testing involves testing the application's features and functionality
Worked on automation tools like Selenium, Appium, and TestNG
Used automation tools to create test scripts and execute them
Integrated automation scripts with CI
Types of schema include star schema, snowflake schema, and fact constellation schema.
Star schema: central fact table connected to dimension tables in a star-like structure.
Snowflake schema: normalized form of star schema with dimension tables further normalized.
Fact constellation schema: multiple fact tables share dimension tables.
I applied via Naukri.com and was interviewed in Dec 2021. There were 3 interview rounds.
Implicit and Explicit waits are used in Selenium to wait for elements to load before performing actions.
Implicit wait waits for a specified amount of time before throwing an exception if the element is not found.
Explicit wait waits for a specific condition to be met before proceeding with the next step.
Syntax for implicit wait: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
Syntax for explicit wait: We...
Screenshots can be taken in Selenium using the TakesScreenshot interface.
Create an object of the TakesScreenshot interface
Call the getScreenshotAs() method on the driver object
Save the screenshot to a desired location using the File class
To select values in dropdowns, click on the dropdown and choose the desired option.
Click on the dropdown to expand the list of options
Scroll through the list to find the desired option
Click on the desired option to select it
If the desired option is not visible, type the first few letters of the option to filter the list
XPath and CSS selectors are both used to locate elements on a web page, but they have different syntax and capabilities.
XPath uses a path expression to navigate through the HTML structure, while CSS selectors use a pattern matching approach.
XPath can select elements based on their attributes, text content, and position in the document, while CSS selectors are limited to attributes and tag names.
XPath has a wider range ...
Locators in Selenium are used to identify web elements on a web page.
Locators can be based on ID, class name, name, tag name, link text, partial link text, CSS selector, or XPath.
Using the right locator strategy is important for reliable test automation.
Examples of locators: driver.findElement(By.id("elementId")), driver.findElement(By.className("className")), driver.findElement(By.xpath("//tagName[@attribute='value']"
Abstract classes are classes that cannot be instantiated and can have both abstract and non-abstract methods. Interfaces are contracts that define a set of methods that a class must implement.
Abstract classes can have constructors while interfaces cannot
A class can implement multiple interfaces but can only inherit from one abstract class
Abstract classes can have instance variables while interfaces cannot
Interfaces can...
Page Object Model is a design pattern used in test automation to create an object repository for web UI elements.
It separates the test code from the page-specific code.
It improves code maintainability and reduces code duplication.
It allows for easy modification of UI elements without affecting the test code.
It enhances test script readability and reduces the effort required to create new test scripts.
It is widely used
Annotations in TestNG are used to provide additional information to the test methods and control the test execution flow.
Annotations are used to mark a method as a test method, configuration method, or to specify the order of execution.
TestNG provides several built-in annotations such as @Test, @BeforeSuite, @AfterSuite, @BeforeTest, @AfterTest, etc.
Annotations can also be used to group tests, enable/disable tests, and...
Test data can be passed in testNG using DataProvider annotation.
Create a method that returns a two-dimensional array of test data
Annotate the test method with @DataProvider and specify the name of the data provider method
Pass the test data as parameters to the test method
V-model is a software development model that emphasizes testing at every stage of the development process.
It is a sequential development process
Each stage has a corresponding testing stage
Testing is done at every stage to ensure quality
It is a highly structured and disciplined approach
It is often used in safety-critical industries such as aerospace and defense
Assert checks if a condition is true and stops the test if it's false. Verify checks if a condition is true and continues the test if it's false.
Assert is used to validate the expected result of a test case.
Verify is used to validate the actual result of a test case.
Assert stops the test execution if the condition is false.
Verify continues the test execution if the condition is false.
Assert is used for critical test ca
Exceptions while running scripts
Syntax errors
Runtime errors
Logical errors
Timeout errors
Memory errors
IFrames/Window handles can be handled using switchTo() method in Selenium
Use driver.switchTo().frame() method to switch to an IFrame
Use driver.switchTo().defaultContent() method to switch back to the main page
Use driver.getWindowHandles() method to get all window handles
Use driver.switchTo().window() method to switch to a new window
Value cannot be passed in a disabled text box.
Check if there is any other way to pass the value, such as through a different input field.
If not, enable the text box temporarily, pass the value, and then disable it again.
Alternatively, check if there is any JavaScript code that can be used to pass the value.
based on 1 review
Rating in categories
Senior Software Engineer
2.6k
salaries
| ₹10.9 L/yr - ₹40.2 L/yr |
Software Engineer
1.6k
salaries
| ₹6.5 L/yr - ₹28.5 L/yr |
Lead Software Engineer
801
salaries
| ₹15.6 L/yr - ₹50 L/yr |
Senior Systems Engineer
300
salaries
| ₹12 L/yr - ₹36.3 L/yr |
Software Test Automation Engineer
254
salaries
| ₹6 L/yr - ₹21.2 L/yr |
TCS
Infosys
Wipro
HCLTech