I am unable to capture the warning msgs thrown by the child window in the element explorer.
Pls ref the atachement attached with the thread.
Msg from the tool
---------------------------
Telerik - WebUI Test Studio
---------------------------
This element cannot be found in the current page.
---------------------------
OK
---------------------------
5 Answers, 1 is accepted
Are you running the latest SL v4 runtime on that machine? Please refer to this blog for details.
Kind regards,
Konstantin Petkov
the Telerik team
Yes I am running the latest SLV 4.0. I am able to capture the text box,dropdown, text block or buttonetc.. But not able to capture only this error or warnings.
Cheers,
Veera!!!
What steps did you perform that led up to the "This element cannot be found..." error message? What are you actually trying to capture... is it the "The user name or password is incorrect" warning message? Would it be possible for us to direct access your application so we can investigate what's going on first hand?
Kind regards,
Cody
the Telerik team
I am getting the error "This element cannot be found..." when i try to add the warning msg to teh elements explorer.
- Yes I am triying to capture the "The user name or password is incorrect" warning message. I have mark the warning msg in the attached screen shot.
- Since the application is not exposed to internet. I will not be able to provide you access to the application. sorry about that. If you want may be we can schedule a meeting so that we can investigate further. Thanks
Cheers,
Veera
First, make sure that you have IE set to default zoom level. The highlighting for the item in your provided screen shot is off slightly, and this is caused either by the zoom being off for the browser (IE), or by having the DPI setting adjusted to a setting other than the default of 96 DPI. Please use our KBase article on Highlighting for steps on how to check/resolve this facet.
From the looks of the screenshot, this appears to be a Silverlight control. If this is the case, we are aware of an issue with the DOM not updating after postback on a Silverlight control. In this type of scenario, add the following coded step after you cause the postback but before you look for the element:
C#
[CodedStep(@
"SL Refresh"
)]
public
void
SL_refresh()
{
SilverlightApp slapp = ActiveBrowser.SilverlightApps()[0];
slapp.RefreshVisualTrees();
}
VB.net
<CodedStep(
"SL Refresh"
)> _
Public
Sub
SL_refresh()
Dim
slapp
As
SilverlightApp = ActiveBrowser.SilverlightApps()(0)
slapp.RefreshVisualTrees()
End
Sub
I wasn't sure which language you are using, so I provided both. Feel free to personalize the coded step for your test. Please let us know the results, we will look for your reply.
Greetings,
Keaegan
the Telerik team