SetProjectBaseDirectory
Description
Use this command to specify the project location.
All commands which call objects from the Object repository need the location of the project (where elements on the Object repository are stored) to operate on them.
Parameter
Name | Value | Description |
---|---|---|
projectbaseDirectory | String | Project base directory on the local disk. |
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
Example
SetProjectBaseDirectory
DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
//Set the Project Base directory.
seetest.setProjectBaseDirectory("<project base directory>");
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");
...
...