Filter interviews by
To find broken links, use a link checker tool or browser extension.
Use a link checker tool like Xenu's Link Sleuth or W3C Link Checker
Install a browser extension like Check My Links for Chrome or Link Checker for Firefox
Manually check links by clicking on them and checking for error messages
Regularly check for broken links to ensure website functionality
To handle alerts in Selenium, we use the Alert interface and its methods.
To switch to an alert, we use the switchTo() method of WebDriver class.
To accept or dismiss an alert, we use the accept() or dismiss() method of Alert interface.
To get the text of an alert, we use the getText() method of Alert interface.
To send text to an alert, we use the sendKeys() method of Alert interface.
There are 8 locators present in Selenium.
Selenium provides 8 different locators to identify elements on a web page.
The locators are: ID, Name, Class Name, Tag Name, Link Text, Partial Link Text, CSS Selector, and XPath.
Each locator has its own syntax and usage.
For example, to locate an element by ID, you can use driver.findElement(By.id("elementId"));
Software Testing Life Cycle (STLC) is a process followed to ensure quality in software development by conducting various testing activities.
STLC consists of several phases: requirement analysis, test planning, test case development, test environment setup, test execution, and test closure.
Each phase has specific objectives and deliverables, ensuring that the testing process is systematic and thorough.
STLC helps in...
What people are saying about NatWest Group
Page Object Model (POM) is a design pattern used in test automation to create an object repository for web UI elements.
POM helps in creating reusable and maintainable code by separating the test logic from the page-specific details.
Each web page is represented as a separate class, and the UI elements and their actions are defined as methods within that class.
POM improves code readability, reduces code duplication,...
To take a screenshot in automation testing, use the built-in methods provided by the testing framework.
In Selenium, use the getScreenshotAs() method to capture a screenshot.
In Appium, use the getScreenshotAs() method to capture a screenshot.
In TestNG, use the ITestResult interface to capture a screenshot on test failure.
In Cucumber, use the After hook to capture a screenshot after each scenario.
To wait in Selenium, we can use explicit and implicit waits. To find all links in a page using XPath, we can use the findElements() method.
To wait in Selenium, we can use explicit wait with ExpectedConditions or implicit wait with the setScriptTimeout() method.
Explicit wait waits for a certain condition to occur before proceeding with the next steps.
Implicit wait sets a maximum time for the driver to wait for an e...
I applied via Naukri.com and was interviewed in May 2022. There were 2 interview rounds.
Software Testing Life Cycle (STLC) is a process followed to ensure quality in software development by conducting various testing activities.
STLC consists of several phases: requirement analysis, test planning, test case development, test environment setup, test execution, and test closure.
Each phase has specific objectives and deliverables, ensuring that the testing process is systematic and thorough.
STLC helps in iden...
To handle alerts in Selenium, we use the Alert interface and its methods.
To switch to an alert, we use the switchTo() method of WebDriver class.
To accept or dismiss an alert, we use the accept() or dismiss() method of Alert interface.
To get the text of an alert, we use the getText() method of Alert interface.
To send text to an alert, we use the sendKeys() method of Alert interface.
To take a screenshot in automation testing, use the built-in methods provided by the testing framework.
In Selenium, use the getScreenshotAs() method to capture a screenshot.
In Appium, use the getScreenshotAs() method to capture a screenshot.
In TestNG, use the ITestResult interface to capture a screenshot on test failure.
In Cucumber, use the After hook to capture a screenshot after each scenario.
Page Object Model (POM) is a design pattern used in test automation to create an object repository for web UI elements.
POM helps in creating reusable and maintainable code by separating the test logic from the page-specific details.
Each web page is represented as a separate class, and the UI elements and their actions are defined as methods within that class.
POM improves code readability, reduces code duplication, and ...
To wait in Selenium, we can use explicit and implicit waits. To find all links in a page using XPath, we can use the findElements() method.
To wait in Selenium, we can use explicit wait with ExpectedConditions or implicit wait with the setScriptTimeout() method.
Explicit wait waits for a certain condition to occur before proceeding with the next steps.
Implicit wait sets a maximum time for the driver to wait for an elemen...
There are 8 locators present in Selenium.
Selenium provides 8 different locators to identify elements on a web page.
The locators are: ID, Name, Class Name, Tag Name, Link Text, Partial Link Text, CSS Selector, and XPath.
Each locator has its own syntax and usage.
For example, to locate an element by ID, you can use driver.findElement(By.id("elementId"));
To find broken links, use a link checker tool or browser extension.
Use a link checker tool like Xenu's Link Sleuth or W3C Link Checker
Install a browser extension like Check My Links for Chrome or Link Checker for Firefox
Manually check links by clicking on them and checking for error messages
Regularly check for broken links to ensure website functionality
posted on 17 Aug 2023
I applied via Naukri.com and was interviewed before Aug 2022. There were 3 interview rounds.
posted on 24 Jan 2023
I applied via Naukri.com and was interviewed in Jul 2022. There were 4 interview rounds.
TestNG is a testing framework that allows running and writing test cases in Java.
Create a TestNG XML file with test suite and test cases
Write test methods with annotations like @Test, @BeforeMethod, @AfterMethod
Use assertions to verify expected results
Run tests using TestNG runner or Maven plugin
This program demonstrates string manipulation techniques in Java, focusing on common operations and their applications.
String Length: Use str.length() to get the length of a string. Example: String str = 'Hello'; int len = str.length(); // len = 5
Substring: Extract a part of a string using str.substring(startIndex, endIndex). Example: String str = 'Hello'; String sub = str.substring(1, 4); // sub = 'ell'
String Concaten...
Javascript executor is used to execute javascript code in Selenium WebDriver.
It allows interaction with web elements that are not possible with Selenium commands.
It can be used to scroll down a page, highlight an element, or perform any other action that cannot be done with Selenium commands.
It is useful for testing dynamic web pages that use AJAX or other client-side scripting languages.
Example: driver.executeScript("...
posted on 28 Mar 2025
I appeared for an interview before Mar 2024, where I was asked the following questions.
What people are saying about NatWest Group
I appeared for an interview before Mar 2016.
I applied via LinkedIn and was interviewed in Mar 2021. There were 3 interview rounds.
I applied via Walk-in and was interviewed before Oct 2020. There were 3 interview rounds.
based on 3 reviews
Rating in categories
Senior Analyst
2.8k
salaries
| ₹3.6 L/yr - ₹13.8 L/yr |
Software Engineer
1.1k
salaries
| ₹8 L/yr - ₹30.1 L/yr |
Operations Analyst
833
salaries
| ₹2 L/yr - ₹6.5 L/yr |
Associate Vice President
761
salaries
| ₹12 L/yr - ₹44 L/yr |
Customer Service & Operations Analyst
671
salaries
| ₹2.2 L/yr - ₹8 L/yr |
HDFC Bank
ICICI Bank
Axis Bank
Kotak Mahindra Bank