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
run individual test case
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: run individual test case
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
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