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

php - How to pass multiple values from url -

database - php search bar when I press submit with nothing in the search bar it shows all the data -

ios - How to load .png images from Documents folder of an app -