On Wed, Aug 01, 2001 at 10:25:15AM -0400, Carl Rogers wrote:
> Hi Paul.
> First of all, I'd like to thank you for taking the time to respond to my
> query. I really appreciate your help.
No problem. I am replying to the list on the assumption that you meant
to do that too. That is the usual etiquette, and others may be
interested in this thread. Besides, you didn't send anything too
personal :-)
> > > Don't know if this is possible, but I'm trying to find out if it is
> > > possible to write a Perl script that can "mimic" user input.
> >
> >You'll need to be more specific about your platform and windowing
> >software. Are you testing a Perl program?
>
> No. I'm trying to test a Windows application.
>
> > > I'm trying to write a scenario in which a user responds to a pop-up window
> > > then hits the "enter" button. Following that, the user populates different
> > > fields (navigating between them via the tab key), then hits the enter
> > > button. This is done several times.
> >
> >This is typically done by having someone perform the task once,
> >capturing the event and responses, then replaying the events and
> >ensuring the responses match.
>
> In a nutshell, this is what I'd like to do.
>
> >Of course, it is far more complicated
> >than this, depending on your platform and what you are actually testing.
>
> For this, I'll be using Win95/98. I'm trying to do end-to-end testing (to
> the extent possible). Like clicking "File" from the menu bar, clicking
> "New", etc. for as many as the menu options feasible. Within that, there
> are popup windows that appear asking for user input. If I can test the
> popups thoroughly, I'll consider that a success and do the rest of the
> testing manually.
>
> > > I apologize if this is inappropriate: I'm constantly amazed by the genius
> > > that populates this list, so I thought if it could be done using Perl,
> > > someone from this list would know how. (I try to do as much as I can in
> > Perl)
> >
> >Well, Perl is a language like any other. If it can be done in language
> >X, it can be done in Perl. Whether or not it should be is often another
> >question, and the answer typically depends on many factors, not all of
> >them technical, unfortunately.
>
> I understand. If you couldn't tell, my newbie status transcends beyond Perl
> (i.e. I didn't know if it could be done in any other language)
Whilst this could be done in Perl, I don't think it has been, and I
don't think it's a task for a beginner.
I would take a look at comp.software.testing
Point a browser at http://www.testingfaqs.org/t-gui.htm too, which has a
list of gui testing tools.
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]