Can Egg Plant tool be used for testing Web Services-Weboject

Hi,
Can any one let know if we can use Egg Plant tool for testing Web Services and Webojects.

Thanks,
Rekha

Yes. Working through the user interface, Eggplant can test web-based applications running in a browser just like it tests anything else.

In addition, if you want to access web services directly from your script, you can do that using the network and XML capabilities of SenseTalk. See chapters 15 and 16 of the SenseTalk Reference manual for more information.

Hello, Rekha,

Yes, you can use Eggplant to test a web service. Eggplant includes methods for encoding values into a URL, manipulating XML, and communicating with a web application via either GET or POST commands. If you send a message to a web server, Eggplant captures the response so that you can extract and use the return values. An example would look something like this:


post URLEncode(queryValues) to serviceURL
put it //the built-in variable "it" will contain the result of the method

I’m not sure what you mean when you refer to testing “Webobjects”. If you just mean custom objects in a web page, then yes, Eggplant could test them as well because Eggplant can test anything the user can see. So it would not identify the objects as objects, but simply as elements of the web interface and interact with them in the same way that a user would.

Please let us know if you need additional clarification or if you have any other questions regarding testing with Eggplant.

if Webojects equals “WebObjects” then
put “Yes”
else
ask “What is Webojects?”
end if