Jump to content

Recommended Posts

Posted

Is this the correct way to use this function if I want to rightclick an element  

 

Sleep(4000)
      $sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, '//*[@id="main-content"]/e3e-process/div/mat-card/e3e-process-item/div[2]/e3e-form-renderer/e3e-form/e3e-form-tabbed-view/div[1]/e3e-form-container-view/div[123]/div/e3e-bound-input/div/label/span')
      _WD_ElementActionEx($sSession, $sElement, "rightclick")
      if @Error then
         Msgbox(64, "", "Can't click insured name")
         EndIf

As I'm not getting an error box 

 

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...