The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> HP Functional Testing / Mercury QuickTest Pro / QTP

Tarun LalwaniModerator
Veteran


Reged: 07/21/05
Posts: 15329
Loc: Milwaukee, Wisconsin
Re: Error Handling
      05/15/07 11:16 AM

Quote:

Only a few of the several functions that are in the library are listed.




Well if you would have looked at the QTP help file in more details then you might not have said that.

From QTP Help file
Quote:


Select functionChoose an existing function from the library file you selected.
Note: Only functions that match the prototype syntax for the trigger type selected in the Select Trigger Event Screen are displayed. Following is the prototype for each trigger type:

Test run error trigger
OnRunStep
(
[in] Object as Object: The object of the current step.
[in] Method as String: The method of the current step.
[in] Arguments as Array: The actual method's arguments.
[in] Result as Integer: The actual method's result.
)

Pop-up window and Object state triggers
OnObject
(
[in] Object as Object: The detected object.
)

Application crash trigger
OnProcess
(
[in] ProcessName as String: The detected process's Name.
[in] ProcessId as Integer: The detected process' ID.
)






--------------------
Regards,
Tarun
** First ever technical novel - And I thought I knew QTP! **
** Download QTP Unplugged 2nd Edition eBook for FREE **

KnowledgeInbox RSS

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* Error Handling negi_kishore 04/30/07 12:46 AM
. * * Need advice from experts in Error Handling.... tester9000   06/25/07 12:09 AM
. * * Re: Need advice from experts in Error Handling.... Tarun LalwaniModerator   06/25/07 09:04 AM
. * * Re: Error Handling rscholz660   04/30/07 12:59 AM
. * * Re: Error Handling Tarun LalwaniModerator   04/30/07 01:13 AM
. * * Re: Error Handling msnreddy   04/28/09 03:17 AM
. * * Re: Error Handling BmoreCareful   04/28/09 12:18 PM
. * * Re: Error Handling Jits   05/08/07 11:12 PM
. * * Re: Error Handling Tarun LalwaniModerator   05/08/07 11:49 PM
. * * Re: Error Handling glenn martin   05/09/07 10:21 AM
. * * Re: Error Handling Tarun LalwaniModerator   05/09/07 11:46 PM
. * * Re: Error Handling ragh   01/17/08 03:08 AM
. * * Re: Error Handling Tarun LalwaniModerator   01/17/08 03:10 AM
. * * Re: Error Handling darkstar   09/03/08 10:30 PM
. * * Re: Error Handling QTPlearnlearnlearn   09/03/08 10:44 PM
. * * Re: Error Handling tester9000   06/25/07 12:04 AM
. * * Re: Error Handling Thommes   05/15/07 10:57 AM
. * * Re: Error Handling Tarun LalwaniModerator   05/15/07 11:16 AM
. * * Re: Error Handling Thommes   05/15/07 01:16 PM
. * * Re: Error Handling HemaGovind   06/24/07 10:23 PM
. * * Re: Error Handling srinivas2372   04/30/07 09:22 AM
. * * Recovery Scenario sundaresvaran_j   06/26/07 07:04 AM
. * * Re: Recovery Scenario Viveku   08/28/09 06:40 AM
. * * Re: Recovery Scenario Viveku   08/28/09 06:41 AM
. * * Re: Recovery Scenario Tarun LalwaniModerator   12/28/09 05:38 AM
. * * Re: Recovery Scenario Franklyn   03/02/10 10:04 PM
. * * Re: Recovery Scenario Viveku   08/28/09 06:32 AM
. * * Re: Recovery Scenario HemaGovind   06/26/07 10:33 AM
. * * Re: Recovery Scenario Tarun LalwaniModerator   06/26/07 12:17 PM
. * * Re: Recovery Scenario Tarun LalwaniModerator   06/26/07 04:13 PM
. * * Re: Recovery Scenario HemaGovind   06/26/07 10:08 AM
. * * Re: Recovery Scenario sundaresvaran_j   06/26/07 07:51 AM
. * * Re: Error Handling negi_kishore   05/01/07 10:10 PM
. * * Re: Error Handling Tarun LalwaniModerator   05/01/07 10:43 PM
. * * Re: Error Handling Jits   06/26/07 03:21 AM
. * * Re: Error Handling negi_kishore   05/02/07 12:56 AM

Extra information
0 registered and 68 anonymous users are browsing this forum.

Moderator:  IanFraser, Rajkumar_Rajangam, thorwath, TReddy, AJ, Tarun Lalwani, mwsrosso 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 23212

Rate this thread

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5