Wednesday, December 31, 2014

Selenium IDE - Different Browser

Selenium scripts can run tests only against Firefox as the tool IDE itself is a plugin of Firefox. Tests developed using Selenium IDE can be executed against other browsers by saving it as Selenium WebDriver or Selenium Remote Control Script.
Step 1 : Open any saved Test in Selenium IDE.
Step 2 : Navigate to "File" menu and select "Export Test Suite As" and the options would be listed.
Selenium IDE 28
Step 3 : Now let us export the script to "WebDriver" and save it with a name.
Step 4 : The saved WebDriver file is displayed as shown below.
Selenium IDE 29

No comments: