Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Throw Error
#1
Solved: 11 Years, 4 Months ago
Hi, hope you understand my poor english Wink
I search for a possibility to throw an error. I have a value in my application under test. This value can change for each testrun. So i have to compute this value during the run. Now I want to compare this calculated value with the value in my application under test. If the values are different it would be nice to throw an error, which are visible in the result. Can you help me?

thanks chuqa
Reply
#2
Solved: 11 Years, 4 Months ago
hmmmm... it would be nice if you can go through the QTP tutorial first.

For this one use, Reporter.ReportEvent
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 11 Years, 4 Months ago
Use Err.Raise if you actually want to throw the error or else use Reporter.ReportEvent if you want to report it
Reply
#4
Solved: 11 Years, 4 Months ago
thanks a lot! Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Taking Property values in Description objet throw Excel Sheet devarapallliramana 3 3,112 03-11-2014, 10:50 PM
Last Post: supputuri
  what is throw object? priya999 2 4,929 02-25-2011, 07:46 AM
Last Post: priya999

Forum Jump:


Users browsing this thread: 1 Guest(s)