How do I call a test case from usercode?
Posted: Mon Sep 10, 2012 3:52 pm
This is a real beginners question, I'm sure, but I am not a .net programmer by career, I'm a tester.
I do know that usually you would create an instance of the object required and then call something like a "run" method but I am having a real job working out which objects to create and in what order.
A piece of code like
references abc.cde.efg
dim mycase as new ranorex.test.testcase("test case 4")
mycase.run
would be great.
I want to use usercode to detect the state of a window - easy, cone that - then depending on this state I want to run one of two other scripts, thus giving me flow control in my suite.
Any help appreciated.
orbistest
I do know that usually you would create an instance of the object required and then call something like a "run" method but I am having a real job working out which objects to create and in what order.
A piece of code like
references abc.cde.efg
dim mycase as new ranorex.test.testcase("test case 4")
mycase.run
would be great.
I want to use usercode to detect the state of a window - easy, cone that - then depending on this state I want to run one of two other scripts, thus giving me flow control in my suite.
Any help appreciated.
orbistest