Close popover
Jarrett Clark (Jarrett)
UnitedHealth Group

UnitedHealth Group
Jarrett Member since 2017 18 posts
UnitedHealth Group
Posted: May 12, 2017
Last activity: November 6, 2018

Convert VirtualObject to WebControl

In Robotic Automation 8.0 there is an "All" property on web pages in Universal adapters. According to the documentation it contains "a collection of all the HTML elements contained in the webpage." This seems quite useful. I'm at a point where I can read the values of any element on a page. However, I can't figure out if there is a way to convert the elements to WebControl's (or some other type of object) so I can raise events and set attributes.

The All.AllItems property returns array of VirtualObject's. Is there a way to convert a VirtualObject to a WebControl or similar object that allows changing the attributes and firing events?

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Robotic Process Automation
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.