The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Oracle e-Test

Pages: 1
KumarMP
Newbie


Reged: 09/15/09
Posts: 6
How to use wait statement in VBA scripting
      #591176 - 09/15/09 11:52 PM

Hi all,
I'm trying to put wait statement in Script which i have written in Custom VBA of E-tester,
or is there other statements are present in E-tester,

any help appriciated

--------------------
Kumar


Post Extras: Print Post   Remind Me!   Notify Moderator  
rengak
Junior Member


Reged: 01/14/03
Posts: 4
Loc: Woburn,MA
Re: How to use wait statement in VBA scripting [Re: KumarMP]
      #604824 - 12/07/09 01:39 PM

Public Function Wait(sec As Integer)

PauseTime = sec ' Set duration.
Start = Timer ' Set start time.
Do While Timer < Start + PauseTime
DoEvents ' Yield to other processes.
Loop
Finish = Timer ' Set end time.
TotalTime = Finish - Start ' Calculate total time.

End Function


Post Extras: Print Post   Remind Me!   Notify Moderator  
KumarMP
Newbie


Reged: 09/15/09
Posts: 6
Re: How to use wait statement in VBA scripting [Re: rengak]
      #626418 - 05/13/10 11:50 PM

Thanks!
it worked perfectly

--------------------
Kumar


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:  Joe Strazzere, martinh, AJ 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 4278

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5