The online community for software testing & quality assurance professionals
   
Active Topics Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Jobs
Training
News
Links
Downloads

News Group:
software.testing


Testing
Automation
Performance
Engineering
Miscellaneous
Statistics
Poll
  QA Forums
  WinRunner
  Help in Exception Handling

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Help in Exception Handling
manjunathreddy
Member

Posts: 11
Registered: May 2002

posted 08-14-2002 11:25 PM     Click Here to See the Profile for manjunathreddy   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by manjunathreddy
Hi all,
Can somebody help me in handling the exceptions in Winrunner as "do & except" are used in Silk Test.

I tried creating define_popup_exception(), created a function to handle the exception as shown in the MI Winrunner tutorials. Called the exception_on() in my script, but my script is unable to handling the exception Windows.

It would be of great help if a sample script is posted.

Thanks in advance.

IP Logged

cranem451
Guru

Posts: 395
Registered: Mar 2002

posted 08-15-2002 12:13 AM     Click Here to See the Profile for cranem451   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by cranem451
Link to sample code: 1882862.zip

This was tested on WinRunenr 7.0 on Windows 98 Second Edition. Create a GUI map for Windows Notepad.

When the script is running if you open a Dialog window the Exception Handler should close that Window.

Good Luck.

------------------
cranem451 - cranem@addendum.com

IP Logged

All times are PT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A Reply
Hop to:

Contact Us | BetaSoft Inc. | Privacy Statement

Copyright © 1997-2003 BetaSoft Inc.


Ultimate Bulletin Board 5.45c