[request] Adding text to the GUI as my test runs

Asked by Len Lesesne

How do I add text to the screen that comes up as each individual item of a test a is executing describing what is being done

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
RaiMan Edit question
Last query:
Last reply:
Revision history for this message
Len Lesesne (llesesne) said :
#1

I cannot use the Extensions feature how do I do this what needs to be downloaded. I have tried to lauch its from the Tool ---> Extensions through the IDE but this does not work can someone please assist me with this

Revision history for this message
RaiMan (raimund-hocke) said :
#2

The extensions currently are not available and hence the extension Guide neither.

Guide would not help you I guess, since while the Guide elements are visible, click actions will not go through to the application (it is a transparent frame over the screen, that grabs all mouse and keyboard actions).

The easiest way is to just setup up a simple JFrame with one JLabel element that you can fill with the text as needed and position it where you want. You can make it visible/invisble whenever you want. put it in a thread/subprocess with some lightweight communication between main and sub and you have the full flexibility to display whatever you want, even images.

Revision history for this message
Len Lesesne (llesesne) said :
#3

Can I do this using the IDE I am not a developer and am pretty much relying on Records and playback until I get more skilled with the tool. What commands could I add to my scripts to make this possible

Revision history for this message
RaiMan (raimund-hocke) said :
#4

Uuups, then forget it.
For a non-programmer this is too complicated.

I take this as a request bug for some new feature.

Revision history for this message
Len Lesesne (llesesne) said :
#5

Thanks RaiMan, that solved my question.

Revision history for this message
Len Lesesne (llesesne) said :
#6

Will you be adding this feature to a new release and when will that take place. If I had a developer here that could do it could he perform this for me and I would not need to do anything but write and record my steps

Revision history for this message
RaiMan (raimund-hocke) said :
#7

It will be available at some time before December in a Beta of 1.1.0 and finally in December.

If you have a (Java) developer at hand: he should know what to do ;-)

Revision history for this message
RaiMan (raimund-hocke) said :
#8

already solved.