Filter interviews by
I applied via Company Website
Top trending discussions
posted on 17 Oct 2024
I applied via Campus Placement
Aptitude test (Verbal ,Quants,Logic)
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Absolute Xpath starts from the root element, while relative Xpath starts from any node in the DOM structure.
Absolute Xpath starts with a single forward slash (/) and starts selection from the root node.
Relative Xpath starts with a double forward slash (//) and starts selection from the current node or any node in the DOM structure.
Absolute Xpath is more brittle and prone to breaking if the structure of the page changes...
The return would be the number of tabs open in the browser.
The return value would be an integer representing the count of open tabs.
For example, if there are 5 tabs open, the return value would be 5.
Types of waits in Selenium include Implicit Wait, Explicit Wait, and Fluent Wait.
Implicit Wait: Waits for a certain amount of time before throwing a NoSuchElementException.
Explicit Wait: Waits for a certain condition to occur before proceeding further in the code.
Fluent Wait: Waits for a condition to be true with a defined polling frequency.
Example: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
Exceptions in Selenium are errors that occur during test execution, disrupting the flow of the test script.
Exceptions are thrown when there is an unexpected behavior in the application under test or in the test script itself.
Common exceptions in Selenium include NoSuchElementException, ElementNotVisibleException, TimeoutException, and StaleElementReferenceException.
Handling exceptions in Selenium can be done using try-...
Feature files contain high-level description of the functionality to be tested, while step definitions are the implementation of the steps in the feature file using code.
Feature files are written in Gherkin syntax and describe the behavior of the application in plain text.
Step definitions are written in programming languages like Java, Ruby, etc., and map the steps in the feature file to automation code.
Feature files a...
Data can be input in Cucumber using feature files and step definitions.
Data can be input in feature files using scenarios and scenario outlines
Step definitions can be used to define the actions to be taken with the input data
Data tables can be used in feature files to input structured data
Examples keyword can be used in scenario outlines to provide multiple sets of input data
Test case is a set of conditions or variables under which a tester will determine whether a system under test satisfies requirements. Test plan is a document outlining the scope, approach, resources, and schedule of testing activities. Test scenarios are detailed descriptions of possible interactions with the system.
Test case: specific conditions to be tested, expected results, steps to execute
Test plan: overall strate...
Hooks in Java are methods that allow subclasses to override or extend the behavior of a superclass.
Hooks are commonly used in frameworks like JUnit and TestNG for test automation.
They are often used for setup and teardown operations before and after test methods.
Examples include @Before, @After, @BeforeClass, and @AfterClass annotations in JUnit.
I was interviewed in Dec 2024.
Currently working on developing automated test scripts for a web application
Creating test cases using Selenium WebDriver
Implementing test automation frameworks like TestNG
Performing regression testing on new features
Collaborating with developers to identify and fix bugs
Code for sorting an array of strings
Use built-in sort function in programming language (e.g. sort() in Python)
Specify the comparison function to sort strings alphabetically
Handle uppercase and lowercase letters properly
Example: ['apple', 'banana', 'cherry'] should be sorted as ['apple', 'banana', 'cherry']
Creating Xpath for locating elements in web pages
Use unique attributes like id, class, name to create Xpath
Avoid using indexes in Xpath as they can be brittle
Use functions like contains(), starts-with() for dynamic attributes
Consider using axes like ancestor, following-sibling for complex Xpath
GlobalLogic offers a diverse range of projects, cutting-edge technologies, and a collaborative work environment.
GlobalLogic provides opportunities to work on a variety of projects, allowing for professional growth and skill development.
The company is known for its use of cutting-edge technologies, providing exposure to the latest tools and trends in the industry.
GlobalLogic fosters a collaborative work environment, enc...
I applied via Referral and was interviewed in Dec 2024. There was 1 interview round.
Automate sauce demo login functionality using code
Use Selenium WebDriver to automate the login process
Identify the username and password fields using locators
Enter valid credentials and click on the login button
Verify successful login by checking for the presence of a welcome message
Automate getting product prices by their names
Create a function that takes in an array of product names as input
Use a web scraping tool like Selenium to extract prices from a website
Map the product names to their corresponding prices and return the result
posted on 19 Nov 2024
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
I applied via Approached by Company and was interviewed in Nov 2024. There was 1 interview round.
Split alpha-numeric values in Java without using split method
Iterate through each character in the input string
Check if the character is a digit or a letter using Character.isDigit() and Character.isLetter() methods
Create separate strings for digits and letters and store them in an array
Use ALTER TABLE statement to add a new column with a default value and set it to NOT NULL
Use ALTER TABLE table_name ADD column_name data_type DEFAULT default_value NOT NULL;
Example: ALTER TABLE employees ADD hire_date DATE DEFAULT '2022-01-01' NOT NULL;
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.,
20 aptitude questions and 50 technical questions
Automation framework is a set of guidelines, rules, and tools that help in creating and executing automated tests.
Automation framework provides structure and guidelines for creating automated tests
It helps in organizing test scripts, data, and results
Frameworks can be data-driven, keyword-driven, or hybrid
Examples of automation frameworks include Selenium WebDriver, TestNG, and Robot Framework
Sorting array of strings in Java without using built-in functions
Create a custom sorting algorithm like bubble sort, selection sort, or insertion sort
Compare each pair of strings and swap them if necessary to sort in ascending order
Repeat the process until the array is fully sorted
TestNG annotations are used to control the flow of test methods and provide additional information about the test methods.
TestNG annotations are used to mark methods as test methods, setup methods, teardown methods, etc.
Annotations like @Test, @BeforeMethod, @AfterMethod, @BeforeClass, @AfterClass, @BeforeSuite, @AfterSuite are commonly used in TestNG framework.
Annotations help in organizing and prioritizing test metho...
TestNG listener is an interface that allows users to customize the test execution process.
TestNG listeners can be used to perform actions before or after a test method is run.
Listeners can be used to generate logs, take screenshots, or perform other custom actions during test execution.
Examples of TestNG listeners include ITestListener, ISuiteListener, and IInvokedMethodListener.
Overriding is a concept in object-oriented programming where a subclass provides a specific implementation of a method that is already provided by its superclass.
Overriding allows a subclass to provide a specific implementation of a method that is already provided by its superclass
It is used in automation frameworks to customize or extend the functionality of existing methods or classes
In automation testing, overriding...
BDD hooks and tags are used in Behavior-Driven Development to set up preconditions and execute actions before or after scenarios, and to categorize and filter scenarios.
BDD hooks are used to set up preconditions and execute actions before or after scenarios
Tags are used to categorize and filter scenarios based on certain criteria
Hooks can be used to perform setup and teardown actions, such as initializing test data or ...
BDD background keyword is used to define common preconditions for all scenarios in a feature file.
Used at the beginning of a feature file to define common preconditions
Helps in setting up the initial state for all scenarios in the feature file
Reduces duplication of steps in scenarios by defining them once in the background
CI/CD pipeline using Jenkins automates the process of integrating code changes and deploying them to production.
Jenkins is a popular automation server used for CI/CD
CI/CD stands for Continuous Integration/Continuous Deployment
In a CI/CD pipeline, code changes are automatically built, tested, and deployed
Jenkins pipelines can be defined using a Jenkinsfile which specifies the stages and steps of the pipeline
Example: Che...
Rest Assured is a Java library for testing RESTful APIs. It simplifies API testing by providing a fluent interface to make HTTP requests and validate responses.
Rest Assured is commonly used in API automation testing to validate the functionality of RESTful APIs.
It allows testers to easily make HTTP requests, set headers, parameters, and body, and validate the response.
Here is an example code snippet for posting data an...
Junior Developer
12
salaries
| ₹2 L/yr - ₹9.2 L/yr |
Team Lead
9
salaries
| ₹4.8 L/yr - ₹10.5 L/yr |
Senior Software Engineer
9
salaries
| ₹7.2 L/yr - ₹9.8 L/yr |
Senior Quality Analyst
9
salaries
| ₹3.5 L/yr - ₹5.8 L/yr |
QA Engineer
9
salaries
| ₹2 L/yr - ₹5 L/yr |
TCS
Infosys
Wipro
HCLTech