Share
Go down
sawyer
Posts : 5
Join date : 2013-10-10

[SOLVED] Switching to next test case in case of failure & using a .bat file for multiple tests

on Thu Oct 10, 2013 2:48 pm
Hi,
I launch selenium RC tests suite with a .bat file. My suite only contains two tests, but if the first one fail it justs stop and i would like my suite to go on and launch the second one.
I don't succeed on my tries so i'm asking if someone know how to do that.

Thanks a lot.
Guillaume


Last edited by sawyer on Fri Oct 11, 2013 8:35 pm; edited 1 time in total
sawyer
Posts : 5
Join date : 2013-10-10

Re: [SOLVED] Switching to next test case in case of failure & using a .bat file for multiple tests

on Thu Oct 10, 2013 4:25 pm
Hi,
New problem hard to solve : how is it possible to test, in a suite, tests on different URL ? It always keep the URL of the first test and then the others don't find their own good url.

Thanks
sawyer
Posts : 5
Join date : 2013-10-10

Re: [SOLVED] Switching to next test case in case of failure & using a .bat file for multiple tests

on Fri Oct 11, 2013 8:32 pm
I've found out how to make this work : by creating a test suite for every single test, AND launching firefox for each new test suite  :

My .bat file looks like this :

Code:
cd {directory}
java -jar "selenium-server-standalone-2.35.0.jar" -htmlSuite *firefox "{URL1}" "Suite1" "suite1Report.html"
java -jar "selenium-server-standalone-2.35.0.jar" -htmlSuite *firefox "{URL2}" "Suite2" "suite2Report.html"
pause
++
Sponsored content

Re: [SOLVED] Switching to next test case in case of failure & using a .bat file for multiple tests

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