Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Query
#5
Solved: 10 Years, 9 Months, 1 Week ago
Yes as Sreekanth said, If u want the script to be executed once and on some conditions, you can call user defined function as:
Write the block of code in text file, save as xyz.vbs, add it in settings and call it inside If statement as:
If (Condition) Then
Call xyz()
End If

OR

Write the block in reusable "action2" and run that action inside the main action
If (Condition) Then
RunAction "Action2", oneIteration
End If
Reply


Messages In This Thread
Query - by indranilgoswamimcb - 10-05-2010, 05:21 PM
RE: Query - by KavitaPriyaCR - 10-05-2010, 06:35 PM
RE: Query - by sreekanth chilam - 10-05-2010, 11:23 PM
RE: Query - by quicktest - 10-06-2010, 05:26 PM
RE: Query - by KavitaPriyaCR - 10-06-2010, 05:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Rolleyes Browse object query Hema a newbie 0 1,701 07-22-2014, 08:37 PM
Last Post: Hema a newbie
  SQL Query Issue in QTP rajiv.qtp 1 2,288 11-28-2013, 10:36 AM
Last Post: Jay
  Do recordsets get to use only ONE query? Arena 0 2,119 04-03-2012, 07:08 PM
Last Post: Arena
  Pass "/" in Query string to DB Anjali09 0 2,469 01-04-2012, 08:34 PM
Last Post: Anjali09
  Database query ajayr1982 2 4,216 12-31-2010, 08:07 AM
Last Post: ajayr1982

Forum Jump:


Users browsing this thread: 1 Guest(s)