Jarrett Member since 2017 16 posts
Navy Federal Credit Union
Posted: 3 years ago
Last activity: 3 years 1 month ago

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
Share this page LinkedIn