Page 1 of 1

Automate Form Filling - Help Needed

Posted: Wed Oct 31, 2007 8:28 am
by mthomas209
Can anyone help with this?I am trying to take a text file of data and submit a web form multiple times with the data. So I have a form asking for name and email and I have a list of names and emails in this format...name, emailname2, email2etc...I want to be able to fill and submit the web form with this data until the list is complete. Is this possible with RoboTask? I am using the software and love it but the variables confuse me Any help?

Automate Form Filling - Help Needed

Posted: Thu Nov 01, 2007 4:06 am
by Oleg
Do you want to submit the data into same form or different forms?

Automate Form Filling - Help Needed

Posted: Thu Nov 01, 2007 5:45 am
by mthomas209
Same form. I just want to be able to submit different data each time.

Automate Form Filling - Help Needed

Posted: Sat Nov 03, 2007 1:40 am
by Oleg
I'm afraid that I can't give you working example, because it depends on form.

You can use the text loop. the loop assign current line of text into variable (e.g. TheUser).
Next you can use {TheUser(0)} and {TheUser(1)} in ordere to extract name and email from the string. This works if your string is a comma-separated string.

Yoy task will looks as this:

texl loop
   select user field // You can use mouse actions
   send keystoke {TheUser(0)}
   pause 0,1 s
   send keystoke {TAB} //in order to select next field
   pause 0,1 s
   send keystoke {TheUser(1)}     
   pause 0,1 s
   send keystoke {ENTER} //in order to submit     
   pause 3 s // You have to wait until the form will be updated     
end loop