This is a migrated thread and some comments may be shown as answers.

Using data driven variables in a logical step

3 Answers 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
DemBones
Top achievements
Rank 1
DemBones asked on 06 Dec 2012, 02:06 AM
Hi,

I have found that it is possible to use data binding in a varification step, then convert the step to an IF statement.  This works as expected.

However if you try to add data binding to an IF statement, or change the data binding, there is no option to do so.

I consider this to be a bug.

See step 16 of the attached test which does not allow a user to set a data binding.  Steps 8 and 23 had the data binding set before converting to logical.

Regards
Hamish

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 06 Dec 2012, 01:47 PM
Hello Hamish,

Thank you for evaluating Test Studio.

You can change/add data source to a verification step in an IF statement. Please go to the properties of the IF step, which includes a verification step. The last option in the properties is "Verification" this is the options for the verification step. There you can change/add data source to it.

I recorded a short video to demonstrate how this works.

Let me know if you need further assistance.

All the best,
Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
DemBones
Top achievements
Rank 1
answered on 07 Dec 2012, 12:13 AM
Thanks for the clarification.

It appears in the video that you don't actually set the data binding.  When I do this I get an error dialog appear.  See attached video.

[Edit] Your forum doesn't have the ability to delete attachments, the video titled "IF Statement Data Binding Bug" is the best.  Note that this file is a .exe, but all it does is run a video player.


0
Boyan Boev
Telerik team
answered on 07 Dec 2012, 01:00 PM
Hello Hamish,

Yes you are right. Test Studio really crashes after changing the verification's data source. I logged a bug which you can track here: Public URL.

A temporary workaround here is to create a new verification with the new data source and add it to the if step.

I have updated Telerik Points to your Telerik.com account. We appreciate your feedback, which we rely on to improve our product.

Kind regards,
Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
DemBones
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
DemBones
Top achievements
Rank 1
Share this question
or