Store the paths in environment variables named NODE_PATH and APPIUM_PATH, and the AppiumServiceBuilder will pick them up automatically.Īnother issue I ran into is that the XCUITest driver requires the Carthage package manager to be in the system PATH. If you share your test code with a team and/or run in different CI environments, you can set this information via environment variables rather than hardcoding file paths in your test code. ServiceBuilder.withAppiumJS(new File("/path/to/appium")) ingDriverExecutable(new File("/path/to/node/executable")) AppiumServiceBuilder serviceBuilder = new AppiumServiceBuilder()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |