mardi 25 août 2015

Dealing with OS pop up windows in Selenium

I have a question regarding how to deal with an OS specific pop up window (in this case Windows) and if it is possible to access the elements in them for things such as photo uploads, document uploads, etc. So say if I have an "Add Photo" button and I click it, it will then lead me to a window like this..

enter image description here

So I am wondering if there is a way i can just do element.sendKeys(absolute path url) for the File Name.. Has anyone had success with something like this? Thanks!

Aucun commentaire:

Enregistrer un commentaire