todd_james
12 years agoContributor
User Forms, Distributed Testing and Test Run Scheduling
I have run into a problem with user forms and distributed testing that I am hoping someone might have a fresh idea for as everything I have tried has failed.
I have a project suite that I am running using a batch file (calls TestExecute to run a network suite on a remote host using the command line) and windows task scheduler. This project runs a distributed tested on a remote host on a set schedule.
Users can also run this project on a demand when required and I have created a user form that allows them to run the test suite against different environments. This part works okay but what I am struggling with is skipping prompting for user input if the test is running on a remote machine (ie via the distributed schedule test).
I have tried checking the NetworkSuite.State, job.state and task.State but these all still end up prompting the user for input when my batch job runs,
Any ideas on how I can only show the UserForm if a user kicks off the test and is running locally versus the batch job running the distributed test on a remote machine?
I have a project suite that I am running using a batch file (calls TestExecute to run a network suite on a remote host using the command line) and windows task scheduler. This project runs a distributed tested on a remote host on a set schedule.
Users can also run this project on a demand when required and I have created a user form that allows them to run the test suite against different environments. This part works okay but what I am struggling with is skipping prompting for user input if the test is running on a remote machine (ie via the distributed schedule test).
I have tried checking the NetworkSuite.State, job.state and task.State but these all still end up prompting the user for input when my batch job runs,
Any ideas on how I can only show the UserForm if a user kicks off the test and is running locally versus the batch job running the distributed test on a remote machine?