Filter interviews by
Defect life cycle is the process of identifying, reporting, fixing, retesting, and closing software defects.
Defect identification: Defects are identified through testing or user feedback.
Defect reporting: Defects are reported in a defect tracking system with details like steps to reproduce, severity, and priority.
Defect fixing: Developers analyze and fix the reported defects.
Defect retesting: Testers verify that the fi...
Regression testing is retesting of software to ensure new code changes do not adversely affect existing functionality. Performance testing is testing to assess the speed, responsiveness, and stability of a system under a particular workload.
Regression testing ensures that new code changes do not introduce new bugs or issues in existing functionality.
Performance testing evaluates the speed, responsiveness, and stability...
An x path is a way to navigate through elements in XML or HTML documents.
Start with a forward slash (/) to indicate the root element
Use element names to navigate through the document
Use square brackets to specify conditions for selecting elements
Use @ symbol to select attributes of elements
Top trending discussions
To find x path and script for screenshot, use browser developer tools and Selenium WebDriver.
Use browser developer tools to inspect elements and find x path
Use Selenium WebDriver to capture screenshot
Example x path: //input[@id='username']
Example script for screenshot: driver.manage().window().maximize(); File screenshotFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE); FileUtils.copyFile(screenshotFile
A program to reverse a given string
Create a character array to store the reversed string
Iterate through the original string from end to start and copy each character to the new array
Terminate the new array with a null character to indicate end of string
Instance variable is a variable declared in a class, but outside of any method. Each object of the class has its own copy of the instance variable.
Instance variables are declared at the class level, outside of any method.
Each object of the class has its own copy of the instance variable.
Instance variables are used to store the state of an object.
A collection is a group of related objects or data items that are stored together.
Collections can be used to store and manipulate groups of objects or data items in programming.
Common types of collections include arrays, lists, sets, and maps.
Collections provide methods for adding, removing, and accessing elements within the group.
Example: An array of integers [1, 2, 3, 4] is a collection of numbers.
List is an interface in Java that represents an ordered collection of elements.
List is an interface in Java.util package
It extends Collection interface and is implemented by classes like ArrayList, LinkedList, etc.
List allows duplicate elements and maintains insertion order
posted on 8 Mar 2024
I applied via Walk-in and was interviewed before Mar 2023. There was 1 interview round.
1st round is aptitude test all questions are related to domain knowledge & related to testing
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...
posted on 27 Nov 2024
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
I applied via Approached by Company
Project structure refers to the organization of files, folders, and resources within a software project.
Main folders like src (source code), test (test cases), lib (libraries), docs (documentation)
Subfolders for specific modules or components
Configuration files like pom.xml, package.json, etc.
Build scripts like Jenkinsfile, Dockerfile
Version control files like .gitignore, .gitattributes
README.md file for project overvi
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...
Framework structure refers to the organization of test automation code, including folders, files, libraries, and configurations.
Framework structure typically includes folders for test scripts, test data, page objects, utilities, and configurations.
It may involve separation of concerns, such as using Page Object Model for better maintainability.
Frameworks like TestNG or JUnit provide annotations to structure test cases ...
I am a dedicated Automation Test Engineer with 5 years of experience in creating and executing test cases for software applications.
Experienced in creating automated test scripts using tools like Selenium and Appium
Proficient in identifying bugs and issues in software applications
Skilled in writing test plans and test cases to ensure comprehensive test coverage
Strong knowledge of programming languages such as Java and ...
based on 1 interview
Interview experience
Network Engineer
332
salaries
| ₹2 L/yr - ₹8 L/yr |
Senior Network Engineer
136
salaries
| ₹3.9 L/yr - ₹15.9 L/yr |
Senior Engineer
110
salaries
| ₹3.5 L/yr - ₹14 L/yr |
Technical Specialist
106
salaries
| ₹7.7 L/yr - ₹26.5 L/yr |
Assistant Manager
98
salaries
| ₹4.8 L/yr - ₹19.3 L/yr |
TCS
Wipro
Tech Mahindra
HCLTech