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

Data Drive Drag 'N Drop Targets

4 Answers 62 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anju
Top achievements
Rank 1
Anju asked on 13 Jun 2013, 12:04 AM
Hi,

I have a scenario where there are 7-10 radtileitems for which I need to check the drag n drop functionality. It is an element to element drag-drop. In short, I should be interchange any radtileitem's position with any other radtileitem's position in the same window.

Is there any way to data drive the drag and drop targets, cos there there would be many combinations of drag and drop to be tested and it is gonna be hard to record each of then separately.

Thanks in advance.

Regards,
Anju

4 Answers, 1 is accepted

Sort by
0
Anju
Top achievements
Rank 1
answered on 13 Jun 2013, 02:53 AM
Hi,

I want to update this post as I found a partial solution for this. I tried data driving the find logic for both drag and drop targets. It is working but only for those elements which are visible in the current window.

I have 10 radtile items of which only 4 can be seen on the window displayed. If we want to view the rest, a scroll bar on the right side of the tile view has to be scrolled down. So when I data drive the find logic for the tile items, the drag and drop is happening only for the first 4 tile items which are visible.

Please let me know if my approach of data driving find logic is correct or not. Also advise if  there is any solution for the issue that I have explained above.

Thanks & Regards,
Anju

0
Ivaylo
Telerik team
answered on 17 Jun 2013, 02:50 PM
Hello Anju,

We discussed this in a GTM last week and explained the best way to proceed in your case.

Regards,
Ivaylo
Telerik
Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
Reserve your seat today!
0
Anju
Top achievements
Rank 1
answered on 19 Jun 2013, 01:41 AM

Hi Ivaylo,

Thanks a lot for the GTM session.

Depending on your inputs I tried implementing my test cases with coded steps to scroll and make the elements visible. I added a check
'IF the element is visible then (drag n drop) ELSE coded step to scroll it to visible'.

I am facing an issue here. The control is never going to ELSE part. 

Is it because, when i check if the element is visible or not, then it checks the 'visible' property of the control (which i believe is always true in my case) and not check whether it is visible on the current screen or not.

If it is not checking the element's visibility on the current screen, then is there any work around to check that?

I tried the same with (Verify if the element exists) also, but even that is not checking the same way as 'visible' and is not going to ELSE part.

Thanks in advance.

Regards,
Anju
0
Ivaylo
Telerik team
answered on 20 Jun 2013, 08:26 AM
Hello Anju,

We will take a look at this in the tomorrow's GTM I have scheduled for the hover over issue.
Hope that works for you.

Thank you for your patience.

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