Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on How To handle Page cannot be displayed error within the QTP forums, part of the Software Testing category; Hi All, while running my QTP Scripts sometimes my application does not come up and IE Page displayes as Page cannot be displayed. It is not exactly Server crash for ...
|
|||||||
|
|||
|
Hi All,
while running my QTP Scripts sometimes my application does not come up and IE Page displayes as Page cannot be displayed. It is not exactly Server crash for which i can use Exceptional handling. I would like my script to restart or i want it to stop and display me a message in results. How can i handle this? |
| Sponsored Links |
|
|||
|
Re: How To handle Page cannot be displayed error
Quote:
If you want to stop the test make the function and write down ExitTest Hope this will work.... Tell me if it works |
|
|||
|
Re: How To handle Page cannot be displayed error
Browser("[ABC]").Page("[ABC1]").Sync
IF NOT Browser("[ABC]").Page("[ABC1]").WebEdit("txtbox").Exist THEN Reporter.ReportEvent(micFail,"Page1","Page cannot be displayed.") END IF -Here I have used WebEdit("txtbox"). You can use any web object that gets displayed on the page by default.
__________________
Lack of WILL POWER has caused more failure than lack of INTELLIGENCE or ABILITY. -sutnarcha- |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The results of the last test alone is displayed | aarthi_28 | QTP | 4 | 04-22-2008 12:42 PM |
| Verify that this objects properties match an object currently displayed | workhomes | QTP | 2 | 12-21-2007 02:41 AM |
| Invoke JSP error page from servlet | jayalakshmic | JSP | 3 | 08-15-2007 06:31 AM |
| What should i do to rectify ERROR ON PAGE problem | Geek_Guest | QTP | 1 | 07-18-2007 06:49 AM |
| Print icons are not displayed in run mode | Santhana KrishnaN | ASP.NET | 0 | 06-19-2007 02:57 AM |