
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I have recorded a simple login logout script
and when i do a try script for it on the login button i get below error. however silkperformer is able to login but give out this error
VUser-Profile1_1 localhost 51 00:00:05 Function BrowserClick "//INPUT[@id='lgnBase_LoginButton']",BUTTON_Left,"Click, INPUT, name=lgnBase$LoginButton (#1)"
VUser-Profile1_1 localhost 51 00:00:21 Timer 15.92 Page and Action Timer/Click, INPUT, name=lgnBase$LoginButton (#1)/Action time
VUser-Profile1_1 localhost 51 00:00:21 Error BrowserClick BrowserEngine: 32 - Internet Explorer request failed, INET_E_RESOURCE_NOT_FOUND (0x800c0005).
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
hi,
once i had an issue with a page loading without problems, but an iframe on that page requested a invalid resource - for instance when testing an internal page, implementing some functionality on an iframe that uses external resources and those resources are blocked by firewall (eg facebook or so).
when BDLT recording that internal site you wont get any errors, in the best case you'll just get some red 'x' on an image resource.
with internet explorer you'll experience the same behavior, without the f12 tools console you'll just see the red 'x's.
when doing a protocol recording of the internal site, you are able to see the requests that are causing the "red 'x'" in the truelog. you'll see the domain for the requests there, too. in the above example you'd see that all requests to facebook.com are failing. you don't need to use the record truelog approach, using a network monitoring tool is also fine.
so you could add a BrowserSetDomainSuppress("facebook.com") to your script right after BrowserStart and the request of the iframe to facebook.com will be suppressed and you won't get any errors for that.
setting error 32 of the Browser facility to info works fine, but is some kind of sledgehammer approach. all navigation errors will be suppressed, even those that are caused by simple typos - eg BrowserNavigate("http://www.mikrofokus.com") will succeed despite invalid url.
presuming that the failing requests are caused by an invalid/inaccessible resoure using BrowserSetDomainSuppress is a little bit more graceful. if they are caused by an invalid/inaccessible resource within the testsystems domain you'll have to use the sledgehammer.
hope, i could clarify soem things, if you have any more questions... 🙂
udo

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
is there more information in the truelog, info tab of the erroneous node?
br, udo

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Function: BrowserClick
Line number: 51
Time: Friday, February 3, 2017 5:37:10 PM
Duration: 0.00 sec
Locator: //INPUT[@id='lgnBase_LoginButton']
Completion status: Error
Info: Severity Time Description
Error 2017-02-03; 17:37:26 BrowserClick(BrowserEngine: 32 - Internet Explorer request failed, INET_E_RESOURCE_NOT_FOUND (0x800c0005).)
This is all i have in the true log not much of help i believe

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
hi,
when i get you right, replay succeeds, the click works. the page after the click is shown...
the error message might be caused by a layer (DIV, iframe) trying to navigate to some not existing/reachable page/resource. most probably you won't realize that during record or with IE as it does not affect your workflow.
i'd suggest to do a protocol recording of your page and check the record truelog for errors of that kind. if my suspicion is right you can add a BrowserSetDomainSuppress to your script or use the profile settings to set the severity of that error to warning/info/success.
of course, just in case i got you right and replay does just returns that error but the replay succeeds ("silkperformer is able to login but give out this error").
regards,
udo

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thanks for your help. you got me right. Replay just returns the error but replay succeeds. I added this error as info and it worked.
However i didnt get your first suggestion "i'd suggest to do a protocol recording of your page and check the record truelog for errors of that kind. if my suspicion is right you can add a BrowserSetDomainSuppress to your script"
Can you please elaborate on this please?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
hi,
once i had an issue with a page loading without problems, but an iframe on that page requested a invalid resource - for instance when testing an internal page, implementing some functionality on an iframe that uses external resources and those resources are blocked by firewall (eg facebook or so).
when BDLT recording that internal site you wont get any errors, in the best case you'll just get some red 'x' on an image resource.
with internet explorer you'll experience the same behavior, without the f12 tools console you'll just see the red 'x's.
when doing a protocol recording of the internal site, you are able to see the requests that are causing the "red 'x'" in the truelog. you'll see the domain for the requests there, too. in the above example you'd see that all requests to facebook.com are failing. you don't need to use the record truelog approach, using a network monitoring tool is also fine.
so you could add a BrowserSetDomainSuppress("facebook.com") to your script right after BrowserStart and the request of the iframe to facebook.com will be suppressed and you won't get any errors for that.
setting error 32 of the Browser facility to info works fine, but is some kind of sledgehammer approach. all navigation errors will be suppressed, even those that are caused by simple typos - eg BrowserNavigate("http://www.mikrofokus.com") will succeed despite invalid url.
presuming that the failing requests are caused by an invalid/inaccessible resoure using BrowserSetDomainSuppress is a little bit more graceful. if they are caused by an invalid/inaccessible resource within the testsystems domain you'll have to use the sledgehammer.
hope, i could clarify soem things, if you have any more questions... 🙂
udo

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content