- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
10-21-2019 08:37 AM
I'm attempting to reconcile my admin account for a webapp. However, the webapp's user page uses a table with generic classes for every user listed. So, I can't just tell my ElementsData.ini file to look for a specific class to click on because all of the users in the list have the same class. Please see the HTML code that I'm referring to:
<a href="#" class="model-title entity-edit-link">admin</a>Is it possible to target the text "admin" on the page IF it has the model-title class associated with it? I'm not sure how to do that in the ElementsData.ini file.
Basically, I just want CyberArk to "click" on the admin link to pop out the Edit User page.
10-21-2019 02:07 PM
I was able to do what I wanted to do without referencing two different elements. I was able to reference the admin link with this code here and simulate a click:
//a[contains(text(),'admin')]>(Click)(searchby=xpath)Found a very helpful Chrome addon called Selenium IDE. I highly recommend it for anyone that is creating webform syntax for CPMs.
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!

