Welcome, Guest. Please Login.
IRobotSoft Robot
12/09/23 at 00:44:23
News: IRobotSoft is the Best Visual Web Computing Platform!
Home Help Search Login
Google
 


Pages: 1
Send Topic Print
Need help in multiple form fills in single page. (Read 5679 times)
syntax007
IRobotSoft Newbies
*


I Love IRobotSoft

Posts: 10
Need help in multiple form fills in single page.
05/16/14 at 14:45:59
 
i am trying to have a form submit action and have attached robot of same.
 
following is what i am trying to achieve:
1. go to a url with lots of "reply to" buttons
2. Click on individual reply to--> this opens a form-->fill the form, uncheck subscription and submit.
3. loop through all tuples and repeat for next page.
 
I have spent many days in trying to improve the bot but it is not progressing. i had changed the tags but the last version somehow overwritten last save.
 
i also wanted to save information on title, phone number to which i have sent message, but have had difficulty in processing above one.
 
Please help me get this bot moving, its been stuck for weeks!
Back to top
 
  IP Logged
IRobotSoft Administrator
IRobotSoft Administrator
*****


IRobotSoft, the Best
Internet Robot
System

Posts: 1609
Gender: male
Re: Need help in multiple form fills in single pag
Reply #1 - 05/18/14 at 23:27:37
 
It will be easier if you just click open the list of links first, then fill the form and click apply.  Just refer the pubmed robot in the manual for how to do it.  
Back to top
 
 

The Administrator.
WWW   IP Logged
syntax007
IRobotSoft Newbies
*


I Love IRobotSoft

Posts: 10
Re: Need help in multiple form fills in single pag
Reply #2 - 05/21/14 at 04:31:57
 
I have built a robot which takes data, fills form. All is working fine except that the robot gives a status=0; ajax response whereas a regular form filing would give status=1 response. What could be the reasons for this? how to track the form submit response? can it be due to cookies? or navigation speed?
Back to top
 
 
  IP Logged
IRobotSoft Administrator
IRobotSoft Administrator
*****


IRobotSoft, the Best
Internet Robot
System

Posts: 1609
Gender: male
Re: Need help in multiple form fills in single pag
Reply #3 - 05/21/14 at 15:48:33
 
that is because some ajax function are not triggered.  you may need to use MouseClick function to simulate a mouse click to certain input, or to submit the form.  
Back to top
 
 

The Administrator.
WWW   IP Logged
syntax007
IRobotSoft Newbies
*


I Love IRobotSoft

Posts: 10
Re: Need help in multiple form fills in single pag
Reply #4 - 05/22/14 at 14:31:31
 
Did the mouseclick event, also tried a click option, still the same result   Sad  . While taking the form i am inputting two fields, whereas the form has multiple hidden fields, with some default values given by browser. Do i need to include them in my form submit? How to do it if thats the case?  
 
Also had another robot give out of memory...have attached screenshot, its taking up nearly 1GB Ram   Shocked Shocked
Back to top
 

irobot-ram.png
  IP Logged
IRobotSoft Administrator
IRobotSoft Administrator
*****


IRobotSoft, the Best
Internet Robot
System

Posts: 1609
Gender: male
Re: Need help in multiple form fills in single pag
Reply #5 - 05/22/14 at 20:36:27
 
The MouseClick() function should do exactly like a human clicking.  You may also add a: sleep(4) call after the mouseClick().  The hidden inputs should be set when the click happens.  
 
For the memory issue, it is usually site dependent.  Some website requests memory but does not release.   So the memory just accumulate.   In this case you want to divide the task into multiple runs, and run them separetely.  
 
Back to top
 
 

The Administrator.
WWW   IP Logged
Pages: 1
Send Topic Print