Page 1 of 1

Simple file upload

Posted: Fri Apr 22, 2005 10:02 am
by Vikram
Hi,
I am evaluating ROBOTASK for my company.
I am having difficulty in uploading couple of files using IE browser.
I am having a browse button in my browser window and i have multiple files in my local system to upload. Is there any way to upload all the files without using lot of mouse clicks.
Because i cannot point to mouse click to a particular location.
Thanks in Advance
Vikram

Simple file upload

Posted: Sun Apr 24, 2005 5:25 am
by Oleg
Do you want to automate Internet Explorer?
You chose a very non comfortable object for your experiments on some reasons:
- now there is no way to catch the end of page loading (or files uploading );
- Placement of form elements depend of very many factors. So mouse actions may be a non effective;
- Forms on web pages can change from time to time.

Try to use send keystrokes action. Tab key allows you to select necessary form field. Space bar emulate the pressing of buttons.

We have planned to make a collection of actions specially for web browser in future.

Simple file upload

Posted: Mon Apr 25, 2005 12:16 pm
by Vikram
Thanks for you response.
can any one kow how to send a space bar key stroke.
Thanks
Vikram

Simple file upload

Posted: Tue Apr 26, 2005 12:25 am
by Oleg
When you tune the keystroke action in "keys" field type the simple space.
For example:
"{TAB}{TAB}{TAB}Hello, world{TAB}{TAB}{TAB}{TAB}{TAB}{TAB} "
At the end of this string is placed a space. It means:
- Pressing Tab-key 3 times
- Typing of string "Hello, world"
- Pressing Tab-key 6 times
- Pressing the spacebar key

For links and buttons you also can use Enter key ({ENTER}). In this case my example will be so:
"{TAB}{TAB}{TAB}Hello, world{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{ENTER}"