--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/uCiOqlfZ-w4J.
For more options, visit https://groups.google.com/groups/opt_out.
Why dont you try converting it as an executable jar ?
That way you could execute it by doing java -jar myjar.jar or by merely double-clicking on the jar name.
On Thursday, February 7, 2013, Hemapriya Rajendran wrote:
Hi,
Is it possible to convert Selenium scripts into the standalone exe file?
I am using TestNG using Java for selenium. Can you please tell me how to make it as standlone exe file? means running outside the eclipse.
Please do the needful.
Thanks,
Hemapriya R
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/uCiOqlfZ-w4J.
For more options, visit https://groups.google.com/groups/opt_out.
Can you please explain how to do that?
I have my code which is executable in Eclipse.
How to make it using the mentioned jar to run outside the Eclipse?
Please do the needful.
thanks,
Hemapriya R
On Thursday, February 7, 2013 10:06:47 AM UTC+5:30, Krishnan wrote:
Why dont you try converting it as an executable jar ?
That way you could execute it by doing java -jar myjar.jar or by merely double-clicking on the jar name.
On Thursday, February 7, 2013, Hemapriya Rajendran wrote:
Hi,
Is it possible to convert Selenium scripts into the standalone exe file?
I am using TestNG using Java for selenium. Can you please tell me how to make it as standlone exe file? means running outside the eclipse.
Please do the needful.
Thanks,
Hemapriya R
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/uCiOqlfZ-w4J.
For more options, visit https://groups.google.com/groups/opt_out.
Use WebDriver with C# .NET
Hi hema,
If you are using Ant with TestNg then you can create ".Bat" file and you can run your all test cases without using eclipse.
Thanks,
Muzzamil
--
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGnE4XD5YqVOs5hO%3DeRBbndpG-zXiNa0s7QcRPdzJUSXkeeTnA%40mail.gmail.com.
import org.junit.runner.JUnitCore; import org.junit.runner.Result;
And use following code inside main class to call your programe:
Result result = JUnitCore.runClasses(<classtoexe>.class);