Chrome: saving an xml file instead of displaying it

Hi,

Thanks again to you and to Kazurayam. For the xml, I have realised that if I have a table with rows and cells, and in one of the cells, as Kazurayam said, there is an “a” that contains an href, the simplest way to get all the information I want is to create as many test objects as I now they are (maximum 31, the maximum number of days of a month), and extract the information from each test object, as done for the FIFA project.

This are examples of Test objects I created:

//div[@id=‘resultDiv’]/table/tbody/tr/td - this will contain the date, that I can extract in the code with WebUI.getText

//div[@id=‘resultDiv’]/table/tbody/tr/td[6]/a - this will contain the url to the xml, that I can extract in the script with WebUI.getAttribute(anchorElement, “href”)

etc.

The only thing I don’t know is if I really have to create a test object per row, or this can be somehow parametrized. I mean, that I have to create a test object for tr (row 1), tr[2] (row 2), tr[3] (row 3)…

Thanks again.