Can I use Dialog command to auto replace upload file ?

May 7, 2012 at 9:06 AM

To test a standard file upload input HTML element

<input type="file" name="file" />  // upload a image file

Can I use Dialog command to auto replace upload file? is it possible?

By filling the HarnessRecorderDemo sample command line like this:

Dialog  FileSelect  C:\Users\ruddy\Pictures\101_me.jpg

(I'm using the HarnessRecorderDemo sample to test my HTML file)

Thanks,

 

 

 

 

 

 

Coordinator
May 8, 2012 at 4:20 PM
Edited May 8, 2012 at 4:25 PM

Hi rubby

 

Yes

The command is executed in the following order:

 

Dialog  FileSelect  C:\Users\ruddy\Pictures\101_me.jpg

Click name=file

 

best regards

May 9, 2012 at 3:56 AM

It's work.

Thanks,

May 16, 2014 at 11:53 AM
How do you hide the dialog? PLEASE?