Automated Testing of an application (1 Viewer)

Guus2005

AWF VIP
Local time
Today, 17:46
Joined
Jun 26, 2007
Messages
2,645
Hi,

Do you have experience with automated testing of an Access (or Excel) application?
And if yes, how do you accomplisch that?

Thanks for your time!
 

MajP

You've got your good things, and you've got mine.
Local time
Today, 11:46
Joined
May 21, 2018
Messages
8,519
There was a recent question here, but few replies
 

Guus2005

AWF VIP
Local time
Today, 17:46
Joined
Jun 26, 2007
Messages
2,645
Thanks. I searched for that question but couldn't find it so i posted this one.
Thanks for the link
 

NauticalGent

Ignore List Poster Boy
Local time
Today, 11:46
Joined
Apr 27, 2015
Messages
6,319
My guess would be that you would have to be intimately familiar with the application and then write code that would simulate a user's activity such as data entry and what not.

You would also have to intentionally input "bad" data to see if your error handling and validation worked.

If there was a way to have one program that could evaluate ANY MS Office app and put it through its paces, that would be a valuable tool.

A worthwhile project to take one and definitely beyond my skill level.
 

Guus2005

AWF VIP
Local time
Today, 17:46
Joined
Jun 26, 2007
Messages
2,645
I found Mini Mouse Recorder and AutoHotKey. For the latter one could write a script to react on texts and/or images.
For me it is important that the tools are portable. Meaning, i don't have to install them since that is not allowed on this computer.

Thanks for your time!
 

gemma-the-husky

Super Moderator
Staff member
Local time
Today, 16:46
Joined
Sep 12, 2006
Messages
15,634
Depending on the app, I imagine you need a test pack of data with anticipated outcomes, as well as general user acceptance tests
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Today, 10:46
Joined
Feb 28, 2001
Messages
27,126
The U.S. Navy worked with various Windows-based and UNIX-based automated testers for a long time. They involved various scripting tools to do the equivalent of "Send Keys" and some other command methods including programmed interaction with the UI. The basic guideline is that when designing your app, you ALSO have to design tests to verify operation. Specifically, you must design the tests SIMULTANEOUSLY with the function. If this testing-as-part-of-design aspect isn't embraced during original design - and particularly if it isn't embraced with the original design specs in mind, you can't even devise a good series of tests.

At one place where I worked before my Navy job, the quality tests failed because we lacked imagination. We had a huge app with maybe several hundred thousand lines of code in play spread among six major and several minor modules. We thought we had it honed to razor sharpness. But then during a customer visit we found out we were wrong. We had specialized keyboards with custom key caps, which were due to the nature of our particular beast. So the customer put one of the keyboards near the edge of the table and leaned on it. He "butt-typed" a string of characters, didn't matter which ones. Crashed our beautiful system in 20 seconds flat due to buffer overruns. We didn't think outside the box.

Any automated tools you find will probably emphasize to you that you can only test with intimate knowledge of the design goals and internal methods of your system. Any tool that FAILS to warn you of that fact is perhaps not such a good tool.

Sadly, I have dropped out of touch with my Navy contacts so have no easy way to identify product names at this time.
 

Users who are viewing this thread

Top Bottom