i
Ness Digital
Engineering
Filter interviews by
Selenium code to login and add to cart on yatra.com
Launch the yatra.com website
Enter login credentials and click on login button
Search for desired product and add to cart
Verify the product is added to cart
Main function in Java is the entry point of any Java program.
Main function is declared as public static void main(String[] args)
It is the starting point of execution for any Java program
All the code inside main function is executed sequentially
Example: public static void main(String[] args) { System.out.println("Hello World!"); }
Yes, I am familiar with API testing.
API testing involves testing the functionality, reliability, performance, and security of APIs.
It includes verifying the response data, status codes, headers, and error handling.
Tools like Postman, SoapUI, or cURL can be used for API testing.
Examples of API testing include testing RESTful APIs, web services, and microservices.
Test cases can be created to validate input/output, a...
Program to reverse a string
Create an empty string to store the reversed string
Loop through the original string from end to start
Append each character to the empty string
Return the reversed string
Page Object Model is a design pattern used in test automation to create an object repository for web UI elements.
It helps in reducing code duplication and improves code maintainability.
Each web page is represented as a separate class and the web elements on the page are defined as variables in the class.
The methods in the class perform actions on the web elements.
It separates the test logic from the page-specific ...
An interface is a contract between two entities defining the communication between them. In Selenium, interfaces are used to define the behavior of web elements.
An interface defines a set of methods that a class implementing it must implement
In Selenium, the WebElement interface is used to interact with web elements on a page
Other interfaces in Selenium include WebDriver, TakesScreenshot, and JavascriptExecutor
Int...
XPath is a language used to navigate and select elements in an XML or HTML document.
XPath stands for XML Path Language
It uses path expressions to select nodes or sets of nodes in an XML or HTML document
There are two types of XPath: Absolute and Relative
Absolute XPath starts from the root node and selects the nodes based on the complete path
Relative XPath starts from the current node and selects the nodes based on ...
Polymorphism is the ability of an object to take on many forms. There are two types: compile-time and runtime.
Compile-time polymorphism is achieved through function overloading and operator overloading.
Runtime polymorphism is achieved through virtual functions and function overriding.
Polymorphism allows for code reusability and flexibility in object-oriented programming.
Example of compile-time polymorphism: functi...
I applied via Recruitment Consultant and was interviewed in Aug 2021. There were 3 interview rounds.
Page Object Model is a design pattern used in test automation to create an object repository for web UI elements.
It helps in reducing code duplication and improves code maintainability.
Each web page is represented as a separate class and the web elements on the page are defined as variables in the class.
The methods in the class perform actions on the web elements.
It separates the test logic from the page-specific logic...
Main function in Java is the entry point of any Java program.
Main function is declared as public static void main(String[] args)
It is the starting point of execution for any Java program
All the code inside main function is executed sequentially
Example: public static void main(String[] args) { System.out.println("Hello World!"); }
Program to reverse a string
Create an empty string to store the reversed string
Loop through the original string from end to start
Append each character to the empty string
Return the reversed string
Selenium code to login and add to cart on yatra.com
Launch the yatra.com website
Enter login credentials and click on login button
Search for desired product and add to cart
Verify the product is added to cart
XPath is a language used to navigate and select elements in an XML or HTML document.
XPath stands for XML Path Language
It uses path expressions to select nodes or sets of nodes in an XML or HTML document
There are two types of XPath: Absolute and Relative
Absolute XPath starts from the root node and selects the nodes based on the complete path
Relative XPath starts from the current node and selects the nodes based on the p...
Polymorphism is the ability of an object to take on many forms. There are two types: compile-time and runtime.
Compile-time polymorphism is achieved through function overloading and operator overloading.
Runtime polymorphism is achieved through virtual functions and function overriding.
Polymorphism allows for code reusability and flexibility in object-oriented programming.
Example of compile-time polymorphism: function ov...
An interface is a contract between two entities defining the communication between them. In Selenium, interfaces are used to define the behavior of web elements.
An interface defines a set of methods that a class implementing it must implement
In Selenium, the WebElement interface is used to interact with web elements on a page
Other interfaces in Selenium include WebDriver, TakesScreenshot, and JavascriptExecutor
Interfac...
Yes, I am familiar with API testing.
API testing involves testing the functionality, reliability, performance, and security of APIs.
It includes verifying the response data, status codes, headers, and error handling.
Tools like Postman, SoapUI, or cURL can be used for API testing.
Examples of API testing include testing RESTful APIs, web services, and microservices.
Test cases can be created to validate input/output, authen...
Top trending discussions
A Java program to manipulate or analyze matrices, such as addition, multiplication, or transposition.
Define a 2D array to represent the matrix, e.g., int[][] matrix = {{1, 2}, {3, 4}};
Implement methods for matrix operations like addition: public int[][] add(int[][] matrixA, int[][] matrixB) {...};
Use nested loops to iterate through rows and columns for operations.
Consider edge cases like different dimensions for additi...
I applied via Referral and was interviewed in Dec 2021. There was 1 interview round.
Basic Java coding questions assess fundamental programming skills and understanding of Java concepts.
What is the difference between '=='' and '.equals()' in Java? Example: '=='' checks reference equality, while '.equals()' checks value equality.
Explain the concept of inheritance in Java. Example: A 'Dog' class can inherit from an 'Animal' class.
What are Java Collections? Example: List, Set, and Map are interfaces in th...
Root cause analysis is a systematic process used to identify the underlying cause of a problem or issue.
Identify the problem or issue
Gather data and evidence related to the problem
Analyze the data to determine the root cause
Develop solutions to address the root cause
Implement and monitor the effectiveness of the solutions
Scrum Agile is a framework for managing and completing complex projects in an iterative and incremental manner.
Scrum is based on the principles of transparency, inspection, and adaptation.
It involves breaking down the project into smaller tasks called user stories.
Teams work in short iterations called sprints, usually 2-4 weeks long.
Daily stand-up meetings are held to discuss progress and any obstacles.
Scrum roles incl...
SQL join tables to combine data from multiple tables based on a related column
Use JOIN keyword to combine tables based on a related column
Types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN
Specify the columns to join on using ON clause
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.id = table2.id
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Inheritance allows a class to reuse code from another class, promoting code reusability and reducing redundancy.
Subclasses can inherit attributes and methods from a superclass, and can also override or extend them.
Inheritance creates a hierarchical relationship between classes, with child classes i...
General QA details, roles and responsibilities
I applied via LinkedIn and was interviewed in Oct 2023. There were 2 interview rounds.
Tricky question. Regarding java only
Advance queation asked
Write a Java code to reverse a string
Use StringBuilder to reverse the string
Convert the string to StringBuilder, call reverse() method, and convert back to string
Handle null or empty string cases
based on 14 reviews
Rating in categories
Senior Software Engineer
766
salaries
| ₹7.2 L/yr - ₹24 L/yr |
Software Engineer
520
salaries
| ₹2.8 L/yr - ₹12 L/yr |
Software Developer
219
salaries
| ₹2.2 L/yr - ₹10.9 L/yr |
Senior QA Engineer
214
salaries
| ₹5.9 L/yr - ₹22 L/yr |
Member Technical Staff
212
salaries
| ₹9.5 L/yr - ₹27.2 L/yr |
Xoriant
Photon Interactive
CitiusTech
Iris Software