I've claim Id textbox, if claim id is duplicate,claim found
link appears below claim id textbox. When clicked on this link it shows existing claim details. I need to test this click event and popup.
public HtmlHyperlink UIClaimFoundHyperlink
{
get
{
if ((this.mClaimFoundHyperlink == null))
{
this.mClaimFoundHyperlink = new HtmlHyperlink(this);
#region Search Criteria
this.mClaimFoundHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Id] = "aClaimLink";
this.mClaimFoundHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Name] = null;
this.mClaimFoundHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.Target] = null;
this.mClaimFoundHyperlink.SearchProperties[HtmlHyperlink.PropertyNames.InnerText] = "Claim Found";
this.mClaimFoundHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Title] = null;
this.mClaimFoundHyperlink.FilterProperties[HtmlHyperlink.PropertyNames.Class] = "listTblData-hotlink-noalign";
#endregion
}
return this.mClaimFoundHyperlink;
}
}
if (claimFound_Hyperlink.Exists)
{
Mouse.Click(claimFound_Hyperlink);
}
but it's throwing
Cannot perform 'Click' on the hidden control.
I tried existing solutions but not working for me. I can see the control on UI.
I see exceptions on 'alt
' 'type
' 'value attribute
'
ex--> 'claimFound_Hyperlink.Alt
' threw an exception of type 'System.NotSupportedException
'
Could this be problem ?
Please help.