Re: [Wtr-general] How to select option on Menu button with multiple levels of the option list

2007-05-22 Thread Željko Filipin

Hi Kui,

This does not work?

ie.span(:id, Claim:ClaimMenuActions:ClaimMenuActions_NewDocument).click

Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to select option on Menu button with multiple levels of the option list

2007-05-22 Thread Kui Zhang
Hi Zeljko,

Yes.  it works.  I did not specify the correct frame that caused me a trouble.  
Works fine now.

Thanks!
Kui
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


[Wtr-general] How to select option on Menu button with multiple levels of the option list

2007-05-18 Thread Kui Zhang
Hello,

I need to select an option in the Menu button with multiple levels of the 
option list.

1. Click on the menu button, a list of option is displayed
2. Move mouse over to the option 3, a list of option is displayed for option 3
3. Select the option 3.2

I tried with “span(:id, “xxx”).click”.  It works on step 1, but not for step 2 
and 3.   What method should I use to select an option in step 2 and 3?   Please 
help!

Html for the option I want to select in step 2:
SPAN class=menu_item_link_menubutton 
id=Claim:ClaimMenuActions:ClaimMenuActions_NewDocument hideFocus 
onclick=Recorder.click(this);null;void(0);MenuImpl_hideAllMenus();;event.cancelBubble=true
 smokeId=ClaimMenuActions_NewDocumentNUe/Uw Document/SPAN


Html for the option I want to select in step 3:
SPAN class=menu_item_link_menubutton 
id=Claim:ClaimMenuActions:ClaimMenuActions_NewDocument:ClaimNewDocumentMenuItemSet:ClaimNewDocumentMenuItemSet_Link
 hideFocus style=TEXT-DECORATION: underline 
onclick=Recorder.click(this);MenuImpl_hideAllMenus();;Events.invokeEvent('Claim:ClaimMenuActions:ClaimMenuActions_NewDocument:ClaimNewDocumentMenuItemSet:ClaimNewDocumentMenuItemSet_Link_act',
 true);event.cancelBubble=true 
smokeId=ClaimNewDocumentMenuItemSet_LinkUL/Uink an existing document to 
this claim/SPAN

Thanks.
Kui
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general