Page 1 of 1

avoid embedding `helperscreenshot` in rxrecs

Posted: Tue Oct 24, 2017 10:19 pm
by Groostav
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
+@@line 1234@@
-			<icon>
-				iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGOfPtRkwAAACBjSFJN
-AACHDwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUND
-BLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAH
-BLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHB
-[AND SO ON]
@@
+			<icon>
+				KRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
+U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmao
+BLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAH
+BLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHBLAHB
+[AND SO ON]
@@line 4567@@
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
+@@line 1234@@
-			<icon imgref="{CDEF-9876-6789-CDEF}.bmp">
+			<icon imgref="{ABCD-1234-1234-ABCD}.bmp">

Thanks

Re: avoid embedding `helperscreenshot` in rxrecs

Posted: Thu Oct 26, 2017 9:25 pm
by Support Team
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