Web connection. I have downloaded the vsphere web xml file form the market place. I am getting the following error though: (Button)\(Click) command must be configured in web form fields file.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Web connection. I have downloaded the vsphere web xml file form the market place. I am getting the following error though: (Button)\(Click) command must be configured in web form fields file.

L4 Transporter

This is what I have in the webform fields section of the connection

 

username > {Username}(searchby=id) password > {Password}(searchby=id) loginButtonRow > (Button)(searchby=id) search-field > (Validation)(searchby=id) menu-container > (Validation)(searchby=class) esx-main-content > (Validation)(searchby=class)

 

im pretty sure "loginbuttonrow" doesnt apply here but I dont know what to do. There is a submit button on the page.

 

When I view source on the VSphere login page I see this. No mention of Loginbuttonrow:

<input type="button" id="submit" class="btn btn-primary" onclick="submitentry()" value=Login>

<div id="progressBar" class="btn btn-primary" style="display:none">

<span class="spinner spinner-inline"></span>

17 REPLIES 17

L4 Transporter

Hi michael.driscoll replace the vaule of id in the web form fields with the value that you found in the webpage.

replace this line loginButtonRow > (Button)(searchby=id) with

submit > (Button)(searchby=id) and try again.

L2 Linker

@Michael Driscoll​  You are getting that error because the ID of the Button is wrong, change it to submit > {Button} (searchby=id) as rightly mentioned by Rubesh above.

Or you could also try by Xpath if CyberArk is not able to find the ID

​Hi. Yes I tried that...but...that gives the following error:

(Button)\(Click) command must be configured in web form fields file.

 

Hi @Michael Driscoll​ Could you try to restart the PSM Service for the changes to come into effect and try again?

​Hi Rubesh. Tried that but same error?

​Hi Ganjoo

So far still have same issue. Rubesh advised to try restarting psm service which I did on all the psm servers but still same issue.

How would I substitute with the xpath?

L2 Linker

Can you please share the image of the "Web Form Settings" in the connection component you are using.

For Xpath you can right click on the button, Click on Inspect Element, Go to the highlighted element code and right click, Copy-> Xpath.

Use the Xpath Instead of ID in the Web Form Settings

 

Example "Xpath" > (Button)(searchby=Xpath)

L4 Transporter

​Hi Ganjoo

 

Please see attached the image.

 

Thanks for helping 🙂Field_Content_versions_oct20__0682J00000BTyW7QAL.png

L4 Transporter

​I tried the xpath but get the same error. I havnt restarted the PSM service.

 

Field_Content_versions_oct20__0682J00000BTyf9QAD.png

L4 Transporter

Worked it out. I am such a newbie 🙂 I didnt have each seperated by a carriage return.

you mean for xPATH?

Hi Michael,

 

Could you please attach the image of the WebFormFields which worked for you?

L3 Networker

Hi @Michael Driscoll​ 

can you post snapshot of webformfield which worked for you

thanks in advance

L3 Networker

Hi @Michael Driscoll​ 

can you post snapshot of webformfield which worked for you

thanks in advance

  • 3368 Views
  • 17 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!