i
NTT Data
Filter interviews by
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.
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 and was interviewed in Aug 2024. There was 1 interview round.
Cucumber options are configuration settings used in Cucumber to customize test execution.
Cucumber options can be used to specify features, tags, formats, and more in the test execution
Examples include specifying tags to run specific scenarios, setting output formats for test reports, and defining feature files to run
In my project, I have used Oops concepts like Inheritance, Polymorphism, Encapsulation, and Abstraction.
Inheritance: Reusing code and creating a hierarchy of classes.
Polymorphism: Ability to present the same interface for different data types.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Abstraction: Hiding the implementation details and showing only the necessary features.
The find elements method returns a list of web elements matching a specified locator. Window handles return type is a set of strings representing unique identifiers for browser windows.
Find elements method returns a list of web elements matching a specified locator
Window handles return type is a set of strings representing unique identifiers for browser windows
I applied via LinkedIn and was interviewed in Sep 2024. There was 1 interview round.
Developed a test automation framework for a web application
Designed and implemented test cases using Selenium WebDriver
Integrated the framework with Jenkins for continuous integration
Performed regression testing and reported bugs using Jira
Action modes are different modes in which an action can be performed in a software application.
Action modes define how a specific action will be executed within the software.
Examples of action modes include edit mode, view mode, delete mode, etc.
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...
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Questions on basic java, manual testing, coding best practices, automation testing
Automate a login page using Selenium WebDriver in Java with synchronization and exception handling.
Use Selenium WebDriver to locate the username and password fields, enter valid credentials, and click the login button.
Implement explicit and implicit waits for synchronization to handle dynamic elements and page loading.
Use try-catch blocks for exception handling to capture and handle any errors during the login process.
...
Reverse a string in Java using StringBuilder's reverse method.
Create a StringBuilder object with the input string
Use the reverse() method of StringBuilder to reverse the string
Convert the reversed StringBuilder object back to a string using toString()
An interface in software development is a contract that defines the methods that a class must implement.
Interfaces in programming languages like Java, C#, and TypeScript provide a way to achieve abstraction and multiple inheritance.
Classes implementing an interface must provide concrete implementations for all the methods defined in the interface.
Interfaces allow for loose coupling between components, making code more
posted on 8 Oct 2024
VLAN stands for Virtual Local Area Network and is used to segment a network into multiple virtual networks.
VLANs help in improving network performance, security, and management.
Each VLAN is a separate broadcast domain, reducing unnecessary traffic.
VLANs are configured at the switch level by assigning ports to specific VLANs.
VLAN tagging (802.1Q) adds a VLAN identifier to Ethernet frames to distinguish between different...
Software Engineer
932
salaries
| ₹2.8 L/yr - ₹11 L/yr |
Senior Associate
762
salaries
| ₹1.2 L/yr - ₹9.3 L/yr |
Network Engineer
647
salaries
| ₹1.8 L/yr - ₹10 L/yr |
Software Developer
615
salaries
| ₹2.5 L/yr - ₹13 L/yr |
Senior Software Engineer
512
salaries
| ₹6.5 L/yr - ₹24 L/yr |
Tata Communications
Bharti Airtel
Reliance Communications
Vodafone Idea