09-08-22 03:07 PM
Answered! Go to Answer.
12-08-22 04:05 PM
I believe you are going to have to use Region Mode (which I have never used) for that one because the page is using a CSS Selector to display the checkmark inside the SPAN element.
11-08-22 12:49 AM
Hi Diane, fine? So, You can post here the Screenshot of Element? and how do you try get this information in read action
12-08-22 01:04 PM
12-08-22 04:05 PM
I believe you are going to have to use Region Mode (which I have never used) for that one because the page is using a CSS Selector to display the checkmark inside the SPAN element.
12-08-22 05:07 PM
Would you be able to post the screenshot of the attributes of how it was mapped?
See if this also helps, I found on the web.
Blue Prism provides no facility to return data directly from a JavaScript call back into the calling Object. Your best bet is to use a script that generates a hidden element in the DOM and appends the data you want to exfiltrate:input
var hiddenElement = document.querySelector('#bp-output');
if (typeof hiddenElement === 'undefined') {
hiddenElement = document.createElement('input');
hiddenElement.type = 'hidden';
hiddenElement.id = 'bp-output';
document.body.appendChild(hiddenElement);
}
hiddenElement.value = /* some functionality to set the value of the newly-created hidden element */;
You'll need to model this element in your object's application modeler, but it's fairly simple to do - you don't need to match on any attributes other than "ID" or "Web ID", and it's a match only to the string .bp-output
From there, you can use a typical Read stage to read the value out of the attribute of your element.value
For more complex data structures like Collections, you will have to utilize some serialization trickery to get to where you want to be. For example, if you're trying to read a table into a Collection via JavaScript, your in the example above may need to leverage some code from this SO thread to serialize the table itself to a CSV string. Once you've read the string from the hidden element's , you could use the CSV-related actions in the vendor-provided VBO to serialize this to a proper Collection for your use in your Objects/Processes./* functionality to set the value of the newly-created hidden element */valueUtility - Strings
16-08-22 12:34 PM
17-08-22 06:37 AM
18-08-22 04:00 PM
18-08-22 05:19 PM