Forum Discussion

morde's avatar
morde
Contributor
12 years ago

Working With Open File and Save File Dialogs

Hi,

I'm trying to run an automated test including an uploading of ppt slide decks to a web application.



I have a step of clicking on the upload button and then the open file dialog opens.

this step is getting a list of 3 input parameters of the desired file paths ,

it should run 3 times and set each file path at the time, and upload the file.





The problem is that  inconsistently the first isn't uploading and the followed are uploading  properly. 

I checked the path and the path is correct.. (I also tried to change the order and switched between the first and second path so that as a first path will be the path worked in the past and the second will be the path which was the first one before and didn't work) 

 so it is not related to the path. 

 

Also I tried to make "refresh mapping info"  and a wait of 30 sec before setting the first path into the to the file name field, and it also didn't help. 



* in the log I see that all the path's delivery is correct, however sometimes for the first slide deck, the open file dialog object is not recognized and then the following 2 files are uploading properly.

 

Do you have any idea why this is happening and how to solve the problem ?

 

Thanks in advance 

Silvana