Click a milonic menu item

16 views
Skip to first unread message

Mahi

unread,
Jul 9, 2007, 4:49:13 PM7/9/07
to selenium-users...@googlegroups.com
Anybody has ideas to have Selenium RC click on milonic menu items given that we do not get id;s for them?

Thanks!
-Mahi

Mahi

unread,
Jul 10, 2007, 2:30:04 AM7/10/07
to selenium-users...@googlegroups.com
I tried with dom and xpath ways of locating the menu and clicking it (however was unsuccessful). Also with an approach to directly Open("http://blah blah) representing menu but Selenium stops me from doing that with safe origin policy implementation. Any help would highly appreciated.

Tried with no luck in proxyinjection mode, which is resulting in a today new dimension of page not found (Being new I will have to see if I can overcome this)

udof

unread,
Jul 10, 2007, 6:05:44 AM7/10/07
to selenium-users...@googlegroups.com
I do
selen.mouseOver("//div//a[contains(text(),'Menu entry')]");
and
click("//div//a[contains(text(),'Sub Menu')]");


That is only a dirty hack, because they changed the menu three days before a release

bye
Udo

Reply all
Reply to author
Forward
0 new messages