Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Saving Check point return value in a variable
#1
Solved: 10 Years, 9 Months, 1 Week 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: 10 Years, 9 Months, 1 Week 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: 10 Years, 9 Months, 1 Week 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,050 06-02-2015, 09:19 PM
Last Post: M Adnan Iftikhar
  Function return value is not passed during the 3rd iteration premanand1979 0 2,034 10-16-2014, 09:40 PM
Last Post: premanand1979
  Error while saving an already opened Excel TurtleRock 1 3,265 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,187 11-15-2013, 01:38 PM
Last Post: sivasuman
  QTP standard check point Error? Ramadas 0 2,160 10-31-2013, 01:23 PM
Last Post: Ramadas

Forum Jump:


Users browsing this thread: 1 Guest(s)