Hello, i faced an issue when i moved an state machine from an VM to another one. I use a find image avtivity to find a specific line in a SAP GUI which contains the value “Reference”. The selector is fine as you can see:
But since i just let the process run on the new VM there occure this error message: Find Image ‘saplogon.exe Change’: Activity timeout exceeded
I would be really grealtfull for every hint
Thank you
Hey @Schlosser_Tobias
When using find image it should be handled but carefully taking care of resolution all these things.
But just curious to know, why find image instead of selector approach ? Does the application was not having proper selectors ?
Thanks
#nK
@Nithinkrishna,
thank you for your response.
The activity is used in SAP and the reason for use is that there is an word which coud be written red or black. Whith tgus approach we try to catch this part of the SAP GUI an compare the screenshot to an existing .png file where the color will be analysed whether it is red or black.
Here is the reference picture:
And here the corresponding activity:
Regards
Tobias
Hey @Schlosser_Tobias
You were unable to get selectors for it ?
Thanks
#nK
Hi @Nithinkrishna,
i think the selector works but the activity is always running in the mentioned issue:
“Find Image ‘saplogon.exe Change’: Activity timeout exceeded”
Greeds
Tobias
Could you please show us the selector you were trying to use ?
Hello,
the actual issue is to read a field in SAP named Reference, which contains a numerical value. If the numerical value is displayed in black color, everything fits. However, if the numerical value is displayed in red color, it is a duplicate.
To read out the field, we used a reference image, which is read in and determines the color by the activity “color from image”. In SAP, the field is searched for by the activity “find image” and if it is found on the basis of the reference image, a screenshot is generated. The activity always runs in the mentioned error.
Hello @Schlosser_Tobias
If you inspect on Reference using ui explorer, are you able to find some attribute that gives the color of the font?..
If yes, you can use the anchor base by providing a proper selector to the anchor. I think it should work.
Thanks