angularjs e2e - Download and use file with Protractor e2e test -
angularjs e2e - Download and use file with Protractor e2e test -
how write test download file, , post in form.
it "should back upwards download , upload file", -> upload = element(by.id 'uploadinput'); upload.sendkeys 'c:\\path\\to\\file\\file.txt'
currently upload works, how download file before , it's path?
solved adding file project , got absolute path this:
it "should back upwards download , upload file", -> upload = element(by.id 'uploadinput'); upload.sendkeys path.resolve(__dirname, '../../assets/file.txt')
protractor angularjs-e2e
Comments
Post a Comment