Re: [TFUI] Problem with testing (winrunner) a .net windows application
Phlip <[email protected]> Wed, 16 Mar 2005 09:34:31 -0800
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Message-ID | <[email protected]> |
hetzme wrote:
> WinRunner test script:
> ----------------------
> invoke_application("C:\\VBProject2.exe","","",SW_SHOW);
>
> # UserAuthentication
> win_activate ("UserAuthentication");
> set_window ("UserAuthentication", 2);
> obj_mouse_click ("WindowsForms10.EDIT.app3", 58, 3, LEFT);
> obj_type ("WindowsForms10.EDIT.app3","user<kTab>");
> obj_type ("WindowsForms10.EDIT.app3_1","class<kTab>");
> obj_type ("Login","<kReturn>");
To hetzme: A technical question like this will work best on
WinRunner's support mailing list. This forum is about generic theory
and example code.
To TFUI: This forum is about forcing GUIs to submit to test-/first/.
The ultimate goal is heads-down, rapid encoding of test cases and
tested features, with sub-second test response times, and no need to
look at the GUI as it develops. (To get to that goal, we frequently
look at the GUI, per the Temporary Visual Inspection concepts.)
Has anyone used a script like hetzme's to test-first like that? Can
you write a new line of that script, predict failure, confirm the
failure is for the correct reason, and then change the production code
and make the test pass?
--
Phlip
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/