Question
IKOR PX
AU
Last activity: 6 Nov 2018 20:02 EST
Robotics [RDA] - Interrogating web repeating DIV containers with use keys setting and then accessing its children in a loop
Hi all,
I am trying to do a sample automation on BOFA website to list out all the bank locations given a zip code. The locations are in a repeating list constructed with DIV containers. I wanted to read all those locations using the automation. So, I have interrogated the div [selector: div.location] and set the UseKeys setting to true. Now I can access its clones. But how do I access its child elements [div[itemprop=name], div.address_1, td.branchHoursText>strong] to get that cards content?
I have attached the screenshot [BOFA Locator.png] of the website with regions of interest highlighted.
https://locators.bankofamerica.com/search?q=60656&rad=100
I have also attached a screenshot [Obj Explorer.png] of the Object Explorer which shows no hierarchy of parent child controls upon interrogation.
Please let me know your thoughts and suggestions..
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
If you are using 8.0.1081 or greater, you have access to a new capability to allow you to modify the hierarchy and effectively move those controls underneath the DIV.
https://docs-previous.pega.com/working-single-page-web-applications
In older versions, this is possible, but requires you to modify the os file and move things around in the XML (and create new nodes, etc...). I would suggest using the latest Studio version and taking advantage of the new feature.
IKOR PX
AU
Ah, that makes sense.. I have downloaded 8.0.1080 from Pega Robotic Automation Architect Essentials course. Could you please point me to where I can get the updated software?
Pegasystems Inc.
US
Hey @TarunBolla!
Check out our Pega Digital Delivery Pilot FAQ on how to access software to download yourself!
Hope that helps!
IKOR PX
AU
Thank you Marissa! That page shows an error message currently. I have send an email request to [email protected] as pointed out in the FAQ..
"We are currently unable to load your account profile. Please contact your Pega sales representative, or enter a support request on My Support Portal for assistance."
Pegasystems Inc.
US
Thanks @TarunBolla! Let us know how that goes! :)
IKOR PX
AU
Hi Marissa,
Delivery failed for that email address. [email protected] replied -- "Your message can't be delivered because delivery to this address is restricted".
Updated: 21 Mar 2018 8:39 EDT
Pegasystems Inc.
IN
Hi Tarun,
Thank you for reporting back. We will follow up on this internally.
Regards,
Pegasystems Inc.
IN
Hi Tarun,
This is now fixed. You should be able to send emails to [email protected]
Please let us know if you're still facing the issue.
Regards,
IKOR PX
AU
Thanks @sasnt. I have managed to work it out by editing the os file for now. I will switch over to the new version as soon as my Digital download is ready!