How to right click on a web element in IronPython?
Posted: Thu Jul 28, 2011 4:13 pm
Hi
It's unclear how to right click on a web element in IronPython.
Also MouseButtons is not really documented in the latest Ranorex version.
The following code is not working but possibly it should...
The error from IronPython is:
It's unclear how to right click on a web element in IronPython.
Also MouseButtons is not really documented in the latest Ranorex version.
The following code is not working but possibly it should...
Code: Select all
import clr
clr.AddReference('Ranorex.Core')
import Ranorex
....
# di is LiTag
di.Click(Ranorex.MouseButtons.Right)
Regardsdi.Click(Ranorex.MouseButtons.Right)
AttributeError: attribute 'MouseButtons' of 'namespace#' object is read-only