Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by sawyer 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

Back to top Go down

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

Post by sawyer 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

Back to top Go down

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

Post by sawyer 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
++

sawyer

Posts : 5
Join date : 2013-10-10

Back to top Go down

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

Post by Sponsored content Today at 9:02 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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