wbrigham
11 years agoOccasional Contributor
How to do a OnWebDownloadFinished Event in Chrome?
Hi,
I've come to understand that it's not possible to use the Web Testing Events in Chrome such as OnWebDownloadFinished or OnWebPageDownloaded. I've read there is an ActiveX plugin for Chrome that could be used but that is not an option for my company.
How can I do a search for an object after a web page has downloaded and then perform some additional actions such as take a screenshot of the error and add a log file to the test results using an Event?
The closest I've come to accomplishing what I want to do is by using an IF statement to look for the object (error panel), log a Warning, then use the OnLogWarning Event to run a series of steps. This solution, however, requries me to touch every script and add an IF statement followed by a warning message every time a page has downloaded. Ouch! That's alot of work/maintenance.
I'm relatively new to Test Complete so the easiest/most maintainable solution would be ideal :)
I've attached a screenshot of the steps I'd like to put into an event handler of some sort for Chrome.
Thank you for your help!!!
I've come to understand that it's not possible to use the Web Testing Events in Chrome such as OnWebDownloadFinished or OnWebPageDownloaded. I've read there is an ActiveX plugin for Chrome that could be used but that is not an option for my company.
How can I do a search for an object after a web page has downloaded and then perform some additional actions such as take a screenshot of the error and add a log file to the test results using an Event?
The closest I've come to accomplishing what I want to do is by using an IF statement to look for the object (error panel), log a Warning, then use the OnLogWarning Event to run a series of steps. This solution, however, requries me to touch every script and add an IF statement followed by a warning message every time a page has downloaded. Ouch! That's alot of work/maintenance.
I'm relatively new to Test Complete so the easiest/most maintainable solution would be ideal :)
I've attached a screenshot of the steps I'd like to put into an event handler of some sort for Chrome.
Thank you for your help!!!