Question
1
Replies
466
Views
Sykes Enterprises Inc
Posted: June 28, 2018
Last activity: July 30, 2018
Closed
Solved
Interrogating Chrome Open File Window
Hello,
There is a task where I need to upload/attach a file using the chrome browser.The Chrome1 screen shots is what I get when you click on the Choose File button.I cannot integrate this object at all. Chrome2 screen shot shows the message I get when I try to set the InnerHTML programmatically in Pega.
Is there a way around this? Any help is appreciated.
Thanks Mike
***Edited by Moderator Marissa to update platform capability tags**
I don't believe that the pop-up to choose your file is a web element. Unfortunately, you will not be able to interrogate this control as it's not supported out-of-the-box in chrome.
However, we have been able to interact with this type of controls through a C# script that uses UI Automation to find the controls such as the combo box and buttons and perform actions on them. If you are unfamiliar with UI Automation there are some good examples on the Microsoft website. This is a good place to start: https://docs.microsoft.com/en-us/dotnet/framework/ui-automation/ui-automation-fundamentals