Search code examples
c#ranorex

How to convert the WebElement to RepoItemInfo object in Ranorex


In Ranorex I can to converted RepoItemInfo into WebElement, using FindAdapter<T>() on WebElement object, but I do not know how to do it backwards?

RepoItemInfo info = someWebElement.???();

Solution

  • The element needs to be in your Ranorex repository. Once added, you can access the element's info object from the repository object. enter image description here