Create your first automation in just a few minutes.Try Studio Web →
by YouTube
1
Template
102
Summary
Summary
There can be many reasons for web applications to not properly respond to page loads. Such reasons most of the time causes runtime errors in automation solutions that cause it to fail
Overview
Overview
Snippet Description
Web page UI automation solutions are built around the UI elements in the web application page. However, if web page is loading slower than usual, automation solution might run into run-time errors due to not being able to load the required UI elements on time. Such failures can result in the termination of the execution process. This component provides two set of xaml file snippets which can use used to handle such instances by trying to reload the page if a particular unique UI element is not available in the web page.
Web application automation includes two main tasks.
Open browser activity to open up a browser and to load a particular web page
Navigating to a different web page using an already open web application.
Each of the scenarios mentioned will result in a web page load. However, if the web page is not loaded as expected, there should be a way to reload the web page as a fail safe mechanism. The two template snippets provided in this component address these two scenarios mentioned.
WebApplicationInitiation.xaml - This xaml file will handle the first scenario mentioned
WebApplicationPageChange.xaml - This xaml file will handle the page change of an already open application
You can simply apply these two xaml files for your automation solution to handle web automation.
Web Application Initiation
Input Arguments
Output Arguments
Web Application Page Change
This is very much similar to the web application initiation. The only difference of the arguments would be that this xaml file will expect one additional argument. The additional argument would be the Browser element which was returned from Web Application Initiation xaml file. It will be used to identify the browser object.
Features
Features
The snippets will ease out the handling of web page loading problems by introducing an automatic page reload option. This mechanism comes in really handy when you have web page loading issues like slowness of the system/ network or any other page loading issues.
Additional Information
Additional Information
Dependencies
UiPath.Excel.Activities: [2.6.2] UiPath.Mail.Activities: [1.5.1] UiPath.System.Activities: [19.7.0] UiPath.UIAutomation.Activities: [19.7.0]
Code Language
Visual Basic
License & Privacy
MIT
Privacy Terms
Technical
Version
1.0.1Updated
February 18, 2020Works with
Built and tested using UiPath 2019.7.0 Compatible with previous and current versions
Certification
Silver Certified
Support
UiPath Community Support