Extract text from scripts
in the project in attachment, after setting
"Raggio di Ricerca"-> "500 Km"
i have problem because is a script and I can't go forward. Seems to work, but in web browser mode not do it.
Another goal is to extract all the areas in left side that contain addresses. In my simulation I can select only 2 areas.
Can you solve this and explain how to manage? Can be helpful next time to another similar project.
Thank in advance
Replied: 7/19/2017 2:13:07 PM
But you can catch the data in Chrome manually. Here is the response of the website in searching the Rome with 500KM radius. You have to HTML decode them.
Replied: 7/19/2017 3:18:42 PM
Thank you, i will process these results by Regex.
A question, I also use Chrome to read html, events etc but I not able to have the same response of your xml file. Can you explain me or send a screenshot to get this?
Replied: 7/18/2017 5:41:33 AM
There is a number associated with the element for your KM and it changed everytime you load the page. I modify the XPath for this.
Replied: 7/18/2017 3:52:50 PM
thank you, the first part now working fine.
With Pagearea I can select only 2 areas.
- I can't find a correct Xpath to use to select all because is a script
- I can't use link template to scroll the list
The xpath can be
//DIV[@id='fld:25:6:10:lb']/SPAN/DIV (2 results)
//SPAN[@id='fld:25:6:10:lv0']/DIV (1 result)
//SPAN[@id='fld:25:6:10:lv1']/DIV (1 result)
I you can try to solve please. I can't find a correct xpath or manage script, I also can't see code in Google Chrome tools inside the script.
Replied: 7/19/2017 12:16:25 PM
Unfortunately, the site requires you to scroll down to show the next data and they are showing only 2 data at a time. That's why you only got 2 data.
Replied: 7/18/2017 9:53:35 AM
I try the file and I see your change. Aniway when I start web browser mode not working. (Can be a problem of "Indirizzo"?)
Please check also the pagearea, after formsubmit, I would to extract all, I can to extract only 2 areas.
Replied: 7/24/2017 12:43:23 PM
Replied: 7/18/2017 2:39:59 PM
I add a 10 seconds delay to your FormSubmit template. This ensures that the results are present on the page before the agent executes the actions. You can also tick the Wait for element in the advance tab in Area pagearea template.