Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WinButton
#4
Not Solved
Ok.
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
Reply


Messages In This Thread
WinButton - by mv8167 - 05-04-2011, 11:28 PM
RE: WinButton - by supputuri - 05-05-2011, 01:40 AM
RE: WinButton - by mv8167 - 05-06-2011, 12:30 AM
RE: WinButton - by supputuri - 05-06-2011, 09:15 PM
RE: WinButton - by mv8167 - 05-06-2011, 09:23 PM
RE: WinButton - by supputuri - 05-06-2011, 09:55 PM
RE: WinButton - by mv8167 - 05-06-2011, 10:24 PM
RE: WinButton - by supputuri - 05-06-2011, 10:31 PM
RE: WinButton - by mv8167 - 05-06-2011, 11:46 PM
RE: WinButton - by atanu - 05-07-2011, 12:38 AM
RE: WinButton - by mv8167 - 05-07-2011, 01:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Winbutton slow in clicking kpat 0 1,687 05-23-2016, 12:09 PM
Last Post: kpat
  how to get background color of a WinButton javierchen 1 2,907 03-17-2015, 10:59 PM
Last Post: babu123
  Dialog winbutton OK problem in IE dutchyes 1 4,247 08-03-2010, 10:02 AM
Last Post: Saket
  WinButton Object not support run time object properties Akhila 1 4,929 06-03-2008, 04:07 AM
Last Post: Anshoo Arora

Forum Jump:


Users browsing this thread: 1 Guest(s)