FinalBuilder fetching data from a web-site html?

Each time I do a build, I need to fetch a "latest value" that is displayed on a web-site (that holds some "latest" financial factors).

I don't believe they have a web-service available (that would give a more solid way of fetching the data).

Can I program FinalBuilder to fetch a specified web-page and do the "screen scrape" to get this value?

Then I would need FinalBuilder to update an xml file with this value (I see that FinalBuilder seems to have a nice set of XML accessing functions...so I assume it can do this...?)

Thanks!

Andy

 

ps:  for my information for the future, can FinalBuilder call a real web-service to fetch a value/values?

Hi Andy

You can use the HTTP Get Action to get a file via HTTP. You could save this webpage to a FinalBuilder variable and then extract the required value using the Text Find / Replace action. Once you have the required value you can insert this value into your XML.

FinalBuilder Professional includes actions that allow you directly call web services and capture the return values as well as the Web Service Iterator action that allows you to call a web service and iterate over the array of values that is returned.

Hope this helps.

Regards,
Steve