Upload action using Nightwatch.js

The name of the picture


Upload action using Nightwatch.js



I am trying to create an action for nightwatch that will upload files to a given upload form. Is it possible to create that kind of action in nightwatch? The nightwatch is integrated into a nodejs application and is running in a selnium webdriver.




1 Answer
1



Use AutoIT to create an executable for the upload action. Execute the executable using the exec function of the Node. Upload.exe is the executable file compililed from the AutoIt script.


exec('START "" .\src\Resources\Upload.exe', function(err) {
console.log('err: ' + err);})






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

How to scale/resize CVPixelBufferRef in objective C, iOS

Stripe::AuthenticationError No API key provided. Set your API key using “Stripe.api_key = ”

SVG with two text elements. When one resizes due to textLength - how to resize the other one to the same character size