Problems finding a dynamic element

3 posts, 0 answers
  1. John
    John avatar
    11 posts
    Member since:
    Nov 2012

    Posted 16 Nov 2012 Link to this post

    I am having a hard time verifying the text contained in some dynamic content on my web page. 
    Here are the steps that I am taking. 

    Navigate to the Web site
    Type in 'WA' in the input box of the jQuery-ui Dynamic Drop Down List
    Wait until the list comes up
    Select the 8th list item
    Verify its text

    Unfortunately when I try to record this test it does not grab the list item it actually is grabbing so non-dynamic content that is directly behind the list box item.  I think that this is because the List goes away as soon as you try to select the list item.

    Is there any way to grab the dynamic content.   I know that in MSFT CodedUI you have to actually hold down the ctrl key when you click the element you are trying to capture.  Do you do anything like that with this?

  2. Byron
    Byron avatar
    184 posts

    Posted 16 Nov 2012 Link to this post

    Hi John,

    Thanks again for trying Test Studio. If you are using a Telerik RadControl, you can use hover-over highlighting to access the different control elements through our translator. Otherwise, I recommend adding the element from the DOM in the Find Element dialog. I also recommend reviewing our documentation on using chained find expressions. Specifically, you can use a chained find expression to locate the drop-down and then the list item below it in the DOM; this way, you may be able to create a more reliable find expression for the child element.

    Please let us know if we can help you further.

    All the best,
    the Telerik team
    Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
    Vote now
  3. John
    John avatar
    11 posts
    Member since:
    Nov 2012

    Posted 16 Nov 2012 Link to this post

    I have been trying to use a find expression from a coded step.  When I run it, it appears to not actually generate the dynamic UL (unordered list) that it should be, even though it should be triggered by the action of typing a string into the auto complete text input.  I can try some of the other methods mentioned below.
Back to Top