Hi,
Pixi6s wrote:What is <button>
Button is the adapter type which will be created, if the control exists (
Exists<(Of <(T>)>) Method (adapter)).
Pixi6s wrote:and what does "MyButtonInfo" mean exactly?
Each item and each folder in a repository provides an additional object item declared with '<ObjectName>Info'. It is used to access item related attributes without accessing the UI element directly in order to prevent Ranorex from throwing exceptions. The info object is mainly used to check whether an item or a folder path is valid or not.
Please have a look at our code examples chapter to learn more about using the info objects:
Wait for UI Elements Using RepositoryPixi6s wrote:Also does this only work on forms/buttons? I would need it to either check the page or the link to click.
This works for all kinds of adapters. Please have a look at following blog post to learn how to handle pop up dialogs:
Handling dialog and pop up windowsRegards,
Tobias
Support Team