Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make scripts sync with application
#13
Solved: 11 Years, 4 Months ago
'The following example uses the WaitProperty method to make the

'test wait until the Next object is enabled, or for

'5 seconds (5000 milliseconds) to pass. If the object is enabled before

'4 seconds pass, QuickTest clicks the object.


Code:
If QOALogin.WebButton("name:=Next","html id:=NEXT").WaitProperty("Enabled", True, 5000) =

False Then
    End If
QOALogin.WebButton("name:=Next","html id:=NEXT").Click

-----------------

This is some modification i did and it is working fine. I can say that it is same as "Sync" statement. But Sync is not usefull for DP, above one is good statement for replacement if "Sync". More over WaitProperty is useful even for record and play also.

Thank you very much to Ankur and sreekanth for providing the info and helping in solving the issue

Regards
Raj
Reply


Messages In This Thread
RE: How to make scripts sync with application - by Rajashekar Gouda - 03-18-2008, 06:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to make QTP Script to work when system gets locked? ramkumarad 6 12,474 11-02-2017, 03:37 PM
Last Post: Divv
Question Cross Browser Sync Not Working geodude 0 1,958 04-07-2017, 08:43 AM
Last Post: geodude
  How to use sync function 22sumit 2 3,475 06-16-2015, 06:27 PM
Last Post: 22sumit
  Local script to make compatible with QC automation2012 1 2,292 01-28-2015, 02:11 PM
Last Post: automation2012
  Need Excel template for mapping manual scripts to Automation scripts. ACCBAJPA 0 2,957 09-19-2013, 03:02 PM
Last Post: ACCBAJPA

Forum Jump:


Users browsing this thread: 1 Guest(s)