first, my name is Thomas (or Tom for short) and I just started with macro sheduler. Normally I do manual tests, so now I am searching for a software to do automated GUI tests. So here I am, testing macro sheduler .
I have to say that I am an absolute newbie when it comes to programming or coding.
I will check the panels and labels in the GUI of correct wording, and later on I will check the translation too.
Code: Select all
Let>logfile=C:\Users\admin\Documents\testresults.log
GetTextInit
GetTextInRect>409,53,467,65,result
if>result={"TEXT"}
TimeStamp>logfile, wording:Success
Elseif
TimeStamp>logfile, wording:Failed
Endif
When I use if>result= then the test failes, if I use if>result<> then the test will be successfull, even if the text in the panel ist not "TEXT". When I use "TEX" the test will still be successfull.
Hope you understand what I mean (sorry, I'm german, english is not my native language) and are able to give me a hint
And by the way, I already spend 2hrs in reading in this forum, but did not find the answer myself.
Thanks!
Cheers,
Tom