Unable to identify elements in Iframe in dotnet application

4 posts, 0 answers
  1. Deepak
    Deepak avatar
    3 posts
    Member since:
    Mar 2011

    Posted 23 Sep 2011 Link to this post

    Hi,

    We are using licensed Telerik TestStudio to test a dotnet application. We are facing issues in identyfing the elements on IFrame.
    Scenario is like this:

    Hit the url of the application a web page is displayed. Suppose there is a link-create new and on clicking create new a popup opens in the Iframe. Now in that Iframe there are two buttons - Run and Save. On clicking Save the UI changes in that Iframe. There is a text box in which we can specify the name. After that we click on Save button. Then a message is displayed - Saved successfully. After that we click on X mark on the top of the Iframe to close it.

    When we tried to capture these operations through Telerik, it is showing Click 'Div' for all the three operations. These three have same set of properties. We tried to locate through Find Element too but it was not locating the right  element on that IFrame.
    Kindly look into it and let me know how can we identify the elements using these set of properties.

    Thanks,
    Nitin
  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 23 Sep 2011 Link to this post

    Hi Nitin,

    I am confused by your statement "a popup opens in the Iframe".

    Typically we see HTML or Modal popup windows when recording (which can contain frames) that are launched from the parent page, or a frame containing separate content on the parent page. All of these scenarios are handled by Test Studio and should not require additional configuration unless the popup URLs or frame IDs are dynamic.

    If you are indeed trying to identify elements through a frame, you must ensure the frame properties are properly set. For example, if the frame has a dynamic ID, you should strip the dynamic portion and insert a tilde (~) before the static portion in the ID field to indicate a partial match.

    Of course, this assessment is mostly speculation without more clarification from you. Ideally we'd like to see the issue first-hand directly in your app. If it is publicly accessible, please provide us the means to test and reproduce the issue. If not, then the Step Failure Details and a Jing video (a free screen recorder) are great starts.

    Regards,
    Anthony
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Deepak
    Deepak avatar
    3 posts
    Member since:
    Mar 2011

    Posted 25 Sep 2011 Link to this post

    Hi,

    We have 4 iFrame on one page of the site. One of the iFrame contains button on clicking of which a new Pop up window is opened which is named as Reports.
    This new window contains few buttons. One of the button is Save. On clicking Save user can enter the name in the textbox and then again click on Save.
    While capturing this with Telerik, it shows Click'Div' for all the recording that is being done in the new Pop up window. Please suggest how it will be identified by the Telerik.

    Thanks,
    Nitin

  4. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 26 Sep 2011 Link to this post

    Hello Nitin,

    This sounds like an issue I encountered on a different customer's app. Recording in a multi-step modal pop-up window did not function correctly; I saw the same "Click Div" steps instead accurate step recording. Unfortunately that customer could not provide us with a reliable means of reproduction so the bug was not properly resolved. 

    If your app is publicly accessible, please provide us the means to test and reproduce the issue first-hand. Local reproduction is critical for demonstrating the bug to our developers and getting it fixed. If granting us access is not possible, the alternative is to provide us with a Fiddler Trace.

    Regards,
    Anthony
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top