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

Data Driven and Looping Combo

3 Answers 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aswin
Top achievements
Rank 2
Aswin asked on 12 Jun 2013, 10:17 AM
Hi, I've this Silverlight scenario:

To input the the items of an user in a comment box. My sample excel file is like this:

User ID Item 1 Item 2 Item 3
================================
12 Table Chair
34 Jar Knife Fruits
45 Dog

For a user's iteration, Data has to be entered and a button has to be clicked to record the data.
Ex: For user 12's run: Data-->Click (To be iterated 2 times); For user 34's run, it has to be iterated thrice, and so on.

I've tried a lot, still cant figure out how can I iterate or loop this scenario. I think it is a combo of looping and data driven. Since the no. of items owned by user is not constant, I'm a lot confused. Please help me out.

Thanks !

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 12 Jun 2013, 12:58 PM
Hi Aswin,

Thank you for contacting us.

You should change slightly the structure of your Excel file:

User ID     Data
============
12   Table
12    Chair
34   Jar
34   Knife
34       Fruits

Now the user with ID 12 will be added 2 times with its data, user ID with 34 will be added 3 times with its data.

Here is a demonstration video.

Let me know if this helps. 
 

Regards,
Boyan Boev
Telerik
Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
Reserve your seat today!
0
Aswin
Top achievements
Rank 2
answered on 13 Jun 2013, 05:56 AM
Thanks Boyan for the Reply. But I'm afraid I cannot modify the Excel as you said. There are several other data in the Excel file.

In your demo video User ID is also serves as an Input. Since I'm working on Silverlight, I could explain more I think so. 

In my case, User ID's will be listed. Upon clicking each ID, it will be opening a frame in Silverlight site. I have to process several things inside the frame, and there will be a comment box in the corner where I need to put my data. And then close the frame (i.e. User ID). So I can process only one ID at a time. After finishing that, the other frame (i,e other User ID starts).

Hope I explained good. Forgive me I cannot disclose more details.
0
Boyan Boev
Telerik team
answered on 17 Jun 2013, 12:24 PM
Hi Aswin,

I am not sure I understand you correctly. Even there is a frame you can open it the same way as in the video an insert the data after that.

A Jing video demonstrating the issue may also help us to better understand what is happening. 

If you continue to have difficulty, we'll need to reproduce the issue locally in order to investigate what is happening and find a workable solution for you. Please provide us with a copy of your test and access to your application. If it is not possible to grant us access to your application, please take a Fiddler trace using FiddlerCap and send it to us in a zip file.

Hope to hear from you soon.  

Regards,
Boyan Boev
Telerik
Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
Reserve your seat today!
Tags
General Discussions
Asked by
Aswin
Top achievements
Rank 2
Answers by
Boyan Boev
Telerik team
Aswin
Top achievements
Rank 2
Share this question
or