String-свойства#
package org.my.pack;
import ru.tinkoff.qa.neptune.core.api.properties.PropertyName;
import ru.tinkoff.qa.neptune.core.api.properties.string.StringValuePropertySupplier;
@PropertyName("MY_PROPERTY")
public class MyStringProperty implements StringValuePropertySupplier {
public static final MyStringProperty PROPERTY = new MyStringProperty();
}
MY_PROPERTY=Some string
package org.my.pack;
import static org.my.pack.MyStringProperty.PROPERTY;
public class MyUseCase {
public void useCase() {
//чтение
String value = PROPERTY.get();
}
}