Skip to main content

AddTestProperty

Description

Use this command to add a property to a test. The property appears in the reporter's report.

info

Properties are restricted to 1000 per project. Trying to add a new property may return false if 1000 properties are already defined in the project.

Parameters

NameTypeDescription
PropertyStringProperty name
ValueStringProperty value

Return Value

  • True - Property and value were added.
  • False - Addition of the property failed.

Usage

info

Replace <server> with the appropriate URL.

AddTestProperty

DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");

...
...
seetest.addTestProperty("testlogin" , "true")