try to use
browser.TD(:xpath,"//d...@dojomenuitem2label='Save']).click
On Tue, Mar 9, 2010 at 2:26 AM, barb 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. Login to the web
On Mon, Mar 8, 2010 at 9:56 PM, barb 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 could
help too:
http
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 wrote:
> equiv="Content-Type" content="text/html; charset=windows-1252">