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?
Class library usage, coding and language questions.
2 posts • Page 1 of 1