Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WaitProperty not working
#4
Solved: 11 Years, 3 Months, 4 Weeks ago
Thx Sankalp,

Sync is not alowed on a Dialog box as per QTP. At least I get an error message indicating this. ;-)


Thx Saajo87,

I have tried my wait properties on buttons on the dialog box but I get a Run Error

I tried the following on a new test page with the dialog box open:

These 3 passed
Code:
Browser("Wisdom").Dialog("File Download").WaitProperty "visible", "True", 60002
Browser("Wisdom").Dialog("File Download").WaitProperty "text", "File Download", 60002
Browser("Wisdom").Dialog("File Download").WaitProperty "regexpwndtitle", "File Download", 60002

These 3 had Warnings
Code:
Browser("Wisdom").Dialog("text:=File Download").WaitProperty "visible", "True", 60003
Browser("Wisdom").Dialog("text:=File Download").WaitProperty "text", "File Download", 60003
Browser("Wisdom").Dialog("text:=File Download").WaitProperty "regexpwndtitle", "File Download", 60003

I took the top 3 passed WasitProperty statements an stuck them in my function library where they are needed and the first gave a Warning, the second two passed. I removed the first WaitProperty statement and then the second WaitProperty gave a Warning and the 3rd WaitStatement passed.

So, I am guessing, that after I select the link that opens the dialog box I need to Wait(1) as the WaitProperty fires ioff a Warning to soon (even though i have a minute of waiting for the dialog box) and thus my WaitPropert just dosent wait like it should?

Anyone have experiance like this?

;-) Lor
Reply


Messages In This Thread
WaitProperty not working - by mv8167 - 03-06-2012, 03:29 AM
RE: WaitProperty not working - by sshukla12 - 03-06-2012, 02:22 PM
RE: WaitProperty not working - by Saajo87 - 03-06-2012, 04:32 PM
RE: WaitProperty not working - by mv8167 - 03-06-2012, 07:03 PM
RE: WaitProperty not working - by sshukla12 - 03-12-2012, 01:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Waitproperty or Checkproperty with micGreaterThan() Code typhoon23 1 1,990 08-23-2017, 05:02 PM
Last Post: Ankur
  WaitProperty does not refresh the object (WebNumber) cantorre 0 1,582 05-10-2017, 06:21 AM
Last Post: cantorre
  [UFT] WpfTable and WaitProperty with RowCount robertosalemi 0 1,971 11-23-2016, 10:55 PM
Last Post: robertosalemi
  Synchronization using waitproperty Nisha 1 2,332 10-29-2016, 09:20 AM
Last Post: supputuri
  SwfToolbar and WaitProperty: how get text robertosalemi 0 1,897 12-14-2015, 08:22 PM
Last Post: robertosalemi

Forum Jump:


Users browsing this thread: 2 Guest(s)