Filled form with Sikuli Won't change

Asked by andreflalves

I have to add information about 150 contacts in our Exchange, so I wrote a script for it. The script is working, but the problem is whenever the script puts the information for the contact and clicks submit, the information isn't saved. So if I run the whole script and look at the contacts, nothing is there. Although if I add those information manually it will work. Anyone have any idea on what's causing this and how to fix it ? Again, the script is doing what I need, it's just the form that won't take the information entered by Sikuli.

Thanks,

Andre

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
andreflalves
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Guessing:
- work on Windows
- use Sikuli X 1.0rc2

Understanding:
- you have some input file, that contains the informational fields for 150 contacts
- you have some loop that fills one contact form from one record
- a contact input form is opened and filled by subsequent type(KeyTAB) (or other field positioning) and paste("content) to enter text in a field.
- each contact form is saved by clicking on a submit button

Problem:
- when Sikuli script clicks the submit button, the information is not saved though i is written to the form's input fields.

What happens, if you let the script fill in only one form (when the script stops, you should see all the information written to the input fields of the form) and then you manually click the submit button?

If you like you can send me your zipped Sikuli to my mail at https://launchpad.net/~raimund-hocke

Revision history for this message
andreflalves (andreflalves) said :
#2

Thanks for your answer but I just figure it out.

One of the fields where the company name, and when I commented the line which would input the company name, all the other input information worked. Why ? One of the characters of the company name was a "&". So now I'm using "and" instead and it is working fine. Took me around 3 - 4 hours to figure this...