Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Saving Check point return value in a variable
#1
Solved: 11 Years, 4 Months ago
Hi,

Is it possible to save the return value (true or false/ 1 or 0) of check point in to variable.

I tried with the statements
Code:
Dim status
status = Browser("Google").Page("Google").WebEdit("q").Check Checkpoint("q")
Reply
#2
Solved: 11 Years, 4 Months ago
Try this:

Code:
Dim status
status = Browser("Google").Page("Google").WebEdit("q").Check (Checkpoint("q"))
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 11 Years, 4 Months ago
Thanks it is working perfectly
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  On Saving Script in QTP 11 my Global Data Sheet data is removed M Adnan Iftikhar 0 2,178 06-02-2015, 09:19 PM
Last Post: M Adnan Iftikhar
  Function return value is not passed during the 3rd iteration premanand1979 0 2,261 10-16-2014, 09:40 PM
Last Post: premanand1979
  Error while saving an already opened Excel TurtleRock 1 3,535 08-28-2014, 06:35 PM
Last Post: dplank
  QTP 11, Win 7 - Issue while saving the Excel through the script.bu fine in XP sivasuman 0 2,306 11-15-2013, 01:38 PM
Last Post: sivasuman
  QTP standard check point Error? Ramadas 0 2,291 10-31-2013, 01:23 PM
Last Post: Ramadas

Forum Jump:


Users browsing this thread: 1 Guest(s)