How to locate the element

33 posts, 0 answers
  1. Alex
    Alex avatar
    22 posts
    Member since:
    Apr 2015

    Posted 30 Jul 2015 Link to this post

    Hi, Cody

    I have 2 problems:

    1. Telerik doesn't want to choose an item in combobox (ExtJS 4). But when we locate cursor on the combobox list items, its OK.
    Maybe something wrong with focus? This is a link to the video https://www.dropbox.com/s/0bjtbcyfka42i3m/%D0%97%D0%B0%D0%BF%D0%B8%D1%81%D1%8C_2015_07_29_12_07_40_88.mp4?dl=0

    2. We locate our elements(comboboxes) with a help of attribute - img. But when we add a new element to our main page, all indexes incrementing, and our test fails.

    Regards,

    Alex
  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 03 Aug 2015 Link to this post

    Hello,

    Sorry I did not get the chance to research your questions today. It's high in my queue for tomorrow.


    Regards,
    Cody
    Telerik 
  3. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 05 Aug 2015 Link to this post

    Hello Alex,

    Sorry for the delay. I watched your video but it doesn't give me enough information to troubleshoot the problem. I can only tell that you're getting an element not found error but I'm unable to see why.

    I am concerned how the find expression is using a TagIndex of div:600. It means to find div at index 601. What happens if a new div is added or removed? You'll get an element not found error. To determine if this is the problem please let the test fail then go to Step Failure Details, find and click Export then attach the generated .zip file. It contains valuable information we need to diagnose this type of failure.

    Why are you using img for your index? I'm sure there's a better way but I need to see the DOM for your application and the element you're trying to target to come up with a better approach.


    Regards,
    Cody
    Telerik 
Back to Top