2 weeks ago
I am building a process that downloads an excel file full of data however, the download button on the Rigour page is recognised as an “svg” element type. Due to
this, Blue Prism can’t press the button required to download the file. I am
unsure how to make Blue Prism Application Modeler recognise this as a button to proceed
with downloading the report
Tuesday
Hi, here is the attributes I am getting after spying in browser mode:
and here is the attributes I get after spying with UI Automation:
neither have been fixed - this is just the default attributes I get from both options, directly after spying
Tuesday
Tuesday - last edited Tuesday
hi @rebeccabowe
Do something like this :
Tick only Web Path/Xpath and the match index.
Put this expression for Web Path/Xpath : //svg[contains(@class,"MuiSvgIcon-root")]/parent::button[@type="button" and @aria-label="Export"]
for Match Index put 1
Use then navigate stage and provide this :
try it and let me know
Tuesday
Hi,
I made sure I put it in exactly correct but unfortunately got an error:
Tuesday
Go to the html code and click Ctrl+f then paste the expression that i have send and see if you can find something please
Tuesday
Hi,
I got it working - I copied the XPath from the inspect and pasted it in and now I have it fully working in Control Room - I was able to complete it 5 times successfully! Thank you for all your help!
Wednesday - last edited Wednesday
Dear @rebeccabowe ,
I'm happy to hear you that it worked for you but when I look into your Xapth path I'm a bit worried if the div number get changed in future.
Normally the syntax for the Xpath looks like this //button[@id="root"]
When you work with the Xpath and CSS Selectors I would recommend to not use Match Index .
Please reach out to us if you need any help on this
Could you please try this Xpaths //svg[@data-testid="CloudDownloadIcon"] or //button[@aria-label="Export"]