Hmmm...i got a solutionn to do it by using ControlGetText method

Thanks,
kiran.

On Aug 27, 12:43 pm, kumar <gki...@gmail.com> wrote:
> Hi Ankur,
> Thank you very much for your reply.
> I dont want click on any button on popup.
> I want to verify the desired buttons are exist or not.
>
> Thanks,
> kiran.
>
> On Aug 27, 11:55 am, Ankur Gera <ankurg...@gmail.com> wrote:
>
>
>
> > Hi Kumar,
>
> > You can use the following code with the changes according to ur pop-up
> > window:
>
> > ai = WIN32OLE.new("AutoItX3.Control")
>
> > ai.WinWait("File Download", "", 5) //Here the first argument is the Title of
> > pop-up window and thrid is the waiting time
>
> > ai.ControlFocus("File Download", "", "&Open")  //First argument is same as
> > described above,Third option for you can be "&OK" or
>
> > "Cancel"
>
> > ai.ControlClick("File Download", "", "&Open") //First argument is same as
> > described above,Third option for you can be "&OK" or
> >                                                                    "Cancel"
>
> > For further help please revert back.
>
> > Thanks & Regards,
> > Ankur Gera- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to