avoid embedding `helperscreenshot` in rxrecs

Ranorex Spy, Recorder, and Studio.
Groostav
Posts: 3
Joined: Fri Oct 09, 2015 6:15 am

avoid embedding `helperscreenshot` in rxrecs

Post by Groostav » Tue Oct 24, 2017 10:19 pm

Hey guys,

I was hoping to get the `helperscreenshot` and `icon` data out of the XML and into regular PNG/jpg/bmp files so that I might store them with git-lfs, both cleaning up my repo and cleaning up my pull requests (--as github will be able to generate previews if we use a standard file format).

Is this possible with an existing configuration option? Can you guys add it as one?

in this sense our pull requests would go from

Code: Select all

+modified-file something.rxrec
[email protected]@line [email protected]@
-			<icon>
-				iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGOfPtRkwAAACBjSFJN
-AACHDwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUND
-BLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAH
-BLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHB
-[AND SO ON]
@@
+			<icon>
+				KRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
+U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmao
+BLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAH
+BLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHB
+[AND SO ON]
@@line [email protected]@
and instead become

Code: Select all

-removed-file {CDEF-9876-6789-CDEF}.bmp
[insert nice github bmp preview here!]

+created-file {ABCD-1234-1234-ABCD}.bmp
[insert nice github bmp preview here!]

+modified-file something.rxrec
[email protected]@line [email protected]@
-			<icon imgref="{CDEF-9876-6789-CDEF}.bmp">
+			<icon imgref="{ABCD-1234-1234-ABCD}.bmp">

Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: avoid embedding `helperscreenshot` in rxrecs

Post by Support Team » Thu Oct 26, 2017 9:25 pm

Hello Groostav,

At this time, it is not possible. I recommend creating a new feature request on our User Voice platform as I can see this being a useful feature.

In the meantime, you can remove the <helperscreenshot> and <icon> blocks as they are not required for test automation, but are merely for assistance with the development of your test. (Note, I only tested this briefly. I recommend testing more thoroughly if you plan to change this on a large scale.)

Cheers,
Ned
.
Image