I have a 3 WinButtons on a dialog box. My Object Rep has them correctly indicated and when recording all goes well.
But on Run, the Save button fails to depess. If I run two or sometimes 3 or 4 saves in a row, the Save button may finally trigger. But then my script fails on the next Save as there is no Save button anymore.
How can I inssure that I get this Save button to the trigger the first time?
I tried:
and
and
but these still timed out.
I think I need to find a better code to use other than Click.
Lorena ;-)
But on Run, the Save button fails to depess. If I run two or sometimes 3 or 4 saves in a row, the Save button may finally trigger. But then my script fails on the next Save as there is no Save button anymore.
How can I inssure that I get this Save button to the trigger the first time?
I tried:
Code:
If Dialog("File Download_3").Dialog("Save As").GetROProperty("visible")=False Then
Browser("Wisdom CTE").Dialog("File Download").Activate
Browser("Wisdom CTE").Dialog("File Download").WinButton("Save").Click
End If
and
Code:
Do Until Dialog("File Download_3").Dialog("Save As").GetROProperty("visible")=True
Browser("Wisdom CTE").Dialog("File Download").Activate
Browser("Wisdom CTE").Dialog("File Download").WinButton("Save").Click
Loop
and
Code:
Do While Dialog("File Download_3").Dialog("Save As").GetROProperty("visible")=False
Browser("Wisdom CTE").Dialog("File Download").Activate
Browser("Wisdom CTE").Dialog("File Download").WinButton("Save").Click
Loop
but these still timed out.
I think I need to find a better code to use other than Click.
Lorena ;-)