Page 1 sur 1

upload files

Publié : lun. nov. 23, 2015 3:09 pm
par simplice
I am trying to upload a file using Sahi. It is the usual upload file step, click on the 'Upload File', then popup window opens for user to select the file, then click open.

Sahi doesn't recognise the popup window. I tried to use the _setFile, doesn't seem to do anything. Could any one please help?

upload files

Publié : ven. déc. 11, 2015 8:57 am
par Karim Drifi
Bonjour,

Il ne s'agit pas vraiment d'une question relative à Squash-TA mais plutôt du sahi "pur".
La syntaxe pour par exemple cliquer sur un élément d'une popup est la suivante :
_popup("maPopUp")._click(_link("monLien"));

Bien cordialement,

Karim Drifi.