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
Name | Type | Description |
---|---|---|
Property | String | Property name |
Value | String | Property value |
Return Value
- True - Property and value were added.
- False - Addition of the property failed.
Usage
info
Replace <server> with the appropriate URL.
- Public Continuous Testing Cloud - https://cloud.seetest.io/wd/hub/.
- Dedicated Continuous Testing Cloud environment - Your own domain. For example: https://company.experitest.com/wd/hub/
- On-premises Continuous Testing Cloud environment - Your designated URL. For example: https://company.com/wd/hub
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")