bs00336332 / robotframework-seleniumlibrary

Automatically exported from code.google.com/p/robotframework-seleniumlibrary
Apache License 2.0
0 stars 0 forks source link

Click button is not working for slide menus #250

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by puf.to...@gmail.com on 21 Sep 2012 at 11:44

Attachments:

GoogleCodeExporter commented 9 years ago
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.

Original comment by pekka.klarck on 13 Jan 2013 at 9:09