Page 1 of 1

How to always use value in the excel when run test suit

Posted: Mon Sep 29, 2014 9:39 am
by shellyhu
Hello,

I have a recording which is used to open a application, it has a variable which is binding the path. Then in the test suit I right click to make it bind a excel sheet parameter. When I run the test suit, it uses the value in the excel sheet. When I only run this recording, it uses the value which I set in the variable settings. It is correct.

But when I call this recording in another code module, ( Recordings.OpenTT.Start() ) it uses the value in variable settings when I run the test suit. However, I want that it uses the value in excel sheet. In another words, I want it always uses the value in excel sheet when I run the test suit. How can I handle it. Could you help me ?

Thank you.

Best Regards

Shelly

Re: How to always use value in the excel when run test suit

Posted: Tue Sep 30, 2014 12:04 pm
by Support Team
Hello shellyhu,

Unfortunately, it is not possible to bind the data from the DataConnector to the variable when directly calling the recording. As you already mentioned correctly, the databinding is automatically triggered when executing the whole TestCase/TestSuite.

Regards,
Robert

Re: How to always use value in the excel when run test suit

Posted: Wed Oct 08, 2014 7:12 am
by shellyhu
Hi Robert,

Thank you very much.

So I have to give up to call the recordings in the user code if I want to use the DataConnector value. I can define a variable and a sub in the user code and bind it to the DataConnector.

Best Regards,

Shelly