Page 1 of 1

run individual test case

Posted: Tue Jun 09, 2015 6:19 pm
by c676228
Hi,

Is there a way to know whether the test case is running individually or it is one of the test cases of a running test suite in the user code?
I am trying to make testers to run individual test case without manually prepare a page so the test case can act on some certain UI elements directly.

One way is
I am adding some code in the init() to check if the specific UI element exists, if no, using Host.Local.OpenBrowser method etc to let program prepare a page. I expect this method will not be called if the test case is running within a test suite since the script flow will have the page available.

Are there any other ways?

thanks,
Betty

Re: run individual test case

Posted: Wed Jun 17, 2015 11:49 am
by Support Team
Hi Betty,

I am not exactly sure if I understand your question correctly, but maybe the Error Behavior settings can help you.
Conditions can currently only be handled in User Code.

Regards,
Bernhard