This is a migrated thread and some comments may be shown as answers.

Unable to identify elements in Iframe in dotnet application

3 Answers 136 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Deepak
Top achievements
Rank 1
Deepak asked on 23 Sep 2011, 01:43 PM
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

3 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 23 Sep 2011, 09:04 PM
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
0
Deepak
Top achievements
Rank 1
answered on 25 Sep 2011, 07:20 PM

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

0
Anthony
Telerik team
answered on 26 Sep 2011, 04:23 PM
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
Tags
General Discussions
Asked by
Deepak
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Deepak
Top achievements
Rank 1
Share this question
or