Question
Mphasis
IN
Last activity: 16 Oct 2018 12:03 EDT
Pega RPA - How to click on the link within a HTML table
In a web application, we have a HTML table with 4 columns.
The first column is a link which will open up that particular record
Our requirement is, when the value in Column 1 and Column 2 matches certain values, then the link in the first column of the corresponding row has to be clicked and the record opened.
We have been able to interrogate the table using the HTML Table Designer, but this appears to give access only to the data in the table.
It is unclear how the link can be clicked.
Please help.
***Edited by Moderator Marissa to update categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Here is an example of using Query:
Pegasystems Inc.
US
Interrogate the link with the bulls-eye by using Select Element. Once interrogated, it should show up under the table control in the object explorer. Anything under the table control uses clones so based on the current row that you're analyzing, the PerformClick will activate that link.
Mphasis
IN
Tried that, but it is not working. I have interrogated the table in the attached screen-shot. In the header of the table, there is a search icon. I am trying to interrogate that using Select Element. But when the element is created, it is getting created outside the table and not within the table
Genpact
US
Use SelectElement and select the first link in your table. That'll add it as part of your table row. Once thats done, you can use Query for that field to select the conditions under which you need to click the link.
Pls post a picture of how your interrogated the table - go back to interrogation mode, right-click the table and go to design table and grab a screenshot. Also after you interrogate the first link, grab a screenshot of your interrogated controls in your object explorer.
Mphasis
IN
Please find attached the screen-shots from the table design and the interrogation mode.
I am now able to get the link within the table as seen in the screen-shot. But can you please provide more information on how to query the link, not sure how to do this. If there is a sample, it will be very helpful
Accenture Solutions Pvt Ltd
IN
You can interrogate field With SelectElement & it will get created within Datacell section .It looks like link In the screenshot is glyphicon ,if Performclick fails u can go for RaiseEvent
Mphasis
IN
Can you please clarify what is glyphicon?
Also, I am trying to interrogate using the SelectElement, but as you can see the element is created within the table, but not the Data Cell
Accepted Solution
Pegasystems Inc.
US
Here is an example of using Query:
-
Richa Gulati
Mphasis
IN
Thank you
Pegasystems Inc.
US
This example shows obtaining the Text property by a Query but you can do a PerformClick by Query as well.
Billennium
IN
I am trying to open the item from 2nd column i.e. from ID column(Please see the screenshot) and for that I have created the same query to open the specific item. But it doesn't working for this.
Pegasystems Inc.
IN
Billennium
IN
Hello,
Thank you for timely feedback, I just posted the new post on community and added detailed information along with screenshots.
Thanks,
Vishal S.
Pegasystems Inc.
IN
You're welcome! Looks like you created 2 posts for the same so I went ahead and removed the duplicate post.
Here's the one that's live now: To open the specific item(say 1st or 2nd) from any column of HTML Table
Billennium
IN
OK, That's why I have created one post and one reply for getting the visibility for my query.