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

How to select button based on configuration while executing the test script?

1 Answer 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kanif
Top achievements
Rank 1
Kanif asked on 09 Dec 2014, 01:35 PM
Hi,
I have few queries around How to select button based on configuration while executing the test script?:

i) Can you please guide me on how to automate following case:
On Product listing page listed there are three products listed which I can Add into Cart. I want to make product selection based on the configuration file (CSV or XLS..), means if config file saying add first product or first two products then script should consider this. I am able to do it from Coded Step, However needed to confirm if it is possible using built-in features of Telerik Test Studio.
ii) Is it possible to pass logical condition in the if else loop like logical checking with variables, I am able to add only the verification steps in this logical conditions.

Thanks,
Kanif

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 12 Dec 2014, 12:25 PM
Hello Kanif,

This is way to complex without coded solution, if you have implemented this using coded step, you can keep it this way.

You can make selection based on configuration file by data driving your test like shown here.

Unfortunately you can add only verification steps in the logical conditions.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Kanif
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or