Filter interviews by
posted on 10 Nov 2021
I applied via Naukri.com and was interviewed in Oct 2021. There were 3 interview rounds.
Top trending discussions
posted on 20 Feb 2021
I applied via Naukri.com and was interviewed in Jan 2021. There was 1 interview round.
Values can be sent without using sendkeys method by directly manipulating the DOM or using JavaScriptExecutor.
Use JavaScriptExecutor to execute JavaScript code to set values of input fields.
Find the element using appropriate locators and then use JavaScriptExecutor to set the value.
Example: driver.executeScript("document.getElementById('elementId').value='text'");
Collections used in Selenium include List, Set, and Map.
List is used to store a collection of elements in a specific order.
Set is used to store a collection of unique elements.
Map is used to store a collection of key-value pairs.
Examples include List
The windowHandles method returns a set of window handles as a set of strings.
The windowHandles method is used to retrieve all the window handles of the current session.
The return type is set because it ensures that each window handle is unique and there are no duplicates.
The set data structure allows for efficient retrieval and manipulation of window handles.
Example: Set
Test cases can be prioritized in TestNG using priority attribute.
Add priority attribute to @Test annotation
Test cases with lower priority value will be executed first
Priority can be any integer value, default is 0
Parallel testing can be achieved by dividing test cases into smaller chunks and running them simultaneously on multiple machines.
Divide test cases into smaller chunks
Use a test framework that supports parallel testing
Run tests on multiple machines or virtual machines
Ensure tests do not interfere with each other
Aggregate test results from all machines
Failed test cases can be rerun in TestNG using the 'rerun-failed.xml' file.
Create a new XML file named 'rerun-failed.xml'
Add the failed test cases to the XML file using the 'include' tag
Run the 'rerun-failed.xml' file using TestNG
Test automation framework can be implemented by following these steps:
Identify the testing requirements
Choose the appropriate tools and technologies
Design the framework architecture
Develop and integrate the framework components
Create test scripts and execute them
Integrate with CI/CD pipeline
Maintain and update the framework regularly
HTTP is a protocol for transmitting data over the internet, while HTTPS is a secure version of HTTP that encrypts the data.
HTTP stands for Hypertext Transfer Protocol, while HTTPS stands for Hypertext Transfer Protocol Secure.
HTTP operates on port 80, while HTTPS operates on port 443.
HTTP is not secure and data is transmitted in plain text, while HTTPS uses SSL/TLS encryption to secure the data transmission.
HTTPS is co...
Rest-assured is a Java-based library used for testing RESTful APIs.
Rest-assured simplifies the testing of RESTful APIs by providing a domain-specific language (DSL) for writing tests.
To handle certificate issues in rest-assured, we can use the relaxedHTTPSValidation() method to bypass SSL certificate validation.
We can also import the certificate into the truststore and use it for SSL validation.
requestSpecification is a class in RestAssured library used to define the request details for API testing.
It is used to set the base URI, path, headers, query parameters, etc. for the API request.
It allows customization of the request before sending it.
Serialization is the process of converting an object into a format that can be stored or transmitted.
In API testing, serialization is used to convert Java objects into J...
Status codes are used in API's to indicate the outcome of a request.
Status codes are three-digit numbers that are returned by the server in response to a client's request.
They indicate whether the request was successful or not, and if not, what went wrong.
Some common status codes include 200 (OK), 404 (Not Found), and 500 (Internal Server Error).
To post a value in a server, you need to consider the endpoint, request method, headers, body, and authentication.
Identify the endpoint where the value needs to be posted
Choose the appropriate request method (e.g., POST)
Set the necessary headers (e.g., Content-Type)
Construct the body payload with the value to be posted
Handle authentication if required (e.g., API key, token)
Common exceptions in Selenium automation include NoSuchElementException, TimeoutException, and StaleElementReferenceException.
NoSuchElementException occurs when an element cannot be found in the DOM.
TimeoutException occurs when a command takes longer than the timeout value to complete.
StaleElementReferenceException occurs when an element is no longer attached to the DOM.
Other exceptions include ElementNotVisibleExcepti...
I faced arrayIndexOutOfBoundary exception while accessing an array element beyond its size.
The exception occurred when trying to access an array element at an index greater than or equal to its size.
To fix it, I checked the array size before accessing its elements.
I also made sure to properly initialize the array with the correct size.
Example: String[] arr = new String[5]; arr[5] = "hello"; // throws exception
Jenkins is an open-source automation server that helps to automate parts of the software development process.
Jenkins is used for continuous integration and continuous delivery (CI/CD) of software projects.
It can be integrated with Git to create a pipeline for building, testing, and deploying code.
The Git pipeline in Jenkins involves creating a Jenkinsfile that defines the stages of the pipeline, such as checkout, build...
Git flow is a branching model for software development.
Git flow consists of two main branches: master and develop.
Feature branches are created off of develop and merged back into it.
Release branches are created off of develop for preparing a new release.
Hotfix branches are created off of master to fix critical issues in production.
Git flow helps to maintain a structured and organized workflow for development.
Example: g...
Excel reading involves extracting data from an Excel file using programming languages.
Excel files can be read using libraries like Apache POI, OpenPyXL, and xlrd.
Data can be extracted from specific cells or entire sheets.
Excel files can be read in various formats like .xls, .xlsx, and .csv.
Extent Reports Config is a Java library used for generating interactive HTML reports for test automation results.
Extent Reports Config is used to customize the look and feel of the generated reports.
It allows users to add or remove report sections, change report themes, and configure report settings.
Users can also add custom logos, CSS, and JavaScript to the reports.
Extent Reports Config can be integrated with various ...
posted on 19 Aug 2021
I was interviewed in Jan 2025.
1. Explain about framework architecture and from that all questions derived. asked to write diagram and explain the structure.
2. Difference between class variable and instance variable.
3. what is ITestListener why used and when used in framework.
4. architecture of selenium 4 (geckodriver, chromium driver)
5. what is BDD and cucumber, how both are related to.
6. which kind of framework you go, either POM or Page factory for with testNg/junit?
7. asked to write query on sql joins and how you fetch the second lowest of salary from each department.
8. DDL, DML statements.
9. pathquery and query parameters differences(API)
10. How the responses you are validating in automation framework for Json response file.
11. status code of Https
12. serialization and deserialization difference
13. String Builder, String Buffer and String difference? which is better and which is safe to use.
14. Dropdown in selenium how you handle, how to check which is already selected?
15. multiple data provider in testng and how you pass parameter and how you retrive from excel sheet? Asked to write code!
16.what is flaky testing?
17.Asked to write first code of JDBC connecting establishment with framework.
18. Code execution: input ="aabbabcbb"; output = a:3 , b:5, c:1 like this if they give name also it should count. Tip : HashMap you can write the code.
19. Code execution: a[]={1,2,3,4,0,0,0} b={5,6,7} output need to print as remove all 0's from first array and replace 1,2,3,4 with 5,6,7 some crazy questions.
20. Git cmds and CI/CD tool.
1. asked about architecture and where you used oops concepts?
2. abstract class and interfaces
3. select drop down all options
4. find scrape links from webpage write the code
5. asked for writing xpath for any element random website.
6. asked about following-sibling, descendent and preceding-sibling, normalise-space locators.
7. jdbc connection code.
8. API JSON file - how you done validation in automation testing.
Asked about, DP, GRAPHS AND LINKEDLIST
Give panic situations
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
I was interviewed in Dec 2024.
STLC consists of phases like requirement analysis, test planning, test design, test execution, and test closure.
Requirement Analysis: Understanding the project requirements and defining the scope of testing.
Test Planning: Creating a test plan which includes test strategy, test objectives, and resource planning.
Test Design: Developing test cases and test scenarios based on requirements.
Test Execution: Running the test c...
Yes, I can write a program that outputs a sentence in reverse.
Create a function that takes a string as input
Split the string into an array of words
Reverse the array
Join the array back into a string and return
I am a dedicated SDET Automation Test Engineer with 5 years of experience in creating and executing automated test scripts.
5 years of experience in automation testing
Proficient in creating and executing automated test scripts
Strong knowledge of testing tools like Selenium and JUnit
Experience in Agile development environment
Excellent problem-solving skills
My salary expectations are based on my experience, skills, and the market rate for the position.
Research the average salary range for SDET Automation Test Engineers in the industry
Consider your level of experience and skills compared to the job requirements
Factor in any additional benefits or perks offered by the company
Be prepared to negotiate based on the overall compensation package
I applied via LinkedIn
Search for a specific string in an array of strings.
Iterate through the array and compare each string with the target string.
Use a loop to go through each element in the array and check for a match.
Consider using built-in methods like indexOf() or includes() for efficient searching.
Handle cases where the target string is not found in the array.
Search for a specific string in an array of strings.
Iterate through the array and compare each string with the target string.
Use a loop to go through each element in the array and check for a match.
Consider using built-in methods like indexOf or includes for efficient searching.
Find all subarrays in a given array of strings
Iterate through the array and consider each element as the starting point of a subarray
For each starting point, iterate through the array to find all possible subarrays
Store each subarray found in a separate list
Use stack data structure to check for balanced parentheses in a string.
Create an empty stack to store opening parentheses
Iterate through the string and push opening parentheses onto the stack
When encountering a closing parenthesis, pop from the stack and check if it matches the corresponding opening parenthesis
If stack is empty at the end and all parentheses have been matched, the string is balanced
A mean heap is a data structure that minimizes the cost of accessing the smallest element.
Mean heap is a type of binary heap where the value of each node is less than or equal to the values of its children.
It is useful for finding the minimum element quickly, as the root node always contains the smallest value.
Insertion and deletion operations in a mean heap have a time complexity of O(log n).
I applied via Campus Placement
Apt and coding test was in first
2 coding questions was ask
Oops Concepts are fundamental principles of object-oriented programming such as Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability of a function to behave differently based on the object it is acting upon.
Abstraction: Hiding t...
Senior Software Engineer
4
salaries
| ₹4.2 L/yr - ₹4.8 L/yr |
Senior Programmer
3
salaries
| ₹3.4 L/yr - ₹6 L/yr |
TCS
Accenture
Wipro
Cognizant