Question

How to click an image in the dom table using openspan

Hi,

I need to click the image in the html table which I have interrogated using html table designer. But i am not able to perform click the image in the column of View Details.

Thanks & Regards,

Anil

Comments

Keep up to date on this post and subscribe to comments

Pega
June 18, 2019 - 7:35am

Can you try with "raise event + perform click" option on that component

June 18, 2019 - 8:46am
Response to raos

Hi, 

That image only have href. The data cell that contains the image link perform click is not working.

June 18, 2019 - 11:33am

Do you know if the href behind the link contains a unique ID that is also visible on the table? If so you could use the navigate event from the particular page you are on and construct the url using the text html href property behind the image in addition to the unique id (if you are able to grab the unique id) and then that will essentially behave in a perform click for that image. I would suggest starting by right clicking the image yourself and selecting view shortcut to see how the url is constructed. It may be extra, but if you see the url is something you could construct for the unique ids, you will see the expected outcome.

June 25, 2019 - 4:15am
Response to NiaC0459

I am able to fetch the unique id but perform click is not working for it. I have tried fetching the URL and navigate method even that is not working.

June 25, 2019 - 9:24am
Response to KannapuR

When you right click the image, that you have showed in your screenshot, what property is displaying?