AppFolder icons in the repository

Best practices, code snippets for common functionality, examples, and guidelines.
Posts: 125
Joined: Wed Sep 19, 2018 10:05 am

AppFolder icons in the repository

Post by HansSchl » Tue Mar 29, 2022 11:58 am


I am wondering which might be the algorithm by which Ranorex picks the icon that is displayed next to a top-level app folder in a repository, and whether it is possible to convince it to use a different icon. The reason I am asking is that I have five app folders for modal dialogs with almost identical RanoreXPath, and Ranorex displays four different icons. The one next to "Generic_Dialog" is the application's icon. I am attaching a screenshot of the repository.
You do not have the required permissions to view the files attached to this post.

Certified Professional
Certified Professional
Posts: 120
Joined: Mon Mar 22, 2021 10:01 pm

Re: AppFolder icons in the repository

Post by Jacob » Thu Apr 21, 2022 5:44 pm

Hi Hans,

This is generated by the System.Drawing.dll in the .NET Framework. The icon that shows up in the Repository is dependent upon the type of object that Ranorex detects when that object is added to the Repository. I hope this helps!