Hi Robert,
Write your test scripts in unit test and add all test scripts unit test batch runner then you can call batch execution in .bat
file.
Thanks
Panikera
On 18 Dec 2015 4:48 pm, "robert abaribe" <aba...@gmail.com> wrote:
>
> Hi, I would like to know how to run a bat file that can call selenium test cases from Visual studios?
>
> Thank you in advance
>
> --
> 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/msgid/selenium-users/0154c9fa-238b-4247-8fde-42a86eece92d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo.FileName = @"c:\Auto\archive.bat";
process.StartInfo.WorkingDirectory = @"C:\Auto\" ;
process.Start();
process.WaitForExit(3000);
Cheers,
Adrian.