Page 1 of 1

Reuse Recording(.rxrec) file

Posted: Sun May 18, 2014 7:38 am
by Rakesh123
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.

Thanks,
Rakesh

Re: Reuse Recording(.rxrec) file

Posted: Sun May 18, 2014 10:19 am
by odklizec
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
|_[Login.rxrec]
...your other recordings for TC1
[TC-2] - data connector 2
|_[Login.rxrec]
...your other recordings for TC2