i
Xoriant
Filter interviews by
I applied via Naukri.com and was interviewed in Apr 2022. There were 3 interview rounds.
I applied via Company Website and was interviewed before Apr 2022. There were 2 interview rounds.
Our automation framework is built using Selenium WebDriver and TestNG.
We use Page Object Model design pattern for better maintainability.
We have created custom libraries for common functions like login, logout, etc.
We use Jenkins for continuous integration and execution of automated tests.
We have implemented data-driven testing using Excel sheets.
We use Git for version control and collaboration among team members.
TestNG annotations are executed in a specific sequence during test execution.
BeforeSuite
BeforeTest
BeforeClass
BeforeMethod
Test
AfterMethod
AfterClass
AfterTest
AfterSuite
Failed test screenshots can be taken using automation tools and saved in a designated folder.
Use automation tools like Selenium or Appium to capture screenshots on test failure
Save the screenshots in a designated folder for easy access and reference
Include the screenshot file name in the test report for better traceability
GetOption() method is used to retrieve the value of a selected option in a dropdown list.
GetOption() method is commonly used in automated testing to verify if the correct option is selected in a dropdown list.
The method returns the value of the selected option as a string.
If no option is selected, the method returns null or an empty string.
Different types of exceptions include checked, unchecked, runtime, and error.
Checked exceptions are checked at compile time and must be handled or declared.
Unchecked exceptions are not checked at compile time and do not need to be handled or declared.
Runtime exceptions are unchecked exceptions that occur during runtime.
Errors are serious problems that cannot be handled by the program, such as OutOfMemoryError.
Alerts can be handled using Alert interface in Selenium
Use driver.switchTo().alert() method to switch to alert
Use getText() method to get the text of the alert
Use accept() method to click on OK button of the alert
Use dismiss() method to click on Cancel button of the alert
Asserts are used to verify expected results in automated tests. There are various types of asserts.
Assert.AreEqual - compares two values for equality
Assert.IsTrue/False - checks if a condition is true/false
Assert.IsNull/NotNull - checks if a value is null/not null
Assert.ThrowsException - checks if an exception is thrown
Assert.AreSame - checks if two objects refer to the same instance
Assert.AreNotSame - checks if two ob
To handle Iframe, switch to the frame using driver.switchTo().frame() method.
Identify the Iframe using its ID, name, or index
Switch to the Iframe using driver.switchTo().frame() method
Perform the required actions inside the Iframe
Switch back to the default content using driver.switchTo().defaultContent() method
To switch default frame in automation testing, use switchTo() method of WebDriver class.
Use driver.switchTo().frame() method to switch to a specific frame by index, name, or WebElement.
Use driver.switchTo().defaultContent() method to switch back to the default content.
Example: driver.switchTo().frame(0); //switch to first frame
Example: driver.switchTo().frame("frameName"); //switch to frame with name "frameName"
Test with priority 1 executes first, followed by 0 and then -1.
Tests with higher priority are executed first
Priority can be used to determine the order of execution
Priority can be set in test management tools like JIRA or TestRail
To take multiple values from dropdown, use a loop to iterate through each option and select them.
Identify the dropdown element using its locator
Use the Select class to create an object for the dropdown
Use the getOptions() method to get all the options in the dropdown
Iterate through the options using a loop and select each option using the selectByVisibleText() or selectByValue() method
ElementNotPresent exception occurs even if element is present on page. Why?
The element may not be loaded yet, so wait for it to load before checking
The element may be hidden or not visible on the page
The element may have a different name or ID than expected
The element may be in an iframe or shadow DOM
The element may have been removed or deleted from the page
I applied via LinkedIn and was interviewed in Oct 2024. There were 2 interview rounds.
posted on 9 Jan 2025
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
Regression testing is testing the entire application after changes, while retesting is testing specific areas affected by changes.
Regression testing involves testing the entire application to ensure that new changes have not affected existing functionality
Retesting focuses on testing specific areas that were affected by recent changes to ensure they are working as expected
Regression testing is usually automated to save...
Hooks in Cucumber are blocks of code that run before or after each scenario in a feature file.
Hooks are used to set up preconditions and clean up after tests
They can be used to initialize test data, open/close browser, log in/out, etc.
Hooks can be defined at the global level or at the scenario level
I have used OOPs concepts in my projects to create reusable code, improve code organization, and enhance code readability.
Used inheritance to create a base class with common functionalities and derived classes with specific functionalities
Implemented encapsulation to hide internal details of a class and expose only necessary information through methods
Utilized polymorphism to allow objects of different classes to be tr...
To avoid merge conflicts in git, use branches effectively, communicate with team members, and regularly pull changes from the remote repository.
Create feature branches for each new feature or bug fix
Regularly pull changes from the remote repository to stay up to date with the latest changes
Communicate with team members about the files you are working on to avoid conflicting changes
Use tools like git rebase to integrate...
Web tables can be accessed using various methods like XPath, CSS selectors, and Selenium WebDriver commands.
Use XPath to locate the table element on the web page
Identify rows and columns within the table using XPath or CSS selectors
Use Selenium WebDriver commands to interact with the table data, such as getting text from cells or clicking on links within the table
Stale Element Exception occurs when an element is no longer attached to the DOM.
Occurs when an element is located in the DOM, but it has been removed or modified
Commonly encountered in automated testing when trying to interact with elements that have changed
Can be resolved by re-locating the element or refreshing the page
Use Arrays.asList() method to convert array to ArrayList.
Use Arrays.asList() method to convert array to ArrayList.
Example: String[] array = {"apple", "banana", "orange"}; ArrayList
I applied via Approached by Company and was interviewed in Sep 2024. There was 1 interview round.
API testing is testing the functionality, reliability, performance, and security of APIs.
API testing involves testing the communication between different software systems using APIs.
It focuses on verifying the functionality, performance, reliability, and security of APIs.
API testing can be done at different levels such as unit testing, integration testing, and end-to-end testing.
Tools like Postman, SoapUI, and JMeter a...
BDD framework stands for Behavior Driven Development framework, which focuses on the behavior of the system from the end user's perspective.
BDD framework uses natural language to describe the behavior of the system
It helps in collaboration between developers, testers, and business stakeholders
Popular BDD frameworks include Cucumber, SpecFlow, and JBehave
posted on 18 Aug 2024
I applied via Approached by Company and was interviewed in Jul 2024. There was 1 interview round.
Print alternate characters from a given string
Iterate through the characters of the string
Print characters at even indices
posted on 7 Jan 2024
I applied via Naukri.com and was interviewed in Dec 2023. There were 2 interview rounds.
Was all good with online test
I applied via Job Portal and was interviewed before Dec 2023. There were 4 interview rounds.
Questions of moderate difficulty.
Moderate level of questions
I applied via Job Portal and was interviewed before Mar 2023. There were 3 interview rounds.
based on 4 reviews
Rating in categories
Software Engineer
1.7k
salaries
| ₹4.5 L/yr - ₹15.6 L/yr |
Senior Software Engineer
1.7k
salaries
| ₹8.9 L/yr - ₹33 L/yr |
Softwaretest Engineer
626
salaries
| ₹2.8 L/yr - ₹7.2 L/yr |
Technical Lead
623
salaries
| ₹12 L/yr - ₹40 L/yr |
Senior Test Engineer
447
salaries
| ₹8 L/yr - ₹31.5 L/yr |
TCS
Infosys
Wipro
Tech Mahindra