Re: [wtr-general] Access to dojopopupmenu2

2010-03-09 Thread Ċ½eljko Filipin
On Mon, Mar 8, 2010 at 9:56 PM, barb bfwork2h...@yahoo.com wrote: 4. Right click and select Save My guess would be that you have to fire a javascript event. Something like this: browser(how, what).fire_event(onrightclick) Ask a developer which event should be fired. Event Spy Firefox add-on

Re: [wtr-general] Access to dojopopupmenu2

2010-03-09 Thread Rajiv Nanduani
try to use browser.TD(:xpath,//d...@dojomenuitem2label='Save']).click On Tue, Mar 9, 2010 at 2:26 AM, barb bfwork2h...@yahoo.com wrote: Hi, I will start by saying I am very new to this concept of Watir and Ruby. I am attempting to write a beginning test script to do the following: 1.

[wtr-general] Access to dojopopupmenu2

2010-03-08 Thread barb
Hi, I will start by saying I am very new to this concept of Watir and Ruby. I am attempting to write a beginning test script to do the following: 1. Login to the web application 2. Navigate to the new project page 3. Enter the required data 4. Right click and select Save It is the the 4th step

Re: [wtr-general] Access to dojopopupmenu2

2010-03-08 Thread Wesley Chen
For the HTML you provide, we can't do anything. Do you want a right click? Why? element_by_xpath is not a good method to locate an element. Wesley. For life, the easier, the better. On Tue, Mar 9, 2010 at 4:56 AM, barb bfwork2h...@yahoo.com wrote: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML