Appium Windows Driver is a test automation tool for Windows devices. Appium Windows Driver automates UWP apps on Windows 10. In the future it will automate other kinds of native, hybrid and mobile web apps on Windows 10 and Windows 10 mobile simulators and real devices. Appium Windows Driver is part of the Appium mobile test automation tool.
npm install appium-windows-driver
Import Windows Driver, set desired capabilities and create a session:
import { WindowsDriver } from `appium-windows-driver`
let defaultCaps = {
app: 'your.app.id',
platformName: 'Windows'
};
let driver = new WindowsDriver();
await driver.createSession(defaultCaps);
gulp
You can run unit and e2e tests:
// unit tests:
gulp once
// e2e tests
gulp e2e-test