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

How To Handle Unexpected Alerts In Selenium WebDriver

Some times when we browsing software web application, Display some unexpected alerts due to some error or some other reasons. This kind of alerts not display every time but they are displaying only some time. If you have created webdriver software automation test case for such page and not handled this kind of alerts In your … Read more

Selenium WebDriver : Handling Javascript Alerts, Confirmations And Prompts

Alerts, Confirmation and Prompts are very commonly used elements of any software webpage and you must know how to handle all these popups In selenium webdriver software automation testing tool. If you know, Selenium IDE has many commands to handle alerts, confirmations and prompt popups like assertAlert, assertConfirmation, storeAlert, verifyAlertPresent, etc.. First of all, Let me show you all three … Read more