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

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -