Re: [TFUI] What is Struts?
Phlip <phlipcpp-/[email protected]>
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Message-ID | <[email protected]> |
J. B. Rainsberger wrote:
> It is a web application framework for Java. I have
> used it in the past
> and test-driven with it. My experiences were mixed.
> Like any other
> framework not designed for testability, my typical
> approach involved
> simulating the framework so as to isolate my code
> for testing. I was not
> thoroughly impressed.
Ogle this test:
ie = WIN32OLE.new('InternetExplorer.Application')
ie.navigate('http://127.0.0.1:8080/WikiTranscludeText')
while ie.busy
sleep(0)
end
until ie.readyState == READYSTATE_COMPLETE
sleep(0)
end
# ie.Visible = true
formNode = ie.document.forms("myForm")
assert_not_nil(formNode)
inputNode = formNode.namedItem("contents")
assert_not_nil(inputNode)
It creates a Web browser as a COM object, surfs it to
a Web site, and reaches inside for its <form>
representation object & an <input> object.
If Struts, like Remote User Interface (
http://cortext.co.il/ ) creates rich client-side
controls, mightn't a test like that reach into a page
containing such controls and drive them?
=====
Phlip
http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/TestFirstUserInterfaces/
<*> To unsubscribe from this group, send an email to:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/