Share
Go down
estherlouis
Posts : 3
Join date : 2012-04-19

step by instruction for creating test script in selenium rc for IE

on Thu Apr 19, 2012 11:53 am
Hi

I am new to selenium rc can anyone explain the steps by instruction for creating test script in different browser
avatar
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 31
Location : INDIA
http://radical-qa.blogspot.in/

Re: step by instruction for creating test script in selenium rc for IE

on Thu Apr 19, 2012 12:45 pm
You can use below steps to execute HTML scripts on different browser.

1.Download selenium RC from http://seleniumhq.org/download/
2.From selenium IDE save scripts as HTML test suite
3.Suppose Base URL is: http://www.google.com

Suppose path of your HTML test suite: C:\Selenium_Scripts\samplesuite.html
and your RC server path is C:\selenium\selenium-server.jar
Path of your result file C:\Selenium_Scripts\result.html

3.Go to command prompt
4.Run below command
C:\selenium>java -jar selenium-server.jar -htmlSuite "*iexplore" "http:\\www.google.com" "C:\Selenium_Scripts\samplesuite.html" "C:\Selenium_Scripts\result.html"

*iexplore is browser on which your script will execute.
For other browser refer
http://radical-qa.blogspot.in/2012/03/selenium-supported-browsers.html

_________________
Radical QA
http://radical-qa.blogspot.in/
Back to top
Permissions in this forum:
You cannot reply to topics in this forum