Latest Inquiries - Data Extraction Software

Iterate and wait Form Fields

Submitted: 7/17/2017
Hello,

I have problem with this project.
I need to iterate "Provincia" and  "Comune" field, and wait "Cap" field. Also Cap field needs to iterate in some cases.
After submit button "Cerca" give results.

Problem seems that Form do not wait "Cap" field, can you help me?

Regards
Auto.rip

Replied: 7/18/2017 9:47:35 AM
Hello,
i try but not working. I can't to wait "cap" (zip code), I can't solve these problem. Can you check the file in attachment?
Regards
Auto2.rip

Replied: 7/19/2017 1:36:47 PM
Hello,
i try but not working. I can't to wait "cap" (zip code), I can't solve these problem. Can you check the file in attachment?
Regards
Auto2.rip

Replied: 7/18/2017 5:24:51 AM

Hi,

This is really a tricky one. Try to separate the form field commands with its own FormSubmit template as Auto Submit. You have to make sure that the zip code for Cap is loaded before you click the Cerca button. Otherwise, you will got an error because of Cap. 

Best regards,

Replied: 7/19/2017 2:45:34 PM

Hi,

I'm still looking for your ticket. It seems the zip is loaded and sometimes not. This is because the Provincia action needed to load both the commune and the zip in JSON callback and the agent found difficulty executing and firing those actions. 

I will come back for you for the progress

Best regards,


Replied: 7/24/2017 12:54:06 PM

Hi,

I tested it but it difficult to implement it in VWR because of JSON call back. So it cannot be done VWR using a form field method.

But I studied the site's behavior that I found out that you can actually get them using the websites API by construction how the website do it. Here, is the JSON response once you select the Comune "ARGENTO", 

http://servizi.gruppofondiariasai.it/infra/services/json/Comuni?method=getCapByComune&codIstatComune=084001&callback= 

and by using the Zip code form that response, you can build the results API in JSON format,

http://servizi.gruppofondiariasai.it/infra/services/json/RicercaCarrozzerie?method=ricerca&codIstatComune=084001&cap=92100&codMarcaAuto=2409&maxDistanza=0&itemType=carr&callback=


Best regards,

Replied: 7/19/2017 3:19:48 PM
Thank you for your interest.
Have a nice day