Jump to content

Recommended Posts

Posted (edited)

. ..only seen now that you edit OP.
instead of passing the xPath string directly into the second parameter ($SearchXpath), first search for the target object using the command:

$oGotElement = _WD_FindElement( ... ),  and then pass the returned value to the second parameter of the _WD_ElementAction:

_WD_ElementAction($sSession, $oGotElement, 'value', $sValue & "\uE006")

 

Edited by Chimp
changed variable name to $oGotElement

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...