Filter interviews by
A framework is a set of guidelines and standards for creating and maintaining automation scripts. Day to day tasks include script creation, execution, and maintenance.
Designing and implementing automation scripts
Executing automated tests and analyzing results
Maintaining and updating existing scripts
Collaborating with developers and other team members
Reporting and tracking defects
Continuous improvement of the automation
Top trending discussions
I was interviewed in May 2024.
Gherkin words are keywords used in Gherkin syntax for writing test scenarios in Behavior Driven Development (BDD).
Feature
Scenario
Given
When
Then
And
But
Plugins are used to extend the functionality of a software application.
Plugins are additional software components that can be added to an existing application to provide new features or functionalities.
They can be used to customize the behavior of the application without modifying its core code.
Examples of plugins include browser extensions, WordPress plugins, and Adobe Photoshop filters.
To run a runner class, you can use a test runner tool like JUnit or TestNG in your automation testing framework.
Use a test runner tool like JUnit or TestNG to execute the runner class
Add the @RunWith annotation in JUnit or specify the runner class in TestNG XML file
Make sure the runner class includes the necessary setup and teardown methods for test execution
TestNG allows running tests in parallel mode using groups and priorities.
Use 'parallel' attribute in testng.xml file to specify parallel mode (e.g.
Use 'groups' attribute in testng.xml file to group tests that should run in parallel (e.g.
Use 'priority' attribute in testng.xml file to specify the order in which tests should run (e.g.
Merge Sort is a divide and conquer algorithm that divides the input array into two halves, sorts them, and then merges them back together.
Divide the array into two halves recursively
Sort each half using Merge Sort recursively
Merge the sorted halves back together
Program to reverse a string using array of characters
Create an array of characters from the input string
Iterate through the array in reverse order and append each character to a new string
Return the reversed string
Data driven testing syntax using XSSF Workbook
Create XSSFWorkbook object
Get the sheet from the workbook
Iterate through rows and columns to fetch test data
Use test data in your test cases
Different exceptions in Selenium include NoSuchElementException, ElementNotVisibleException, StaleElementReferenceException, TimeoutException, and WebDriverException.
NoSuchElementException: Thrown when an element could not be found in the DOM.
ElementNotVisibleException: Thrown when an element is present in the DOM but not visible.
StaleElementReferenceException: Thrown when the element is no longer attached to the DOM.
T...
A prime number is a number greater than 1 that has no positive divisors other than 1 and itself.
Start by checking if the number is less than 2, if so it is not a prime number
Loop through numbers from 2 to the square root of the number and check if the number is divisible by any of them
If the number is not divisible by any number in the loop, then it is a prime number
I applied via Recruitment Consulltant and was interviewed in Apr 2024. There was 1 interview round.
Multiple inheritance is used in automation frameworks to inherit properties and methods from multiple parent classes.
Multiple inheritance allows a class to inherit from more than one parent class.
It helps in reusing code and promoting code organization.
Example: A test case class can inherit from a base test class and a utility class to access test methods and utility functions.
RemoteWebDriver is a class in Selenium WebDriver that allows you to execute test cases on a remote machine.
RemoteWebDriver is a subclass of WebDriver interface in Selenium.
It allows you to control the browser on a remote machine through the use of a server.
You can use RemoteWebDriver to run tests on different browsers and operating systems.
Example: RemoteWebDriver driver = new RemoteWebDriver(new URL("http://localhost:
I was interviewed in Jan 2024.
I was interviewed in Oct 2022.
Arraylist vs linked list, interface vs abstract, locators
ArrayList and LinkedList are both used to store collections of data, but ArrayList is faster for accessing elements while LinkedList is faster for adding or removing elements.
Interfaces are used to define a contract for a class to implement, while abstract classes can provide some implementation and cannot be instantiated.
Locators are used in test automation to i...
I applied via Campus Placement and was interviewed before Jul 2023. There were 3 interview rounds.
Dont remember i dint remember the questions
Dont remember i dont remember the coding details
Yes, I am open to relocating for the right opportunity.
I am willing to relocate for the right job opportunity that aligns with my career goals.
I am open to exploring new cities and cultures through relocation.
I understand the importance of being flexible and adaptable in the job market.
I am excited about the prospect of starting fresh in a new location.
Selenium architecture consists of four main components: Selenium Client Library, WebDriver API, Browser Drivers, and Browsers.
Selenium Client Library provides bindings for various programming languages to interact with WebDriver.
WebDriver API is used to interact with different browsers like Chrome, Firefox, etc.
Browser Drivers act as a bridge between WebDriver and the actual browser.
Browsers are the actual web browsers
Code snippet to open a link using WebDriver
Instantiate a WebDriver object
Use the get() method to open the desired URL
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
The framework used in the project is a combination of data-driven and keyword-driven frameworks.
The framework allows for easy maintenance and scalability of test cases.
It separates test data from test scripts, making it easier to update test data without changing the scripts.
Reusable functions and libraries are used to reduce redundancy in test scripts.
Test cases are written in a modular fashion, allowing for easy debu...
Background keyword in BDD is used to define common steps that are executed before each scenario in a feature file.
Background keyword is used to reduce duplication of common steps in scenarios.
It is placed at the beginning of a feature file before scenarios.
All steps defined under Background keyword are executed before each scenario in the feature file.
It helps in maintaining consistency and readability of feature files...
Hooks in BDD are special methods that allow for setup and teardown actions before and after scenarios in test automation.
Hooks are used to perform actions before and after scenarios in BDD tests.
They can be used for setup (Before) and teardown (After) actions.
Hooks help in reducing code duplication and improving test maintenance.
Examples include setting up test data before a scenario and cleaning up resources after a s
Java program to reverse a string
Create a char array from the input string
Use two pointers to swap characters from start and end of the array
Convert the char array back to a string and return
Desired Capabilities are a set of key-value pairs used to configure the WebDriver browser during test automation.
Used to set properties for WebDriver browser
Can be used to configure browser settings like browser name, version, platform, etc.
Helps in customizing the behavior of the browser during automation tests
Software Automation Engineer
8
salaries
| ₹5 L/yr - ₹12 L/yr |
Software Engineer
7
salaries
| ₹4.8 L/yr - ₹12.6 L/yr |
Software Engineer Level 1
5
salaries
| ₹4.5 L/yr - ₹6 L/yr |
Automation Test Engineer
5
salaries
| ₹4.2 L/yr - ₹7 L/yr |
Associate Software Engineer
5
salaries
| ₹4.5 L/yr - ₹5 L/yr |
Infosys
TCS
Wipro
HCLTech