Does anyone know how to run Webdriver scripts from command line? I
have written my tests in Eclipse. Now I have to make the run everyday
basis automatically,
Please guide me.
Thanks,
Aparna
Aparna
--
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.
There is a way to start TestNG from your Java code, or you can use Ant or some other method to
start it, as I know a lot of people here do. Personally, I have my program code manage it all,
so it works the same in the IDE and at the command line. Google for starting TestNG
programmatically and you will find it.
So all I do is (from the correct directory):
java -jar program.jar <command options>
For running them every day it would help to know what OS you are using. On Windows I use Task
Manager, but on Linux or some other *nix platform you would use cron. In either case the job
would run a script/batch file to run your test program, changing to the right directory, using
any command line options, etc.
I hope that helps you.
Mike
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
Can you please provide information on how to create a job which would
run in a bamboo environment? The tests are written in Java using the
selenium-standaloneserver jar file as a dependency on a windows
platform using eclipse.
Thanks
Manoj
On Dec 8, 6:34 am, Krishnan Mahadevan
<krishnan.mahadevan1...@gmail.com> wrote:
> The other alternative for kicking off tests automatically on a schedule
> would be to setup a hudson/jenkins server , create jobs on it which can be
> configured to kick off
>
> Thanks & Regards
> Krishnan Mahadevan
>
> "All the desirable things in life are either illegal, expensive, fattening
> or in love with someone else!"
>
> > To post to this group, send email to selenium-users@googlegroups.**com<seleniu...@googlegroups.com>
> > .
> > To unsubscribe from this group, send email to selenium-users+unsubscribe@*
> > *googlegroups.com <selenium-users%2Bunsu...@googlegroups.com>.
> > For more options, visit this group athttp://groups.google.com/**
> > group/selenium-users?hl=en<http://groups.google.com/group/selenium-users?hl=en>
> > .
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.
I want to run the Webdriver scripts through cmd prompt.My scripts are written in java n
is executed by Junit and TestNg both.Kindly,provide the solution.
Can u plz specify step by step like what is the command option and stuffs.
Thanks Pritz.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/Y3Sl0kgswmwJ.
For more options, visit https://groups.google.com/groups/opt_out.
--
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/-/Evha97uDYksJ.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/Ohq6ORcVm2A/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
Thanks so much,
Yes i have the same, like prepared xml, like below, but iam getting error when iam running it, command used
start ant -f xxxxx.xml
i have made above statement as bat file and executed then it is thorwing error like unrecognised <Suite>
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
<?xml version="1.0" encoding="UTF-8"?> <!-- Filename: testng.xml Note: You have to change the following according to your environment: -<class name="com.packageName.MyTestClassName" /> --> <!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" > <suite name="My Test Suite"> <test name="My Test"> <!-- Add all classes you would like TestNG to run. --> <classes> <class name="com.packageName.MyTestClassName" /> </classes> </test> </suite>
Hello All,Does anyone know how to run android webdriver scripts from command line? I do not use junit/testNG framework code in my code. I just want to get the out put thru command line. Can anyone help me in this?
Please guide me.
Thanks,
Amal