SetReporter
Description
Use this command to set the reporter for a test case. This is generally called at the beginning of each test case, and its configuration will define the report that will be generated at the end of the test.
Use this command with GenerateReport to generate the report.
Parameters
Report Type | String | Format of the generated report. Optional formats are "XML" or "pdf". |
Report Path | String | Path where the report and all its content will be stored. The default path in Windows is C:\Users\<User name>\seetest-reports\ folder. Note: This parameter is ignored currently and the report is notgenerated in the local path. The generated path of the report is returned by GenerateReport. |
Report Name | String | Name of the report in the Report summary page. |
Example
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
SetReporter
DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
seetest.setReporter("pdf", "" , "<ReportName>");
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");
...
...
seetest.setReporter("pdf", "C://NEWPRJ//SeetestExtenstion//reports" , "Untitled");