All Downloads are FREE. Search and download functionalities are using the official Maven repository.

robotframework-2.7.7.atest.testdata.test_libraries.logging.txt Maven / Gradle / Ivy

The newest version!
*** Settings ***
Documentation   Tests for logging using stdout/stderr
Library         ExampleLibrary  WITH NAME  Py
Library         HtmlPrintLib.py
Library         ExampleJavaLibrary  WITH NAME  Java

*** Test Cases ***
Logging From Python Library Using Stdout And Stderr
    Py.Print  Hello from Python Library!
    Py.Print  Hello to stderr from Python Library!  stderr
    Py.Print to stdout and stderr  Hello!!

Logging HTML From Python
    Print One HTML Line
    Print Many HTML Lines
    Print HTML To Stderr

Logging From Java Library Using Stdout And Stderr
    [Setup]  Java.Print  Hello\nworld\n!!
    Java.Print  Hello from Java library!
    Java.Stderr  Hello Java stderr!!

Logging with Levels From Java
    Java.Print   This is debug  DEBUG
    Java.Print   First msg\n2nd line of1st msg\n*INFO* 2nd msg *INFO* Still 2nd
    Java.Print  *INFO*1st msg\n2nd line\n*WARN* Second msg\n*INVAL* Still 2nd\n*INFO*Now 3rd msg
    Java.Stderr  Warning to stderr  WARN

Logging HTML From Java
    Java.Print  Hello, stdout!  HTML
    Java.Stderr  Hello, stderr!  HTML




© 2015 - 2024 Weber Informatics LLC | Privacy Policy