robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

Click button is not working for slide menus #250

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by puf.to... on 21 Sep 2012

Hi,

I am trying to click a menu option (Password) which is made with slides so I am using xpath to do it as bellow:

Click Button xpath=//div[@⁠id='ctl00_MainMenu']/ul/li[2]/div/ul/li/a/span

So the RF says the TC passed by clicking the Password option but the Option page is not been loaded.

See attachs

spooning commented 9 years ago

Originally submitted to Google Code by @pekkaklarck on 13 Jan 2013

Your button isn't technically a button but a span element styled to look like a button. You could try using Click Element to click it. Alternatively you could try interacting with it using Selenium IDE to see how it handles it.