Discussion
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-05/1f77a272-b558-4261-964a-0a7d028c27c5.jpg?h=436c2321&itok=Ilx-4hBN)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-05/1f77a272-b558-4261-964a-0a7d028c27c5.jpg?h=436c2321&itok=Ilx-4hBN)
Pegasystems Inc.
US
Last activity: 13 Aug 2020 12:23 EDT
Automating the IE Download Bar
There have been previous posts on automating the IE Download Bar. The product now has new methods for clicking items that are not directly able to be interrogated. These methods (ClickChildByText and ClickChildByName) almost completely close the gap for working with the Download Bar directly. Here is the latest solution that demonstrates how to automate this control.
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-07/f7f35052-5e7d-4ed9-ada9-87594f1d3c63.png?itok=bz3Ms_gZ)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-07/f7f35052-5e7d-4ed9-ada9-87594f1d3c63.png?itok=bz3Ms_gZ)
Pegasystems Inc.
US
Thanks for sharing this knowledge @jeffbadger! This will be very helpful for our Robotics users!
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Genpact
IN
Thanks Jeff for the solution, we have used the same solution but having issue in matching the "Save As" window when running the Bot in system locked state. The solution works well when we run the Bot in unlock case. Any suggestion on what can be done to fix this issue.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-05/e90c12b7-5a50-45b6-9408-8644c06fabca.jpg?h=9bedb0c7&itok=I_lzpbin)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-05/e90c12b7-5a50-45b6-9408-8644c06fabca.jpg?h=9bedb0c7&itok=I_lzpbin)
Pegasystems Inc.
US
This will not work on a locked machine as Internet Explorer does not create the download bar while the machine is locked.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-05/e90c12b7-5a50-45b6-9408-8644c06fabca.jpg?h=9bedb0c7&itok=I_lzpbin)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-05/e90c12b7-5a50-45b6-9408-8644c06fabca.jpg?h=9bedb0c7&itok=I_lzpbin)
Pegasystems Inc.
US
I stand corrected. The download bar is not what isn't created, it is the Save As menu option. If you elect to do a Save instead, it will work. The Save should place the file in the Downloads folder. Thank you to Jeff B for the correction.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Serendebyte Inc
US
Hi, I downloaded the solution file and tried to run a series of tests. When I click on the "download 1MB file" button I get the same response regardless of the download option I select (Save, Save As, or Save and Open). I get the prompt for the download bar and then nothing. Any ideas why?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
SYKES Costa Rica
US
What is the pega version that enable this method?
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-05/1f77a272-b558-4261-964a-0a7d028c27c5.jpg?h=436c2321&itok=Ilx-4hBN)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-05/1f77a272-b558-4261-964a-0a7d028c27c5.jpg?h=436c2321&itok=Ilx-4hBN)
Pegasystems Inc.
US
The minimum build to use this functionality is 8.0.1058.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Raiffeisen Life Insurance Company LLC
RU
I have Pega Robotics Studio v.8.0.1089.0 installed. As mentioned here, I'm trying to find ClickChildByText in OpenSpan.Adapters.dll, but I can't see it in there - just ClickWindowChildByText (see "ClickChildByText.png" attached). Is that what I'm looking for or not?
And how to use it? What should I pass to automationElementChild and target?
Could you please provide some usage example?
P.S. I can see ClickChildByText in Test Methods while performing interrogation with windows application.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689963000/ecbeed25-dded-40b7-a594-16bac3371fc3.jpg?itok=zNMz8P5u)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689963000/ecbeed25-dded-40b7-a594-16bac3371fc3.jpg?itok=zNMz8P5u)
Aflac Inc.
IN
Hi Jeff,
I just wanted to know if GetValuebyText or GetValueByOCR methods of Download Bar control has a specific timeout.
Could you please give some inputs on this.
Updated: 24 Jul 2020 14:43 EDT
![](https://accounts.pega.com/sites/default/files/pega-user-image/641/REG-640707.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/641/REG-640707.png?source=PUMINIT)
Booz Allen Hamilton
US
This solution is failing for me for the Save As option. Is there some kind of updated required in terms of the C# script used? What can I provide to troubleshoot this? I do not see any errors in the logs. I am running Pega Robot Studio Proprietary information hidden (Version 14.0.25420.1 D14REL)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-05/e90c12b7-5a50-45b6-9408-8644c06fabca.jpg?h=9bedb0c7&itok=I_lzpbin)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-05/e90c12b7-5a50-45b6-9408-8644c06fabca.jpg?h=9bedb0c7&itok=I_lzpbin)
Pegasystems Inc.
US
I was able to get this working in the attached solution. I think that two things changed;
- The Save button on the Dialog wasn't working when I used PerformClick. I switched it to use ClickByText which worked fine. SendKeys {Enter} also worked, but I would avoid that if possible.
- The properties for the dialog may have changed, so the script is failing. I modified it and it seems to be working now.
![](https://accounts.pega.com/sites/default/files/pega-user-image/641/REG-640707.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/641/REG-640707.png?source=PUMINIT)
Booz Allen Hamilton
US
Thank you Thomas - that worked.