Filter interviews by
Interface defines a contract for classes to implement, while abstract class provides partial implementation and can have concrete methods.
Interface cannot have method implementations, only method signatures
A class can implement multiple interfaces but can only inherit from one abstract class
Abstract class can have both abstract and concrete methods
Interfaces are used for achieving multiple inheritance in Java
Removing static keyword from main function will not have any impact on the program's functionality.
Removing static keyword from main function will not affect the program's execution.
The main function in C/C++ is always called by the operating system, regardless of whether it is static or not.
Static keyword in main function is optional and does not change the behavior of the program.
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 21 Jan 2025
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
posted on 16 Jan 2025
Basic question were asked
Detail coding questions
posted on 17 Jan 2025
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 11 Jun 2022
I applied via Recruitment Consulltant and was interviewed in May 2022. There was 1 interview round.
Agile is a methodology that emphasizes flexibility and collaboration. Agile Scrum is a framework for implementing Agile.
Agile focuses on delivering working software in short iterations
Agile values individuals and interactions over processes and tools
Agile encourages customer collaboration and responding to change
Agile Scrum includes ceremonies such as Sprint Planning, Daily Stand-up, Sprint Review, and Sprint Retrospec...
To select an element from a drop down, locate the drop down element and use the select class in Selenium.
Locate the drop down element using findElement() method
Create an object of Select class using the drop down element
Use selectByVisibleText(), selectByValue() or selectByIndex() method to select the desired option
To check if every step has a corresponding step definition, we can use a code coverage tool.
Use a code coverage tool to analyze the step definition file and identify any missing steps
Ensure that all steps in the feature file are covered by the step definition file
Regularly review and update the step definition file to ensure it stays up-to-date with the feature file
Reverse an integer in Java
Convert integer to string using Integer.toString()
Use StringBuilder to reverse the string
Convert the reversed string back to integer using Integer.parseInt()
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Operations Analyst
41
salaries
| ₹3.3 L/yr - ₹6 L/yr |
Software Engineer
22
salaries
| ₹10 L/yr - ₹17.6 L/yr |
Senior Operations Analyst
20
salaries
| ₹4.1 L/yr - ₹5.9 L/yr |
Financial Analyst
10
salaries
| ₹5 L/yr - ₹6 L/yr |
Team Lead Operations
9
salaries
| ₹6 L/yr - ₹7 L/yr |
Freightos
Wishup
Shyplite
Shiprocket Private Limited