Skip to content

committedtester/JSes6WinAppDriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinAppDriver Framework written in JS ES6

I noticed that Microsoft's WinAppDriver didn't have an example written in Javascript ES6

This GitHub Repository has test examples for:

  • Calculator written in a non-page object model style
  • Notepad written in a page object model style
  • Notepad where we start at a root level, wait and then attach to an active window (useful for slow starting applications)

Compatible with WinAppDriver v1.1

Setup and Execution

WinAppDriver Installer

  • npm install
  • npm run calc
  • npm run notepadPOM
  • npm run notepadAttach

Further configuration

Alternatively disable the following code in Mocha the Before/After hooks

  • await Server.startServer();
  • await Server.stopServer(); Then download and run Appium Desktop (run as administrator) (Benefits are that the WinAppDriver output shows in Appium Desktop)

About

WinAppDriver JS ES6 Implementation with Page Object Model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •