Question
OpenSpan 7.1 Automation execution blocked by File upload modal dialog on web page
I wanted to automate file upload operation on a web page and followed advice here
https://pdn.pega.com/sites/pdn.pega.com/files/Step1.jpg
https://pdn.pega.com/sites/pdn.pega.com/files/Step2_0.jpg
I have tried out a couple of events as the trigger of automation and found only the "Loaded" event of the web page that contains the "<input type=file>" control works as expected.
The other events like "Started" event of the adpter, "Created" event of browse button, "Click" event of widnows form button, are all blocked at the point of file selection modal dialog displays and the automation steps follows the label "select File" never gets executed. (See attached screenshot for more details)
Can anyone explain the reason for this odd behavior?
Chunzhi
Hi,
You have to use wait for event.
1. Take wait for create of model dialog , Right click on it u can find "wait for this event" option.
2.This wait for event will have three output connection. Top first connection should connected with Browse button perform click.
Middle connection is continues flow.
Last is timeout.
Another Way
Automation flow should end with Browse Perform Click
File Dialog created event would be seperate flow.