AppFolder icons in the repository

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

AppFolder icons in the repository

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

Hi,

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.
2022-03-29_12h55_51.png
Thanks
Hans
You do not have the required permissions to view the files attached to this post.

Jacob
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!

--Jacob
Image

potrebitel2018
Posts: 4
Joined: Sat Jan 13, 2024 8:00 pm

Re: AppFolder icons in the repository

Post by potrebitel2018 » Fri Mar 01, 2024 9:17 am

Since the app icon is being regenerated every time when an app folder child element changes, there are plenty of changes on git commit, which one does not expect.

See automatic-changes-in-appicon-attribute-t20925.html
and Support Case-01106856