Posts

Showing posts with the label QA

Actual differences between Explicit and Implicit Waits

Hi All, As i have already mentioned the differences Explicit and Implicit Waits in my earlier post but now we will see the actual results. there will be two conditions we can think of it what will happen if implicit wait is greater than explicit wait OR  implicit wait is lower than explicit wait lets see what will happen Condition 1: implicit wait is greater than explicit wait            implicitlyWait = 10 seconds             explicitWait = 2 seconds             ///////////////////////////////////////             public static void main(String[]args) {             FirefoxDriver driver = new FirefoxDriver();             driver.manage...

WebDriver | Automation | launch/Execute on different version of Firefox

Image
Run tests on specific Firefox version | Selenium Firefox binary Imagine a situation where you have to test your web application against two different versions of the Firefox browser. By default, when you instantiate FirefoxDriver, the Firefox version that is available on the PATH variable is launched. But if you want to launch a different version of Firefox, we need to use Firefox Binary. For this first steps you have to install all the versions of Firefox which you want to test on your system. Make sure the installed Firefox versions on different path locations using Custom installation Installing multiple versions of Firefox Suppose you have already installed the Firefox( version 22 ) means default Firefox is already installed. this can be found on your program file location like this.. "C:\Program Files (x86)\Mozilla Firefox" Now we have to install another Firefox version (lets take Firefox version 23 ). 1. Download this version from Mozilla s...