Tuesday, August 21, 2018

Run Selenium Ide Exam Inwards Google Chrome Browser

| Tuesday, August 21, 2018
Earlier convey shared many tutorial examples on selenium IDE dissimilar commands in addition to Its usage. You tin stance each of that event on Selenium IDE Tutorial. Still many peoples are using selenium IDE to automate their pocket-size web applications in addition to sometimes they needs to perform compatibility testing In Google Chrome in addition to IE browsers similar submitting form, registration, login etc. activities.

We tin perform these activities real easily In google chrome in addition to IE browsers using Selenium WebDriver in addition to you lot tin stance related tutorials link on Selenium Tutorial. Is It possible to run selenium IDE assay In Google Chrome? Yes.. Follow steps given bellow to run selenium IDE assay In google chrome browser.

Steps To Execute Selenium IDE Test In Google Chrome Browser

Step 1 : Download Selenium Standalone Server

We request Selenium Standalone Server jounce file to execute selenium IDE assay In google chrome browser. Download Selenium Standalone Server file from THIS PAGE equally shown In bellow Image.



You volition acquire "selenium-server-standalone-2.46.0.jar" file when click on link equally shown In higher upward Image.

Copy glue "selenium-server-standalone-2.46.0.jar" file In D: stimulate for slowly access.

Note : 2.46.6 Is electrical current version of jounce file. It tin alter In future.

Step ii : Download ChromeDriver
You tin stance THIS POST to know how to download ChromeDriver server file. You volition acquire "chromedriver.exe" file.

Copy glue "chromedriver.exe" file In D: drive for slowly access.

Step three : Configure Selenium IDE
First of all you lot request to Install selenium IDE equally described In THIS POST If It Is non available amongst you lot In Mozilla Firefox browser.

  • Now Go To Selenium IDE window's "Options" carte du jour -> Select "Options" sub menu. It volition opened upward Selenium IDE Options dialog equally shown In bellow Image.
  • Select "WebDriver" tab in addition to cheque "Enable WebDriver Playback" check-box in addition to write "chrome" In browser choice textbox equally shown In bellow Image.
  • Click on "OK" push clit in addition to unopen Selenium IDE Window.
Step iv : Start Selenium Standalone Server and ChromeDriver
Note : "selenium-server-standalone-2.46.0.jar" in addition to "chromedriver.exe" files must live on In D: drive.

Follow steps given bellow to start selenium standalone server in addition to ChromeDriver.
  • Open ascendence prompt.
  • Navigate to D: stimulate yesteryear typing D: In ascendence prompt.
  • Execute bellow given ascendence In ascendence prompt.
  • It volition exhibit message "Selenium Server Is upward in addition to running" In ascendence prompt equally shown In bellow Image.
Note : Modify selenium standalone server version In bellow syntax If It Is dissimilar than 2.46.0 earlier execution.

Command To Execute In Command Prompt
java -jar selenium-server-standalone-2.46.0.jar -Dwebdriver.chrome.driver=chromedriver.exe

Step v : Execute Selenium IDE assay In Google chrome
Now nosotros are all laid upward to execute selenium IDE assay In google chrome browser.

Restart Selenium IDE in addition to and hence execute bellow given event assay In selenium IDE.

New Test
CommandTargetValue
openhttp://www.google.com
typexpath=//input[@name='q']test text
clickname=btnGi

It volition launch google chrome browser in addition to execute assay In It. This agency nosotros tin execute selenium IDE assay In Google Chrome browser.

Related Posts