Data Drive Drag 'N Drop Targets

5 posts, 0 answers
  1. Anju
    Anju avatar
    14 posts
    Member since:
    May 2013

    Posted 12 Jun 2013 Link to this post

    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
  2. Anju
    Anju avatar
    14 posts
    Member since:
    May 2013

    Posted 12 Jun 2013 Link to this post

    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

  3. Ivaylo
    Admin
    Ivaylo avatar
    782 posts

    Posted 17 Jun 2013 Link to this post

    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!
  4. Anju
    Anju avatar
    14 posts
    Member since:
    May 2013

    Posted 18 Jun 2013 Link to this post


    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
  5. Ivaylo
    Admin
    Ivaylo avatar
    782 posts

    Posted 20 Jun 2013 Link to this post

    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!
Back to Top