Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
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 Empty [SOLVED] Switching to next test case in case of failure & using a .bat file for multiple tests

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
avatar
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 Empty Re: [SOLVED] Switching to next test case in case of failure & using a .bat file for multiple tests

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
avatar
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 Empty Re: [SOLVED] Switching to next test case in case of failure & using a .bat file for multiple tests

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

[SOLVED] Switching to next test case in case of failure & using a .bat file for multiple tests Empty 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