How could i stop selenium-webdriver testcases at middle

1,574 views
Skip to first unread message

Pradeep Siluveru

unread,
May 28, 2012, 8:49:03 AM5/28/12
to seleniu...@googlegroups.com
Hi Friends,

I am facing one problem with selenium webdriver test cases .I have written Test Suite in that i tried to execute 10 test cases but at middle of the test cases execution i closed the command prompt(Through maven file executing).

but the test cases are not getting stopped.It's keep on executing until the end of the test cases.Now pls suggest me how could i stop the test case execution like Selenium RC we have selenium-server stop URL.

Kindly give me suggestions asap.

--
Thanks&Regards,
S.PradeepKumar

Mark Collin

unread,
May 28, 2012, 8:56:53 AM5/28/12
to seleniu...@googlegroups.com

Windows 7?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.

Pradeep Siluveru

unread,
May 28, 2012, 8:58:06 AM5/28/12
to seleniu...@googlegroups.com
no Windows XP
--
Thanks&Regards,
S.PradeepKumar

saju thomas

unread,
May 28, 2012, 10:11:18 AM5/28/12
to seleniu...@googlegroups.com
Kill the process , here are the invoking ones :

maven.dyndns.org/2/org/jvnet/winp/winp/1.5/

Pradeep Siluveru

unread,
May 28, 2012, 10:20:07 AM5/28/12
to seleniu...@googlegroups.com
Not able to open the link ....

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/bYAJHkx-MjMJ.

To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.



--
Thanks&Regards,
S.PradeepKumar

Pradeep Siluveru

unread,
May 28, 2012, 10:22:30 AM5/28/12
to seleniu...@googlegroups.com
sorry got it thank you..
will update you once i have done..
--
Thanks&Regards,
S.PradeepKumar

Mark Collin

unread,
May 29, 2012, 8:40:38 AM5/29/12
to seleniu...@googlegroups.com

Sounds like maven has spawned a background process that no longer requires the command prompt.  You could use task manager to kill off the java processes.

Pradeep Siluveru

unread,
May 30, 2012, 1:38:51 AM5/30/12
to seleniu...@googlegroups.com
If i kill the java processes then my other applications also getting closed.like Eclipse and some other tools are using everything works from java only.
Any suggestion..

Mark Collin

unread,
May 30, 2012, 3:45:58 AM5/30/12
to seleniu...@googlegroups.com

When I said kill the Java process I meant the ones spawned by maven, not every one J

 

Instead of closing the command prompt you could just CTRL + C, it should then ask you if you want to terminate the batch process.

Pradeep Siluveru

unread,
May 30, 2012, 9:38:46 AM5/30/12
to seleniu...@googlegroups.com
I tried to stop java.exe which is spawned by maven and i am confusing like which one will be the jave.exe, stopped one java.exe not get stopped ,there it is showing more java.exe.
tried  taskkill /IM java.exe also.Actually we will execute the testcases from our own tool there close button will be there ,once i clicked it should get stopped, for RC i used server-stop URL, there it was worked.Same thing now for Web driver test cases i need to stop with that close button for that how can use the command in the code if i use  taskkill /IM java.exe 
it is not working .

Pls give me more suggestions..

Thanks for your reply in Advance...

Pradeep Siluveru

unread,
May 30, 2012, 9:40:11 AM5/30/12
to seleniu...@googlegroups.com
sorry ..i used Ctrl+C also not worked..
--
Thanks&Regards,
S.PradeepKumar

Reply all
Reply to author
Forward
0 new messages