| || |
How can I make robot recognize file upload button
While recording a Web Based application if
we click a HTML file upload button, on
playing back it does not recognize it , I
have tried by giving it a id like
<input type="file" name="Fileupload" size=40 id="recognize">
But this just setfocus the control to the
text box it does not click the actual Browse button
Pls help me
[This message has been edited by ranjit (edited 11-28-2002).]
Re: How can I make robot recognize file upload button
We too observed a similar problem. This seems to be happening after the latest JavaEnabler was installed. We have got a workaround that after clicking the File browse button, we have inserted InputKeys to provide the filepath directly, w/o waiting for Robot to open the File browser dialog box.
Here is the code:
PushButton Click, "Name=AddJarFile;Index=1"
PushButton Click, "Name=action;VisualText=Submit"
where "AddJarfile" is the name of the <Input type=file name=AddJarfile> File browser button and the "action" is the form submit button
[This message has been edited by sachinus (edited 11-28-2002).]