Web Component for OVM

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 Component for OVM

I am setting up a PSM web component for OVM (oracle virtualization). I'm trying to configure the Webformfields by copying the xptath and I can't get it to work.

If these are the user's xpaths, password and login button, how should they be with xpath?

//*[@id="pt1:loginUsername::content"]

//*[@id="pt1:loginPassword::content"]

 

For the login button, I couldn't get the xpath and so I tried the generator plugin and This is what I got from the xml generated by the simulation with the plugin generator:

WebFormFields="pt1:loginUsername::content>{Username}(SearchBy=id)
pt1:loginPassword::content>{Password}(SearchBy=id)
span.xgi>(Button)(SearchBy=css)
"

 

4EverNewbie
1 accepted solution

Accepted Solutions

using the xpath fields it got working. The only way to get the login button information was using PGU.

--------------------------------------below-------------------

//*^[@id="pt1:loginUsername::content"^] > {Username}(SearchBy=xpath)

//*^[@id="pt1:loginPassword::content"^] > {Password}(SearchBy=xpath)

span.xgi > (Button)(SearchBy=css)

//*^[@id="pt11:pt_psl2"^] >(Validation)(SearchBy=xpath)

pt11:pt_psl2 > (Validation)

4EverNewbie

View solution in original post

3 REPLIES 3

L7 Applicator

The code based on PGU doesn' work?

pt1:loginUsername::content > {Username}(SearchBy=id) pt1:loginPassword::content > {Password}(SearchBy=id)

 

According to the docs, the xpath select should be exactly what you posted, just with a caret (^) in front of every square bracket([]).

//*^[@id="pt1:loginUsername::content"^] > {Username}(SearchBy=xpath) //*^[@id="pt1:loginPassword::content"^] > {Password}(SearchBy=xpath)

 

PGU ends with error:

the connector validation failed. Timeout error. Failed to find element pt1: loginUsername :: content in page.

I click on "generate anyway" and what I get is a zip with xml file.

 

 

The XML contains:

 

<ConnectionComponent Id="PSM-OVM4" Type="CyberArk.PasswordVault.TransparentConnection.PSM.PSMConnectionComponent, CyberArk.PasswordVault.TransparentConnection.PSM" DisplayName="OVM4">

 <ComponentParameters />

 <UserParameters>

  <Parameter Name = "AllowMappingLocalDrives" Type="CyberArk.TransparentConnection.BooleanUserParameter, CyberArk.PasswordVault.TransparentConnection" Value="No" Visible="No" Required="Yes" EnforceInDualControlRequest="No" />

 </UserParameters>

 <TargetSettings Protocol = "HTTP" ClientApp="Chrome" ClientDispatcher="&quot;{PSMComponentsFolder}CyberArk.PSM.WebAppDispatcher.exe&quot; &quot;{PSMComponentsFolder}&quot;" ClientInvokeType="WebForm">

  <ClientSpecific>

   <Parameter Name = "ActionTimeout" Value="10" />

   <Parameter Name = "PageLoadTimeout" Value="30" />

   <Parameter Name = "RunValidations" Value="No" />

  </ClientSpecific>

  <LockAppWindow Enable = "Yes" MainWindowClass="Chrome_WidgetWin_1" Timeout="2000" SearchWindowWaitTimeout="30" />

  <WebFormSettings LogonURL = "https://10.10.10.210:7002/ovm/console/faces/login.jspx" FormName="login" SubmitButton="" WebFormFields="pt1:loginUsername::content&gt;{Username}(SearchBy=id)&#xA;pt1:loginPassword::content&gt;{Password}(SearchBy=id)&#xA;span.xgi&gt;(Button)(SearchBy=css)&#xA;" EnforceCertificateValidation="Yes" />

  <Capabilities>

   <Capability Id = "KeystrokesAudit" />

   <Capability Id="KeystrokesTextRecorder" />

  </Capabilities>

 </TargetSettings>

</ConnectionComponent>

4EverNewbie

using the xpath fields it got working. The only way to get the login button information was using PGU.

--------------------------------------below-------------------

//*^[@id="pt1:loginUsername::content"^] > {Username}(SearchBy=xpath)

//*^[@id="pt1:loginPassword::content"^] > {Password}(SearchBy=xpath)

span.xgi > (Button)(SearchBy=css)

//*^[@id="pt11:pt_psl2"^] >(Validation)(SearchBy=xpath)

pt11:pt_psl2 > (Validation)

4EverNewbie
  • 1 accepted solution
  • 328 Views
  • 3 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!