Output to log / file

Hi

I try in my test case to output a value from the SAPGuiLabray (and in general).

In my test case I have:

SapGuiLibrary.Get Row Count    wnd[0]/shellcont[1]/shell

But how do I add the value to the log? or output to a text file?

/Jesper

Hi Jesper,

most “Get …” Keywords do log their return values, but if they don´t you can use the Log Keyword.

Example:

Test Case
    ${row_count}=    SapGuiLibrary.Get Row Count    wnd[0]/shellcont[1]/shell
    Log    Row Count is: ${row_count}

regards