run individual test case

Class library usage, coding and language questions.
Posts: 176
Joined: Mon Apr 06, 2015 5:40 am

run individual test case

Post by c676228 » Tue Jun 09, 2015 6:19 pm


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?


User avatar
Support Team
Site Admin
Site Admin
Posts: 12169
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: run individual test case

Post by Support Team » Wed Jun 17, 2015 11:49 am

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.