Skip to content
This repository has been archived by the owner on Jan 14, 2019. It is now read-only.
Dmitry Baev edited this page May 17, 2014 · 7 revisions

Steps are any actions which constitute testing scenario. Steps can be used in different testing scenarios. They can be parametrized, can do some checks, can have nested steps and create attachments. Each step has a name.

Java

In order to define steps in Java code you need to annotate respective methods with @Step annotation. When not specified step name equals to annotated method name converted to human readable format. To define explicit step name:

@Step("Open '{0}' page.")
public void openPageByAddress(String pageAddress) {
     ...
 }