jadooman / robotframework-seleniumlibrary

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

'Click at' and 'Click Element' #244

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I write automation tests for web portlets wrote in Vaadin.

I wrote test in Python- Selenium library 1 (Remote Control) and I would like 
transfer it to Robot Framework.

One of the step in my testcase is drop down menu. Command 'Click' doesn't work 
but 'Click at' works perfectly- I'm using xpath location. Robot Framework has 
only keyword 'Click Element' but unfortunately it doesn't work.

I can't find solution. Please help.

Best regards,
Dominik

Original issue reported on code.google.com by dmirow...@gmail.com on 2 Jul 2012 at 8:40

GoogleCodeExporter commented 9 years ago
You can already achieve this using click element, by providing a third argument 
to the keyword.

The full signature of Click Element is click_element(self, locator, 
dont_wait='', coordinates=None), and it does a click_at command if coordinates 
are provided.

So, this should work:

Click Element | some_xpath | coordinates=x,y |

Closing this issue.

Original comment by janne.t....@gmail.com on 6 Aug 2012 at 10:55