Posts: 4
Threads: 2
Joined: Sep 2008
Reputation:
0
09-10-2008, 05:14 PM
1)How does QTP detect an error message?For example, if a database error occurs, it gives an error message.This is an anticipated situation, and so there is no way to record this.Is there a way to include that error message into the script by means of descriptive programming?Or any other way to notify us that such an error has occurred?
2)How can descriptive programming done to check for texts.
Thanks .
Posts: 71
Threads: 1
Joined: Jul 2008
Reputation:
0
09-11-2008, 11:53 PM
Did u try database checkpoint.
regards
Kishore
Posts: 4
Threads: 2
Joined: Sep 2008
Reputation:
0
09-12-2008, 02:21 PM
How wud database checkpoint work??I want to check for the error message that would appear on the web page, if at all any database error occurs.
Posts: 160
Threads: 46
Joined: Feb 2008
Reputation:
0
09-12-2008, 05:02 PM
Hi melody,
This is sirisha.As per your question we have an option submit defect to QC when an error occurs in the qtp .
So select that option so that the error is posted to qc
Database connectvity can be done thorough COM commands
write a program to conenct to the database
then run the script in qtp
so when a error comes it will be automatically posted to QC
Posts: 1
Threads: 0
Joined: Sep 2011
Reputation:
0
09-23-2011, 04:37 AM
When I run QTP script, i got an alert message from a web application, I want QTP catch up that message.Can anyone tell me "How does QTP catch up an error message from a web application while it is running??