Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checkpoints with Functions
#2
Solved: 11 Years, 3 Months, 1 Week ago
I'm not sure what you want to test.

But you can make your own check points in your function.
Simple example would be:

'Make sure username is not empty
Code:
If Username <> "" then
Reporter.ReportEvent micPass, "Username", "Username was not empty"
Browser("Login").Page("Login").WebEdit("_email").Set username
Else
Reporter.ReportEvent micFail, "Username", "Username was Empty"
End if
Reply


Messages In This Thread
Checkpoints with Functions - by rdwaram - 11-12-2009, 04:43 AM
RE: Checkpoints with Functions - by Jackomcnabb - 11-17-2009, 11:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Why not Checkpoints subhashinid 0 1,580 06-30-2016, 07:36 PM
Last Post: subhashinid
  Perform some functions whenever QTP Stop button is pressed smartkarthi 2 3,198 08-22-2013, 11:43 AM
Last Post: smartkarthi
  exit parent functions as well Shridevi.Salagare 3 3,826 07-31-2013, 12:15 AM
Last Post: Ankur
  Query about checkpoints pkdhake 5 3,667 07-11-2013, 03:17 PM
Last Post: vinod123
  Datatable in functions shwetasharma 2 3,473 03-26-2013, 08:00 AM
Last Post: sams001

Forum Jump:


Users browsing this thread: 1 Guest(s)