Question / Problem:
Is it possible to output Kapow image or binary variable to KTA?
Which variable needs to be mapped?
Answer / Solution:
We don't have any variables that will hold the image or binary values, so we must use text instead. In Kapow, we did the following:
Enter How to here:
- Add a type with an attribute of type 'long text'
- Add a variable consuming the long text type (in the binary robot - I made a copy of the robot)
- Add a 'Convert Variables' step after the 'Extract Screenshot' step
From = image_binary_2
Converters = Base64 encode
To = long text variable
- Change the variable returned in the return value step to the long text type variable
- Map a String variable to the Kapow return variable