Hot answers tagged

1 vote

why do we need to verify test page title in selenium

First, when it comes to testing, context is everything. You don't have to test the page title every time, but there are cases you do. People often test the page title as it acts like a smoke test. If ...
Lee Jensen's user avatar
  • 2,131
1 vote

why do we need to verify test page title in selenium

You're right that the test, as you described it, is useless. What is the purpose of this test? For example, you have a link on a page that says, "Navigate to Foo." You then expect the page ...
Roger Cook's user avatar
1 vote
Accepted

Execute same test scenarios in two different browsers simultaneously

To execute the same test scenarios in two different browsers simultaneously, you can utilize TestNG's parallel execution feature along with Selenium's WebDriver capabilities. Here's an approach you ...
IAmMilinPatel's user avatar
1 vote

Getting NullPointerException while running the simple testNG script

The NullPointerException in the given code is because of the typo in the syso statement. The correct statement should be System.out.println() instead of syso(). The corrected code should look like: ...
IAmMilinPatel's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible