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
These 3 had Warnings
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
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