cancel
Showing results for 
Search instead for 
Did you mean: 

Showing Keyword Test - TestSteps in Log

SOLVED
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

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Showing Keyword Test - TestSteps in Log

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


Robert Martin
[Community Expert Group]
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
Extensions available
3 REPLIES 3
Community Hero

Re: Showing Keyword Test - TestSteps in Log

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


Robert Martin
[Community Expert Group]
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
Extensions available
Frequent Contributor

Re: Showing Keyword Test - TestSteps in Log

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?

Community Hero

Re: Showing Keyword Test - TestSteps in Log

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
[Community Expert Group]
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
Extensions available