Question

7
Replies
42
Views
Close popover
Kasia Markowska (KasiaM40)
UNIQA

UNIQA
PL
KasiaM40 Member since 2020 13 posts
UNIQA
Posted: February 12, 2021
Last activity: February 18, 2021

Firefox - link is not clicked /onclick event not raised (handler of a user-initiated event)

I have a link disguised as an icon. Upon clicking it, either a file Save/Open windows dialog pops up or a file is downloaded depending on the browser settings. When I tried to simulate that in Pega, neither PerformClick nor RaiseEvent(onclick) had any effect though no exception was thrown during execution. I am 100% sure correct element is matched because this element is unique.

The said element has a structure such as this:

<a id="downloadCsv" class = "..." href="#" onclick=".."> [event]

 <span class="icon">< /span>

</a>

 

Click event is on of the events attached to that element.

 

How can I make it work in Pega Studio?

 

Pega Robotic Process Automation Robotic Process Automation Other Industry Senior System Architect