Re: [Wtr-general] How to selecting Menu item in Watir

2007-05-10 Thread Vipul
hi i tried calling parent span using ie.span(:id, "Sessions").click ie.span(:id, "Sessions").fire_event("onsubmenu_click") but this gives the error the following error WIN32OLERuntimeError: fireEvent OLE error code:80070057 in htmlfile Invalid argument. HRESULT error code:0x80

Re: [Wtr-general] How to selecting Menu item in Watir

2007-05-08 Thread Ċ½eljko Filipin
Hi Vipul, I did not understand what you want to do. Click div tag with "Data Administration" text? That can be done with one of these ie.div(:id, "DataAdmin").click ie.div(:text, "Data Administration").click Maybe you will have to click his parent span tag. ie.span(:id, "Sessions").click ie.s

[Wtr-general] How to selecting Menu item in Watir

2007-05-08 Thread Vipul
I want to write the script for following scenario 1) Enter Username and Password in login screen. 2) Click Login Button. 3) From Menu Tab Select 'Session Menu' 4) Click "Data Administration" under Session Menu. i have written the script for login but i could not wriite script for selecting menu