18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Can sahi read and check xml api results

sanjeevkumar7sanjeevkumar7 Members
edited September 2010 in Sahi - Open Source
Hello

I'm working on a test case, where I input some values in a webpage and the result page is an xml page with some values in it. Is there any way I can check if the values returned are valid through sahi engine?

As the results are not html, sahi controller is not able to figure out the contents in the page.

Test Example : Input an id and click submit - >page redirects to another page which is an xml result with some information about the account. I would already have the information about the account and check if the return values are the expected values.

Any help is appreciated. Thanks in advance

Update: This question has been answered already pointing to parsing-xml-in-sahi-scripts.html page.

So does that mean I have to save the result and pass the file or is it possible to pass the results on the fly from the browser?

Best Regards,
Sanjeev

Comments

Sign In or Register to comment.