Automate Form Filling - Help Needed

Discuss RoboTask here
Post Reply
mthomas209
Posts: 2
Joined: Wed Oct 31, 2007 8:22 am

Automate Form Filling - Help Needed

Post 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?
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Automate Form Filling - Help Needed

Post by Oleg »

Do you want to submit the data into same form or different forms?
mthomas209
Posts: 2
Joined: Wed Oct 31, 2007 8:22 am

Automate Form Filling - Help Needed

Post by mthomas209 »

Same form. I just want to be able to submit different data each time.
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Automate Form Filling - Help Needed

Post 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
Post Reply