use until loop statement like
like
do
wait(3)
until Browser("Browser").Page("title:=.*").WebButton("name:=Save").exist =0
refer to qtp help file for until loop statement..
On Mon, Apr 4, 2011 at 3:04 AM, Serene Tan <[email protected]> wrote:
> Please help me to code sync, instead of using wait
>
> After the save button is clicked, there is some lag time, how to use sync ?
>
> Browser("Browser").Page("title:=.*").WebButton("name:=Save").Click
>
> rgds
> Serene
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
--
RAJIV KUMAR
<http://rajivkumarnandvani.wordpress.com/>
<http://learnqtphelp.blogspot.com/>
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en