Technology specific object identification, supported applications, web technologies, and 3rd party controls.
- Posts: 20
- Joined: Thu May 09, 2013 10:44 am
I need some help to solve a trouble.
I've recorded a test in an environment (for example: mySite/test/).
Now we have moved to an other environment (mySite/validation/), but the test seems not work.
I was expecting to track items again, but the problem is that I need some code to enable/disable some test cases testing data in data source.
Well, the instruction:
Code: Select all
TestSuite.Current.GetTestCase("MyTestCase").Checked = true;
no longer works, but "MyTestCase" is still there.
Can anybody help me?
Thanx a lot
- Site Admin
- Posts: 12173
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
In order to test more environments you have to adapt your RanoreXPath as shown below.
/dom[@domain='www.mysite.com' and @path='/test/' or @path='/validation/']
If you do this Ranorex will find both applications.
I hope this will help solving your issue.