Ask a Question

Showing Keyword Test - TestSteps in Log

SOLVED
Lagencie
Frequent Contributor

Showing Keyword Test - TestSteps in Log

Is it possible to show keyword test, teststeps in the log of the keyword test?

 

I created my Project with many keyword tests for checks, like Templates, but when the keyword test runs through it doesn't create a line in the log for "Keyword Test: Check UserMenue" passed

 

 

Screenshot in the attachment from my test + testrun, which doesnt show the Keyword Test Teststeps

3 REPLIES 3
tristaanogre
Esteemed Contributor

Not automatically, no.  You will need to add, at the beginning of each keyword test, a Log operation to log a message.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Lagencie
Frequent Contributor

So even within Keyword Tests that I am not using as Tests but as Templates I have to use Log - Error, rather than Stop Execution, to see the Error in the Logs?

tristaanogre
Esteemed Contributor

Yes....  think of keyword tests as just another way of writing functional script code... what you have as "templates" I'd call if they were script code library functions...  So... you're calling code from within code...  


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: