Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does QTP detect error messages?
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
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 .
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
Did u try database checkpoint.

regards
Kishore
Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
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.
Reply
#4
Solved: 10 Years, 8 Months, 3 Weeks ago
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
Reply
#5
Solved: 10 Years, 8 Months, 3 Weeks ago
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??
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  need to check Alert messages in scripting setukaran 2 3,126 11-21-2014, 01:16 AM
Last Post: prs2014
  Object Spy does not detect objects kuks 9 18,002 10-30-2012, 12:41 AM
Last Post: newqtp
  Unable to detect send button on compose mail page of gmail nehajain 5 4,022 05-16-2012, 06:32 PM
Last Post: falvi
  Flash Player application QTP can not able to detect buttons sathishvaleti 0 3,440 12-02-2011, 07:07 PM
Last Post: sathishvaleti
  Surpress (or other) Warning messages mv8167 7 5,975 09-14-2011, 08:46 PM
Last Post: mv8167

Forum Jump:


Users browsing this thread: 1 Guest(s)