Share
Go down
saint_angerrr
Posts : 9
Join date : 2010-05-29

cross browser testing

on Thu Jun 10, 2010 10:52 pm
hi all.....how to do cross browser testing with selenium scripts...i have tried doing this
java -jar selenium-server.jar -htmlSuite browser website html_test_suite results_locationand it is not working for me...i dont know for what reason....can any1 help n tell me where n wat i am doing wrong ? ....n alsso please if there is any other way of doing cross browser testing?
thanks.....
avatar
Advisor
------------------------
------------------------
Posts : 383
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: cross browser testing

on Fri Jun 11, 2010 12:16 pm
hi,

use command like this :

java -jar selenium-server.jar -multiwindow -htmlsuite "*iexplore", "http://192.168.2.183:8080/triarco_qa","C:\TRIARCO\Selenium_Automation_Scripts\Triarco_test_suite.html","C:\TRIARCO\Selenium_Automation_Scripts"

you can use the following browser:
*firefox
*chrome
*iexplore
*iehta

Best of luck.

Bye
saint_angerrr
Posts : 9
Join date : 2010-05-29

Re: cross browser testing

on Sat Jun 12, 2010 12:22 am
[img][/img]
[img][/img]
[img][/img]

plz look at this...and tell me where n wat is wrong i am doing.......do i have to create a testresult html file to save the result before? or it generates it itself?............plz help is needed....i appreciate ur reply Smile
toydtv
Posts : 2
Join date : 2010-07-05

Batch File - Remove commas ,

on Mon Jul 05, 2010 10:58 pm
1.1 Make sure HTML suite file(and folders) titled "c:\sel\login.html" exist in the location specified.
1. Remove the commas - my batch scripts run with the commas
2.Change the same of last Login.html to "c:\sel\resultsl\Login.html"

java -jar selenium-server.jar -htmlSuite "*firefox" "http://johnsmith/flt-staging.com" "c:\selenium\login.html" "c:\sel\resultsLogin.html"

Good luck to you Smile
Hope you are able to run scripts successfully!
toydtv
Posts : 2
Join date : 2010-07-05

Re: cross browser testing

on Mon Jul 05, 2010 11:00 pm
my batch scripts run with out the commas.
In answer to your question regarding
{....do i have to create a testresult html file to save the result
before? or it generates it itself?.}
No, you do not have to create the Results file
Selenium RC will create the Results file and if run with same name will overwrite/update the results file with most recent run results.

Good Luck!
d@06
Posts : 1
Join date : 2012-02-07

Re: cross browser testing

on Wed Feb 08, 2012 2:18 pm
Hi,
im very new to selenium and im using IDE. what are the steps i have to do for cross browser testing? anyone plz help me... Crying or Very sad
Sponsored content

Re: cross browser testing

Back to top
Permissions in this forum:
You cannot reply to topics in this forum