Re: Sync Function

2009-04-20 Thread Scott Presson
Agreed, it does seem to be one of the best ways to both "wait" and get the best speed from the script. On 4/18/09, Gopi wrote: > When you use Exist it does not wait for the entire time you have specified. > It will exit out once it finds the required parameter. > > For example in the script belo

Re: Sync Function

2009-04-18 Thread Gopi
When you use Exist it does not wait for the entire time you have specified. It will exit out once it finds the required parameter. For example in the script below, If Browser("bro_mb_webadmin").Page("pge_mb_webadmin").WebElement("btn_Edit").Exist(8) Then Browser("bro_mb_webadmin").Page("pge_mb_w

Re: Sync Function

2009-04-18 Thread Roman Zilber
I don't understand what you are expecting more. WaitProperty() and Exist() is answer to your question. Sync() for not web applications doesn't exist. On Sat, Apr 18, 2009 at 1:07 AM, Kaarthik Reddy wrote: > Hi all > Its a windows based application. > > I need a statement other than the wait sta

Re: Sync Function

2009-04-18 Thread Kaarthik Reddy
Hi all Its a windows based application. I need a statement other than the wait statement. since i cant guess how much time it takes to move to next step > -- Regards Karthik Reddy --- BE BLESSED & BE A B

Re: Sync Function

2009-04-17 Thread Scott Presson
, Reddy wrote: > > Hi All > > I need an alternate statement instead of the "wait" function. > > Just like SYNC function for the web applications. > > Please help me in this regard. > > > > --~--~-~--~~~---~--~~ You received t

Re: Sync Function

2009-04-14 Thread Roman Zilber
n exit condition to check for that the Object > Exists OR the loop has iterated too many times and not found a match. > > > On Apr 14, 4:49 pm, Reddy wrote: > > Hi All > > > > I need an alternate statement instead of the "wait" function. > >

Re: Sync Function

2009-04-14 Thread B.
Yes, create a loop with an exit condition to check for that the Object Exists OR the loop has iterated too many times and not found a match. On Apr 14, 4:49 pm, Reddy wrote: > Hi All > > I need an alternate statement instead of the "wait" function. > > Just like

Re: Sync Function

2009-04-14 Thread Roman Zilber
What is wrong with Wait()? Sync function waits for a page to be loaded, do you load something in not web applications? There are entire topic called "Synchronization Points" and functions, such as obj.Exist() obj.WaitProperty() If you want to replace wait: WScript.Sleep(12000) On T

Sync Function

2009-04-14 Thread Reddy
Hi All I need an alternate statement instead of the "wait" function. Just like SYNC function for the web applications. Please help me in this regard. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google "QTP