Tag: write testng test case Page-1

How to Use Internet Explorer Driver to Run Webdriver Tests

How to Use Internet Explorer Driver with Selenium

Mozilla Firefox, Google Chrome, and Internet Explorer are the three leading browsers that any QA engineer would choose for Web automation testing. For today’s Selenium tutorial, we are going to use internet explorer driver for website test automation. We’ll also create a simple Selenium regression testing suite and run a small test case for the demo. If you’ve read our …
How to Use Chrome for Running Webdriver Test Cases

Learn to Use Chrome for Running Webdriver Test Cases

Whether we are working on a Webdriver project or building an online sample for learning, it’s the Firefox browser we mostly use to run the test cases. But it’s also a fact that it fails¬†quite often¬†due to an incompatible version of the Selenium Jar. So the next best alternative is to use Chrome for running Webdriver test cases. Since¬†you can …
How to Use TestNG Assertions in Selenium

How to Use TestNG Assertions to Verify Tests in Selenium

While using Selenium for automated testing of web applications, we need to add validations in our tests to report them as pass or fail. And assertions¬†can let us do that within a single line of code. Here, you’ll learn how to use TestNG assertions and know the¬†different¬†methods to assert conditions. Assertions give you a way, other than If-Else blocks, to …

How to Create TestNG Test Case in Selenium Webdriver

In our previous blog posts on the TestNG framework, we’d covered the installation of TestNG in Eclipse and discussed the various TestNG annotations available for the Selenium Webdriver. If you are planning to learn Selenium Webdriver using TestNG, then¬†it would be worth reading these posts. In case you already know TestNG then you would be aware that it works in …