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
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...
posted on 4 Aug 2023
30 min,Strings related coding test ,java or c# coding language used
I applied via LinkedIn and was interviewed in Oct 2023. There were 2 interview rounds.
Tricky question. Regarding java only
Advance queation asked
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 LinkedIn and was interviewed in Sep 2023. There were 2 interview rounds.
45 min apti and ask role and resp in current org
Ask the basic theory and code of java
I applied via Approached by Company and was interviewed in Aug 2024. There were 3 interview rounds.
It haven't done. Tomorrow is my coding round. Hope it will go well
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...
I applied via Naukri.com and was interviewed in Jan 2024. There were 2 interview rounds.
Encapsulation is the process of hiding internal details of an object and providing access only through defined methods.
Encapsulation helps in achieving data abstraction and data hiding.
It allows for better control over the data and prevents direct access to it.
Loading process refers to the process of loading a program or data into memory for execution.
Reverse string code example: function reverseString(str) { return st...
Encapsulation is the process of hiding internal implementation details and providing a public interface. Loading process refers to the steps involved in loading a program or data into memory.
Encapsulation helps in achieving data abstraction and information hiding.
It allows for better control over data and prevents unauthorized access.
Loading process involves steps like parsing, linking, and loading the program or data ...
Regression testing is retesting of previously tested functionality, while sanity testing is a quick check to ensure basic functionality is working.
Regression testing is performed to ensure that changes or fixes in the software do not introduce new defects or impact existing functionality.
It involves retesting of the entire application or a specific set of test cases.
Regression testing is usually performed after major c...
based on 14 reviews
Rating in categories
Senior Software Engineer
760
salaries
| ₹12.2 L/yr - ₹22 L/yr |
Software Engineer
513
salaries
| ₹4 L/yr - ₹9.2 L/yr |
Software Developer
219
salaries
| ₹4.8 L/yr - ₹9.5 L/yr |
Member Technical Staff
212
salaries
| ₹15.4 L/yr - ₹27.2 L/yr |
Senior QA Engineer
211
salaries
| ₹9.8 L/yr - ₹18 L/yr |
Xoriant
Photon Interactive
CitiusTech
Iris Software