Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to pass variable while creating Database checkpoint
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
How can we pass a variable while creating a Database checkpoint.Is it even possible ?

I would like to do something like

QTP script
MyVar=123

Database Checkpoint query:
select * from table where col=MyVar;

instead of doing
select * from table where col=123;
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Yes you have two ways to do that, programatically as well as from the wizard.

In wizard, Inside database check properties change the configure value to parameter or you can change the full source from the object repository.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
can you please tell me how to do it in wizard.As i'm new to qtp.
Thanks in ton.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pass reference to datatable into function smallsteve 2 2,081 09-28-2017, 09:18 PM
Last Post: smallsteve
  Need help in creating dynamic object string using Childobjects Keshub Mathur 0 1,607 09-11-2017, 05:52 PM
Last Post: Keshub Mathur
  Can you please help me in QTP DP to pass the variable name anshika.agarwal 1 2,750 09-04-2014, 06:43 PM
Last Post: anshika.agarwal
  HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER mayankchauhan 0 3,438 04-04-2014, 05:29 PM
Last Post: mayankchauhan
  Creating a folder from within a reusable action. sd3 2 3,186 06-18-2013, 03:20 PM
Last Post: learnQtptips

Forum Jump:


Users browsing this thread: 1 Guest(s)