I need to handle the error "The Page cannot be displayed" in my application.
Can someone tell me how to record/capture this page and handle in the script?
I tried Recovery Scenario but could not find any Solution.
try if web event recording option helps you
Rajesh Kumar Chengalpathy
If Browser("micClass:=Page").Page("micClass:=Page").W ebTable("innerText:=The page cannot be found.*").Exist Then
MsgBox "page not found"
My linkedIn Profile
If it a generic error page then you can check out the location URL of the document. The generic one for the page cannot be displayed is "res://C:\SYSROOT\system32\shdoclc.dll/dnserror.htm#http://www.yahoooss.com/"
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **