05-06-2011, 09:15 PM
Ok.
Can you please check with this code and let me know the output.
Can you please check with this code and let me know the output.
Code:
Browser("Wisdom CTE").Dialog("File Download").WinButton("Save").Highlight(0)
Browser("Wisdom CTE").Dialog("File Download").WinButton("Save").Click
Browser("Wisdom CTE").Dialog("File Download").WatiProperty "visible",true,20000
'Now check whether the dialog box is exist (Identify)
If Browser("Wisdom CTE").Dialog("File Download").Exist Then
'Now check whether the Save button is exist or not
If Browser("Wisdom CTE").Dialog("File Download").Winbutton("Save").Exist Then
Browser("Wisdom CTE").Dialog("File Download").Winbutton("Save").Click
Else
Msgbox "No luck with the button identification, but successfully identified the dialog box."
End If
Else
Msgbox "No luck with window identification. Update the dialog box object properties to get uniqueness."
End If
Thanks,
SUpputuri
SUpputuri