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

Targeting element issue

3 Answers 20 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 27 Feb 2014, 08:51 AM
Hi,

When recording a test I cannot seem to get the recorder to see click events on the following code. Neither the textbox or the Cascadingdropdown are recognized. Im guessing the issue is the UpdatePanel?

Any ideas?

Cheers
Jeremy

 <asp:UpdatePanel ID="patternFilterUpdate" runat="server">
        <ContentTemplate>
            <Asp:textBox id="txtPatternName" runat="server" width="180" CSSClass="txtInput"  />
              <ajaxToolkit:PopupControlExtender ID="PopupControlExtender1" runat="server"
                TargetControlID="txtPatternName"
                PopupControlID="pnlpatternfiltering"
                Position="Bottom"/>
        </ContentTemplate>
    </asp:UpdatePanel>
    
    <asp:panel runat="server" id="pnlpatternfiltering" CssClass="absolute">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
        <ajaxToolkit:CascadingDropDown 
        EnableViewState="true"
        ID="CDDPattern"
        runat="server"
        TargetControlID="sbxorebody" 
        LoadingText="--Loading --"
        Category="Orebody" 
        PromptText="Select " 
        ServicePath="~/Services/PatternFilterService.asmx"
        ServiceMethod="GetOrebodies"
        ShowIgnore="False" />

3 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 03 Mar 2014, 11:28 AM
Hello Jeremy,

I'm playing with similar demos to see if there is something specific to the AjaxToolkit DropDown or UpdatePanel but these work pretty fine with recording on my end. Can you please check the following demos as well and get back to me with the result on your end?

CascadingDropDown Sample
UpdatePanelAnimation Sample

Can you also share more details? Is this a problem IE recording only? Which version of IE do you get this on? Do you get an exception in the application log?

I'm looking forward to hearing from you.

Regards,
Konstantin Petkov
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Jeremy
Top achievements
Rank 1
answered on 04 Mar 2014, 05:03 AM
Hi Konstantin,

I'm using IE10 and both demo's work correctly. Out of curiosity i checked the process with Chrome and this works!

Application log reads

[03/04 12:58:53,IEXPLORE.EXE(10876:1),Uncategorized] IERecordingSurface.ProcessClick() : ElementProxy from GetElementProxyFromIHtmlElement is not null
[03/04 12:58:53,IEXPLORE.EXE(10876:1),Recording] IERecordingSurface.ProcessClick() : Element clicked tag : SELECT
[03/04 12:58:54,IEXPLORE.EXE(10876:1),Recording] IERecordingSurface.ProcessClick() : (IERecordingSurface.ProcessClick) Processing an Html Click event
[03/04 12:58:54,IEXPLORE.EXE(10876:1),Recording] IERecordingSurface.ProcessClick() : Retrieving IHtmlElement from Point


Not sure if there is supposed to be log entries after this but that's all that is recorded.

Any ideas?
Cheers
Jeremy

0
Konstantin Petkov
Telerik team
answered on 04 Mar 2014, 07:55 AM
Hello,

OK, than that seems to be specific to the application and not the components. Is there a way we can access the app to replicate the issue locally? You can submit private support ticket to avoid sharing private info to public if needed.

Regards,
Konstantin Petkov
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Jeremy
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Jeremy
Top achievements
Rank 1
Share this question
or