Filter interviews by
I applied via Walk-in and was interviewed in Aug 2024. There were 2 interview rounds.
Aptitude questions you need to prepare for
Theny will give you some code to write based on your experience
Top trending discussions
posted on 30 Jan 2025
I was interviewed in Dec 2024.
Basic quant and reasoning questions
Selenium MCQ
Java programs with MCQ
The driver is typically initialized in the setup method of a test automation framework.
Driver initialization is usually done in a setup method before test execution.
Commonly used methods for driver initialization include WebDriverManager, System.setProperty, and driver instantiation.
Example: WebDriverManager.chromedriver().setup();
Driver can be both static and non-static depending on the context of its usage.
Driver class can be static if it is used to initiate the WebDriver instance in a test automation framework.
Driver class can be non-static if it is used as an instance variable within a test class.
Static driver can be accessed directly without creating an object of the class.
Non-static driver requires an object of the class to be created befo
Static variables belong to the class itself, while non-static variables belong to instances of the class.
Static variables are shared among all instances of a class
Non-static variables are unique to each instance of a class
Static variables are initialized only once, at the start of the program
Non-static variables are initialized separately for each instance of the class
Static and non-static have their own disadvantages in QA automation testing.
Static methods cannot be overridden or inherited, making it difficult to create flexible test cases.
Non-static methods require an instance of the class to be created, which can lead to increased memory usage.
Static methods can lead to tight coupling between classes, making it harder to maintain and update the code.
Non-static methods may have de...
TestNG allows parallel execution of test cases to save time and improve efficiency.
TestNG provides the 'parallel' attribute in the testng.xml file to specify the level of parallelism for test execution.
Parallel execution can be achieved at the test level, class level, method level, or suite level.
TestNG also supports parallel execution of tests across multiple classes or suites using the 'parallel' attribute in the sui...
Parallel testing in TestNG allows running tests concurrently for faster execution.
Use 'parallel' attribute in testng.xml file to specify parallel execution mode.
Set 'parallel' attribute to 'methods', 'classes', or 'tests' based on the level of parallelism needed.
Example: <suite name='MySuite' parallel='tests'>
Use 'thread-count' attribute to specify the number of threads to use for parallel execution.
Parallel methods run multiple methods concurrently within a single test, while parallel tests run multiple tests concurrently.
Parallel methods execute multiple methods within a single test class concurrently.
Parallel tests execute multiple test classes concurrently.
Parallel methods are useful for speeding up the execution of a single test, while parallel tests are useful for running multiple tests faster.
Example: Runni...
Use Rest Assured to upload a file
Use the given file path to create a File object
Use MultiPartSpecBuilder to build the request with the file
Send the request using Rest Assured's given(), when(), and post() methods
The parameter for a POST method in Postman is typically sent in the request body.
Parameters are sent in the request body in key-value pairs
Parameters can be sent as form-data, x-www-form-urlencoded, or raw JSON
Example: {"key": "value"}
Cucumber knows the step definition file based on the annotations provided in the feature files.
Cucumber uses annotations like @Given, @When, @Then to map steps in feature files to corresponding step definition methods.
Step definition files are typically placed in a separate package or directory within the project structure.
Cucumber scans the project directory for step definition files based on the package structure and
Parameters used in cucumber are used to pass values to the step definitions in feature files.
Parameters are defined in feature files using < > syntax
Parameters can be passed to step definitions using Regular Expressions
Parameters can be used to make scenarios more reusable and dynamic
Datatable in Cucumber is used to pass multiple sets of data to a step definition in a scenario.
Datatables are defined using pipes (|) to separate values
Each row in the datatable represents a set of data passed to the step definition
Datatables can be used for parameterization and data-driven testing
Yes, I have created the test plan document at the start of the project.
Yes, I always create a test plan document at the beginning of a project to outline the testing approach and strategy.
The test plan document includes details on scope, objectives, resources, schedule, and test cases.
It helps in ensuring that all stakeholders are aligned on the testing process and expectations.
For example, in my previous project, I cr...
During the initial testing cycle of a project, focus is on establishing test cases, setting up test environments, and identifying potential issues.
Creating test cases based on requirements
Setting up test environments
Identifying potential issues and risks
Executing test cases and reporting defects
Collaborating with developers to resolve issues
Fibonacci sequence is a mathematical pattern where each number is the sum of the two preceding ones.
Fibonacci sequence is a series of numbers where each number is the sum of the two preceding ones.
The sequence starts with 1, 2, then each subsequent number is the sum of the two previous numbers (1+2=3, 2+3=5, 3+5=8, and so on).
This sequence is used in estimating because it reflects natural growth patterns found in natur
Testing matrix is a tool used to track test coverage and automation ROI is the return on investment from implementing automation testing.
Testing matrix is a visual representation of test cases, test scenarios, and their coverage across different platforms, browsers, devices, etc.
Automation ROI is the measure of the benefits gained from automation testing compared to the costs incurred in implementing and maintaining th...
posted on 16 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
I am a QA Automation Testing 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 writing test cases, executing test plans, and reporting bugs
Skilled in analyzing test results and providing recommendations for improvements
Strong knowledge of Agile methodologies and continuous in
Program to count the occurrence of vowels in an array of strings
Iterate through each string in the array
For each string, iterate through each character and check if it is a vowel (a, e, i, o, u)
Increment a counter for each vowel found in the string
Repeat for all strings in the array and return the total count of vowels
posted on 6 Feb 2024
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
Cypress is a JavaScript-based end-to-end testing framework. It differs from Selenium in terms of architecture, ease of use, and speed.
Cypress is a JavaScript-based testing framework for web applications.
It provides a simple and intuitive API for writing tests.
Cypress runs directly in the browser and can access everything on the page.
Unlike Selenium, Cypress does not use WebDriver and has a different architecture.
Cypres...
Cypress folder structure and its assertions
Cypress follows a specific folder structure for organizing test files
The 'fixtures' folder contains static data used in tests
The 'integration' folder contains the actual test files
The 'plugins' folder contains custom plugins and tasks
The 'support' folder contains reusable functions and commands
Cypress provides various assertions for validating test results
Common assertions inc...
Assertions are statements that verify the expected behavior of a software application during testing.
Assertions are used to validate whether a certain condition is true or false.
They help in identifying bugs and ensuring the correctness of the software.
Assertions can be used to check the values of variables, compare expected and actual results, or verify the presence of certain elements.
Examples of assertions include a...
Cypress is a powerful tool for API testing, allowing for easy automation and assertion of API endpoints.
Cypress provides a simple and intuitive syntax for writing API tests
It supports making HTTP requests and asserting responses
Cypress allows for easy mocking and stubbing of API calls
It provides detailed logs and error messages for debugging
Cypress integrates well with other testing frameworks and tools
Cypress is a JavaScript-based end-to-end testing framework that runs directly in the browser.
Cypress allows for easy and fast testing of web applications.
It provides a rich set of APIs for interacting with elements and making assertions.
Cypress runs directly in the browser, eliminating the need for Selenium or other external drivers.
It supports modern JavaScript frameworks like React, Angular, and Vue.
Cypress provides ...
posted on 19 Jun 2024
I applied via LinkedIn and was interviewed in May 2024. There was 1 interview round.
I was asked to write
1. java program for move positive numbers first and negative numbers last
2. java program to reverse the words in a string without using split method.
3. Selenium coding questions.
posted on 9 Oct 2024
I applied via Naukri.com and was interviewed before Oct 2023. There were 2 interview rounds.
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Derived class can access public and protected members of the base class
Example: Class Car can inherit from class Vehicle to reuse com
Object-oriented programming concepts that focus on data abstraction, encapsulation, inheritance, and polymorphism.
Abstraction: Hiding the complex implementation details and showing only the necessary features to the outside world.
Encapsulation: Binding data and methods that operate on the data into a single unit.
Inheritance: Ability of a class to inherit properties and behavior from another class.
Polymorphism: Ability ...
My name is John Smith.
Full name is John Smith
Common name in English-speaking countries
No middle name or initial
posted on 29 Jul 2022
I applied via Approached by Company and was interviewed in Feb 2024. There were 2 interview rounds.
Test was based on Aptitude and Selenium, Java question.
Sorting a hashmap using keys without any method involves iterating through the keys and rearranging them in ascending order.
Iterate through the keys of the hashmap
Compare each key with the next key and swap them if they are in the wrong order
Continue this process until all keys are in ascending order
posted on 6 Apr 2024
I applied via Company Website and was interviewed in Mar 2024. There was 1 interview round.
posted on 1 Feb 2023
I applied via Naukri.com and was interviewed in Oct 2022. There were 3 interview rounds.
I am a QA Automation Testing Engineer with experience in various roles and responsibilities. I am interested in joining Global Logic for its global presence and reputation in the industry.
I have worked as a QA Automation Testing Engineer for the past 5 years.
My roles and responsibilities include designing and implementing automated test scripts, executing test cases, and reporting defects.
I have experience in using too...
Selenium components include Selenium IDE, Selenium RC, Selenium WebDriver. Different locators are ID, Name, Class Name, Tag Name, Link Text, Partial Link Text, CSS Selector and XPath. Selenium WebDriver is a tool used to automate web application testing. XPath is a language used to navigate through XML documents and web pages.
Selenium components: Selenium IDE, Selenium RC, Selenium WebDriver
Different locators: ID, Name...
Answering questions related to Robot Framework and its standard libraries, architecture, setup and teardown, and a sample login script.
Standard libraries in Robot Framework include BuiltIn, Collections, DateTime, Dialogs, OperatingSystem, Process, Screenshot, String, Telnet, and XML.
Robot Framework architecture consists of test cases, test suites, and keywords.
Setup and teardown are pre and post conditions for test cas...
Answers to common Selenium interview questions.
Locators in Selenium are used to identify web elements on a web page. Examples include ID, class name, name, tag name, link text, and partial link text.
driver.quit() closes the entire browser window and ends the WebDriver session, while driver.close() only closes the current window or tab.
Implicit wait is a global wait that applies to all web elements and waits for a speci...
To convert JSON object to string, use JSON.stringify(). To convert string to JSON object, use JSON.parse().
JSON.stringify() method converts a JavaScript object or value to a JSON string.
JSON.parse() method parses a JSON string and returns a JavaScript object.
Example: var obj = {name: 'John', age: 30}; var jsonString = JSON.stringify(obj); var jsonObj = JSON.parse(jsonString);
Make sure the JSON string is valid, else it
Lists are a collection of ordered and changeable elements. They have various functions to manipulate the data.
Lists are created using square brackets []
They can contain any data type such as strings, integers, or even other lists
Functions include append(), insert(), remove(), pop(), sort(), and reverse()
Example: my_list = ['apple', 'banana', 'cherry']
Example: my_list.append('orange') adds 'orange' to the end of the lis
Program to find elements of a list with least difference in Python
Sort the list
Find the minimum difference between adjacent elements
Return the elements with minimum difference
based on 1 interview
Interview experience
Senior Software Engineer
2.2k
salaries
| ₹4.2 L/yr - ₹27.3 L/yr |
Software Engineer
1.4k
salaries
| ₹3 L/yr - ₹9.7 L/yr |
Technical Lead
1.4k
salaries
| ₹9.9 L/yr - ₹32 L/yr |
Network Engineer
452
salaries
| ₹3 L/yr - ₹12 L/yr |
Senior Technical Lead
415
salaries
| ₹14.1 L/yr - ₹35 L/yr |
TCS
Infosys
Wipro
HCLTech