Micro Focus QTP (UFT) Forums
WaitProperty - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: WaitProperty (/Thread-WaitProperty)



WaitProperty - mv8167 - 02-10-2012

I have a question regaurding the setup of WaitProperty.

I keep getting a step Warning message even though the code still seems to function correctly:

My code:
Code:
Browser("Wisdom").Dialog("File Download").WaitProperty "text", "File Download", 80000
Message:
Step Name: File Download.WaitProperty
Step Warning
Object Details Result Time
File Download.WaitProperty "text", "File Download", 80000 Warning 2/9/2012 - 10:22:25

Should I be triggering of a different property? I keep increasing the time but I still get the Warning.

so far, with no luck, i have tried:

Code:
Browser("Wisdom").Dialog("File Download").WaitProperty "text", "File Download", 100000
Browser("Wisdom").Dialog("File Download").WinButton("Open").WaitProperty "text", "&Open", 100000
Dialog("text:=" & "File Download").WaitProperty "text", "File Download", 60000
Dialog("File Download").WinButton("Open").WaitProperty "text", "&Open", 60000
Browser("Wisdom").Dialog("File Download").WinButton("Open").WaitProperty "text", "&Open", 100000
Dialog("File Download").WaitProperty "text", "File Download", 60000

with these two sometimes passing:
Code:
Dialog("text:=" & "File Download").WaitProperty "text", "File Download", 110000
Browser("Wisdom").Dialog("File Download").WaitProperty "text", "File Download", 80000



RE: WaitProperty - rajpes - 02-11-2012

It only means that the text property is never getting changed to "File Download" value


RE: WaitProperty - mv8167 - 02-13-2012

Rajpes

That's the thing, the "File Download" does show and is visible (to me at least).

I have a huge wait time, and the coded gets run, just dint know why i get a Warning message when all looks and runs well.

thx