Kendo UI Date Picker and URL in table didn't work

3 posts, 0 answers
  1. Morgan
    Morgan avatar
    5 posts
    Member since:
    May 2013

    Posted 20 Jun 2013 Link to this post

    I have 2 problems. 

    I'm trying to test your kendo ui datepicker using test studio, but I can't click the month. my scenario is i want to go to 2 years before the default date.
    I'm trying three things to do this:
    1. Usual click
    2. Using command like "Desktop Command: Left Click...:"
    3. Using javascript on click command

    none of them works.
    The date picker we use is exactly like in your demo:
    http://demos.kendoui.com/web/grid/from-table.html


    My company also use Kendo Grid to display the data. We tweak it a little so you can click the data and it will redirect you to another page.
    My testing scenario is I want to click the data so i can go to another page.
    Three commands I already used and failed:
    1. KendoGridCell Click on Cell [2,0]    
    2. Desktop command: LeftClick on Go To TheLink
    3. Invoke 'OnClick' event on 'TableCell'


    Can you please help me solve my problem?



  2. Rodney
    Admin
    Rodney avatar
    6 posts

    Posted 24 Jun 2013 Link to this post

    Hi Morgan,

    Thank you for contacting Telerik. I was able to reproduce similar behavior and found a workaround. I would like to see this fixed so I’ve filed a bug report and notified our engineers of the behavior. You can track it’s progress and vote for its inclusion on future versions of Test Studio.

    The cause appears to be that Test Studio is recording the prev/next button’s image rather than the button’s link. That’s why you aren't seeing a change after trying multiple click steps. As a workaround, you can initially add the prev/next button to your project elements, and then edit the element’s expression so that Test Studio finds the prev/next link during playback.

    Here's a short video of what I did. I set the find expression to:  “Class Contains: k-link k-nav-prev”.

    Regarding your second question. We'll need more information regarding your test scenario. Please provide a copy of your test and access to your application. Also provide your test failure logs (there should be 5 files in the export). You can export these to file from the failure tab of your test and add them to a .zip. If you can't grant us access to your application, please take a Fiddler trace and attach it to a support ticket in a zip file. You can capture a Fiddler trace using FiddlerCap

    If the application is confidential, we can create a support ticket and address the issue in private. 

    Regards,
    Rodney
    Telerik
    Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
    Reserve your seat today!
  3. Rodney
    Admin
    Rodney avatar
    6 posts

    Posted 24 Jun 2013 Link to this post

    Hi Morgan,

    Here is a link to the Feedback Request: Public URL 

    Regards,
    Rodney
    Telerik
    Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
    Reserve your seat today!
Back to Top