44. Using *googlechrome for running the Selenium RC Automation Tests on Google Chrome Browser

*googlechrome is used to run the Selenium RC Automation Tests on Google Chrome Browser.

Lets Implement This:

1. Replace *firefox with *googlechrome in the project explained in our previous post as shown below:



2. Start the Selenium Standalone Server
3. Save and Run the 'Class15.java' file by selecting the 'JUnit Test' option and ensure that Selenium RC Automation Test is Run in Chrome Browser as shown below:





Watch the below video:

Click here to watch the video.

Download this Project:


Click here to download this project and import into Eclipse IDE  on your machine.


Please comment below to feedback or ask questions.

Using *iexplore for Running our Tests on Internet Explorer Browser will be explained in the next post.



1 comment:

  1. Hi Arun,
    Again the same scenario as with FF. When I add *googlechrome the script runs fine. But the chrome i have and the chrome the scripts are run is not the same versions.

    Can you please specify the syntax for the browser path to specify it in the open statement.

    Thanks.

    ReplyDelete

Followers

Labels