Skip to main content

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

NameValueDescription
projectbaseDirectoryStringProject base directory on the local disk.

Usage

info

Replace <server> with the appropriate URL.

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>");

...
...