Hi,
After clicking Save button which screen you are getting, depening on that
screen heading you can write Sync statement. Lik this..
For exa: After clicking Save button, coming screen name is "Screen1"
If Not Browser("Browser").Page("Title=").WebEdit("Name= Screen1").exists
then
Browser("Browser").Page("Title=").WebEdit("Name= Screen1").sync
End If
Script will wait until the screen exists.
Thanks,
Madhavi
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
--
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