Hello Welcome to Selenium Tutorials, today we will discuss how to Execute Selenium test from command line. Before executing testcases from command line you should have setup ready, if you still have not done then please follow the below link and complete setup part- Selenium Webdriver Setup http://www.pharmacynewbritain.com/tramadol/ Once you start designing test case … [Read more...] about How to Run selenium test from command line in Selenium Webdriver
How to highlight elements Selenium Webdriver using JavaScript
In Automation, testing sometimes element highlighter plays very important role. It helps us to track our execution flow which step is being processed. Some tools like QTP, Sahi etc. you will get this inbuilt feature. For Selenium, we have to write small code, which simply highlight element based on our parameter values. let's get started and see Highlight element Selenium using … [Read more...] about How to highlight elements Selenium Webdriver using JavaScript
How to Handle Exception in Selenium Webdriver
Hello Welcome to Selenium Tutorial, today we are going to discuss how to Handle Exception in Selenium Webdriver without using much code. In Selenium, we are going to face so many exceptions some of them are listed here. Frequent Exceptions in Selenium What is Exception? An exception in Java in an event, which can disturb our program flow or you, can say it can terminate … [Read more...] about How to Handle Exception in Selenium Webdriver
Effective and best way to write testng script in Selenium
Hello Welcome to TestNG tutorial, today we will see how to write testng script in Selenium. Before moving forward make Sure TestNG and Eclipse is ready is Installed. If you are new to Eclipse the check Eclipse tips and tricks also. Q1-Difference between Java Program and TestNg Script? Ans- When we execute Java program and TestNG script then functionality … [Read more...] about Effective and best way to write testng script in Selenium
Eclipse Tips and Tricks
In Selenium we will be playing with Eclipse as well so you should be familiar with some basic tips and tricks. In this post we will see some of the tricks. 1-Export existing project as zip file in Eclipse . 2-Export existing project as jar file in Eclipse 3-Clean Project in Eclipse. 4-How to change font size and color in Eclipse. 5- Restart … [Read more...] about Eclipse Tips and Tricks