Test Case Identification no longer working

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
generalecaster
Posts: 20
Joined: Thu May 09, 2013 10:44 am

Test Case Identification no longer working

Post by generalecaster » Thu May 30, 2013 12:36 pm

Hi all,

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
Max

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

Re: Test Case Identification no longer working

Post by Support Team » Fri May 31, 2013 4:04 pm

Hello Max,

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.

Regards,
Bernhard