Reuse Recording(.rxrec) file

Ranorex Studio, Spy, Recorder, and Driver.
Posts: 72
Joined: Thu Oct 28, 2010 2:18 pm

Reuse Recording(.rxrec) file

Post by Rakesh123 » Sun May 18, 2014 7:38 am

Hi Frnds,

I have a scenario where I need to login and do some functionality.

So I have created Test Case under my Test suite(.rxtst) & under the test case I added a .rxrec(Recorder file) with name Login.rxrec.

In Login.rxrec I am passing the user credentials(Username/Password).

I have another scenario where I want to use the same .rxrec(Login.rxrec) file with different user credentials.

But the problem is if I change the Login.rxrec file with different user credentials it is effected in the first Login.rxrec file also.

So,I don't know how to reuse the same recorded file for different scenarios.

Pls help me regarding this.


User avatar
Ranorex Guru
Ranorex Guru
Posts: 7469
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Reuse Recording(.rxrec) file

Post by odklizec » Sun May 18, 2014 10:19 am

Hi, what you need to do is to add that Login recording to two different test cases and then add each test case a different data connector with different login credentials. Of course, you need to connect the data connectors with the appropriate variables in your Login recording.

[TC-1] - data connector 1
...your other recordings for TC1
[TC-2] - data connector 2
...your other recordings for TC2
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration