Find test case ID dynamically.
I want to add behavior where a specific set of test cases with 2.1.1 choose a link after logging into the portal.
What code would work?
public static void choosePortal()
{
if(TestCase.Equals("
}
Any tips?
Choose based on Test Case ID
Re: Choose based on Test Case ID
This post mentions how to get the current test name:
http://www.ranorex.com/forum/how-to-get ... t2894.html
From there you can check the string.contains result for the specific text you are looking for and do what you need to do using an If/Then or Case statement...
http://www.ranorex.com/forum/how-to-get ... t2894.html
From there you can check the string.contains result for the specific text you are looking for and do what you need to do using an If/Then or Case statement...
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...