Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to control WAIT time with STATIC variable?
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
I got a few test scripts with different WAIT time.

I am trying to declare STATIC variable on my Function file (.qfl)

For example, I declare this in the function libraries (.qfl) file

Dim MAINPAGETIMER = 20

On my test case, I try to do this:

WAIT(MAINPAGETIMER)

But it doesnt work.

Can someone help me more on this?
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi,
Declare the variable as
Public MAINPAGETIMER
MAINPAGETIMER =20

and associate this file to ur script.

It will work 4 u.

Regards,
Sankalp
Reply
#3
Solved: 11 Years, 4 Months, 3 Weeks ago
Thank you Sankalp!

That help alot!
Reply
#4
Solved: 11 Years, 4 Months, 3 Weeks ago
U r always welcome. Wink

Regards,
Sankalp
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  help with wait property function kp_usa 3 4,347 12-20-2012, 10:49 PM
Last Post: kp_usa
  wait QAVA 1 3,062 11-13-2012, 07:29 PM
Last Post: imzeeshan
Exclamation Alternative for Wait Statement Veekay 2 8,619 03-20-2012, 07:13 PM
Last Post: swathi
  Verifying the value exists and if not, wait up to 5min HeZma 3 4,144 02-25-2012, 12:21 PM
Last Post: rajpes
  How to Handle Browser page wait In Firefox QTP V11. UFTEnthusiast 0 3,567 05-30-2011, 05:25 PM
Last Post: UFTEnthusiast

Forum Jump:


Users browsing this thread: 1 Guest(s)