AludraTest/aludratest

Configurable logging for aludra commands in perform() action

Closed this issue · 2 comments

The logged commands within the test case log are defined by AludraTest.

It would be helpful to

  • configure the commands that are included in the log OR to just
  • allow logging of ALL performed actions such as "isElement..."
    ** e.g. having a general property
    -DALUDRATEST_CONFIG/aludratest/log.all.commands=true

command

WrongPageFlow exceptions do not have a technical locator included. For debug purpose it would be great to have the output of the previous isPresent() call in the log. In our implementation we have checkCorrectPage() checking the existence of an GUI element with isPresent().

E.g.:

    protected void checkCorrectPage() {
        if (!tab().myGuiElement().isPresent()) {
            wrongPageFlow("Your are on the wrong Page XYZ");
        }
    }

image

Now possible using log4testing's step filters.