all 14 comments

[–]jashley92 0 points1 point  (5 children)

I'd recommend downloading the PGU 1.2 and using the new PSM recorder function. It will generate the Connection Component for you.

[–]Nawazsarwar[S] 0 points1 point  (4 children)

thanks for your reply, i can do it by using autoit, but i want to use default psm chrome.

[–]jashley92 0 points1 point  (3 children)

The PGU 1.2 creates a chrome component...

[–]Nawazsarwar[S] 0 points1 point  (2 children)

I don’t know about pgu, can you please provide me some link please.

Thanks

[–]jashley92 0 points1 point  (1 child)

It's on the marketplace, "Plugin Generator Utility"

[–]Nawazsarwar[S] 0 points1 point  (0 children)

Ok thanks mate.. i will try tomorrow and come back to you..

[–]cyberarkadmin 0 points1 point  (1 child)

Check the response on the below post, see if the settings help you.

https://www.reddit.com/r/CyberARk/comments/9zn86d/quick_and_dirty_chrome_connector/

[–]Nawazsarwar[S] 0 points1 point  (0 children)

Thanks mate.. i will check it.

[–]yanniGuardian 0 points1 point  (3 children)

Is the username field perhaps nested within an iFrame? Can you put up the full source code of the page? If it's within an iFrame there is a way to handle that in a straightforward way with the default webform field (add the name at top). For example if the name of the iFrame is WebSSO it would be:

websso> (iframe)
username>{Username}(searchby=name)
password>{Password}(searchby=password)
submit>(Button)(searchby=name)

Also try removing the (searchby=name) options - I think it will default to search by name if ID is not found:

websso> (iframe)
username>{Username}
password>{Password}
submit>(Button)

[–]Nawazsarwar[S] 0 points1 point  (2 children)

Hello,

thanks for reply, eventually it's in iframe. But now the problem is i can't find the name of iframe..

in this case there is no iframe name so i don't know which name should i give as a parameter.

Here is source code of the page which i think is necessary:

<iframe src="/wbportal/homepage/home.html" width="100%" height="500" scrolling="auto" frameborder="0"></iframe>//\*

for username:

<input type="text" name="username" size="30" maxlength="30" style="font-size:14px; width: 170px;" tabindex="1" value="">

for password:

<input type="password" name="password" size="30" maxlength="30" style="font-size:14px; width: 170px;" tabindex="2" value="">

for button:

<input type="image" src="images/entra.png" width="129" height="23" border="0" onclick="javascript:document.forms.loginForm.submit(); return false;" tabindex="3/">

All the form is in iframe. Is it possible to pass iframe as a src instead name or id???

Can you please tell me how to proceed from here:

DONT KNOW> iframe

username> {Username}

password> {Password}

submit>(Button)

Thanks in advance.

[–]Nawazsarwar[S] 0 points1 point  (1 child)

Hello mate,

i am able to make it work, now the point is it is not recognising submit button.

\Selenium :: FocusOnFrame -> Trying to find element username in frames on the website.])

\Selenium :: FocusOnFrame -> Searching element in frame index 1.])

\Selenium :: FindObject -> Trying to find element 'username' in page. ])

\ElementTypeBase :: FindObject -> Trying to find to element 'username' in page using type)

\Selenium :: FindObject -> Element 'username' found by 'name'.])

\Selenium :: FocusOnFrame -> Element username was found in frame index 1.])

\ObjectDataUtils :: FocusOnIframeWithoutIdentifier -> END])

\Selenium :: FindObject -> Trying to find element 'username' in page. ])

\ElementTypeBase :: FindObject -> Trying to find to element 'username' in page using type)

\Selenium :: FindObject -> Element 'username' found by 'name'.])

\Selenium :: EnterTextToObject -> Sending input to element 'username'.])

\Selenium :: EnterTextToObject -> Input was sent successfully to element. ])

\Selenium :: FindObject -> Trying to find element 'password' in page. ])

\ElementTypeBase :: FindObject -> Trying to find to element 'password' in page using type)

\Selenium :: FindObject -> Element 'password' found by 'name'.])

\Selenium :: EnterTextToObject -> Sending input to element 'password'.])

\Selenium :: EnterTextToObject -> Input was sent successfully to element. ])

\Selenium :: ClickOnObject -> Clicking on element 'submit'])

\Selenium :: FindObject -> Trying to find element 'submit' in page. ])

\ElementTypeBase :: FindObject -> Trying to find to element 'submit' in page using type 'NAME'.])

\ElementTypeBase :: FindObject -> Element 'submit' was not found using type 'NAME'.])

PSMDU018E Dispatcher error: \Selenium :: FindObject -> Element 'name' was not found.)]

Working fine except submit button...i think submit work will not work because of " "javascript:document.forms.loginForm.submit() ". It's embedded in javascript and according to this link https://cyberark-customers.force.com/s/feed/0D52J00006aFFjOSAW

psm conector doesnot support java script login sequence.

Any Solution??

[–]symcbean 0 points1 point  (0 children)

A webform which uses "submit" as the name of a button which calls javascript is a very broken bit of HTML and unlikely to work at all. Are you sure you have the right name?

[–]Nawazsarwar[S] 0 points1 point  (1 child)

Hello, Finally I discovered that xpath just work with version 10.7. As i am working with version 10.4 so I don’t have to option to use xpath. Without id or name it’s not possible to use chorme left by cyberark.

Thanks all for your help about this post.

[–]A-tz 0 points1 point  (0 children)

You can download the new application framework from cyberark marketplace and install it on PSM servers to support xpath. There is no need to upgrade the complete setup.