Implementing openBrowser And closeBrowser Functions In WebDriver Test

Whenever you start your any webdriver test, First of all you need to start your browser. And at the end of your test, You need to close your browser. Now supposing you have 100s of test cases then you will write browser opening and closing code In each and every test? Or supposing you wants … Read more

Common Function To Compare Two Double Values In Selenium WebDriver

Comparison of double values Is not much more different than comparison of Integer values as described In my previous post but let me give you example of same so that you can get It better. Let me tell you one thing that comparison of different data types (compare two strings, compare two Integers, etc..) Is pure … Read more

Method To Compare Two Integer Values In Selenium WebDriver Test

We have learnt how to create common function to compare two strings In my previous post. Same way, Many times you need to compare two Integer values. And based on comparison result, You can perform your next step of test execution. You can also stop or continue your test execution on assertion failure by using soft … Read more

General Function To Comparing Two Strings In Selenium WebDriver TestCase

When you will use selenium webdriver to automate real world applications, Many times you have to compare two strings like page title, product name or any other string. And based on comparison result you have to take specific action. Simple example of such scenario Is, You are navigating on any view product page to add product … Read more