For Programmers: Free Programming Magazines  


Home > Archive > Software Testing > April 2006 > test switch/router GUI interface









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author test switch/router GUI interface
aaabbb16@hotmail.com

2006-04-18, 10:06 pm

Hi,
I like to select a package (free or paid) to test our switch/router
GUI interface. Does anyone have any idea which one to fit my
requirement.

TIA,

sy

Phlip

2006-04-18, 10:06 pm

aaabbb16 wrote:

> I like to select a package (free or paid) to test our switch/router
> GUI interface. Does anyone have any idea which one to fit my
> requirement.


Write automated tests in the same language, using the same systems, as the
GUI itself.

That goes for any other system, but GUIs are not special.

--
Phlip
[url]http://www.greencheese.org/ZLand[/url] <-- NOT a blog!!!


Jose Cornado

2006-04-19, 8:07 am

I would have to provide a balancing view:

Writing tests in an specific language is bad for several reasons:

1) It forces you to use any of the Xunit frameworks. The next round of
refactoring the tests that you wrote most likely will become useless
because the methods under test changed their protection level.

2) Forces development to bloat the logic with code to help QA, as if
they had enough time to write their own code.

3) They are slow to write and to execute.

3) It ties your test infrastructure to a language/platform. If the
platform you use changes your logic and tests need to change. This
makes the porting process doubly difficult and risky.

Are you intending to test the gui through a web browser from another
computer of does your router have a screen?

aaabbb16@hotmail.com

2006-04-19, 8:07 am

"Are you intending to test the gui through a web browser from another
computer of does your router have a screen? "

The switch/router have not a screen. As you said we use a pc which
connect to the
switch/router. then lauch a web browser (such as IE) from this pc.
Like "http:/10.10.10.1" then user can do any configuration from this
GUI.
it is equivalont to CLI (command line interface). but it is more
friendly to customers
for a lot of low end boxes. I am looking for a tool can automately test
it before release.
Some one suggest Winrunner or IBM rational Funcation/Robot. What do you
think?

Phlip

2006-04-19, 8:07 am

Jose Cornado wrote:

> I would have to provide a balancing view:
>
> Writing tests in an specific language is bad for several reasons:
>
> 1) It forces you to use any of the Xunit frameworks...
> 2) Forces development to bloat the logic with code to help QA...
> 3) They are slow to write and to execute...
> 4) It ties your test infrastructure to a language/platform...


Absolutely. Programmers' time must be freed to run a debugger, as much as
possible, without distracting them with flibberty gibberty tests.

--
Phlip
[url]http://www.greencheese.org/ZLand[/url] <-- NOT a blog!!!
Phlip

2006-04-19, 8:07 am

aaabbb16@hotmail.com wrote:

> The switch/router have not a screen. As you said we use a pc which
> connect to the
> switch/router. then lauch a web browser (such as IE) from this pc.
> Like "http:/10.10.10.1"

....
> Some one suggest Winrunner or IBM rational Funcation/Robot. What do you
> think?


If you use Watir, or Selenium (for free), you will rapidly experience many
of the benefits Jose listed.

Specifically, testing back-end logic thru a GUI is extremely fragile. If the
GUI changes, the tests will tell you that the back-end has a bug. If you
don't trust your tests, then they are worse than useless.

--
Phlip
[url]http://www.greencheese.org/ZLand[/url] <-- NOT a blog!!!
Jose Cornado

2006-04-19, 8:07 am

Well, you need to make sure that IE is covered. Then your matrix grows:
Firefox, Safari, among others.

Everything will depend if the gui is through an applet or something
else.

I have always seen the tools that you mentioned shelved and collecting
dust. Some people have managed to accomplish something with them. Maybe
they can provide more info in this case.

Of the free tools, I used once a perl package for gui automation. I
forgot the name of the package but the original writer was E. Guio
and some other extenders/maintainers. This was several years ago and it
should be a lot better than it was back then. It was useful for me at
that moment.

It was in CPAN.

HTH

alex_f_il@hotmail.com

2006-04-19, 8:07 am

You can use SWExplorerAutomation (http://webunittesting.com).
BTW. I use it for swiching my Zyxel router!

info@e-valid.com

2006-04-19, 7:10 pm


aaabbb16@hotmail.com wrote:
> "Are you intending to test the gui through a web browser from another
> computer of does your router have a screen? "
>
> The switch/router have not a screen. As you said we use a pc which
> connect to the
> switch/router. then lauch a web browser (such as IE) from this pc.
> Like "http:/10.10.10.1" then user can do any configuration from this
> GUI.
> it is equivalont to CLI (command line interface). but it is more
> friendly to customers
> for a lot of low end boxes. I am looking for a tool can automately test
> it before release.
> Some one suggest Winrunner or IBM rational Funcation/Robot. What do you
> think?


This is an increasingly common method of implementing GUIs for
complex devices and takes advantage of the inherent simplicity
of a browser based implementation.

Because your application is implemented via a browser, the
simplest way to test it, exercise it, or check its performance
is with a test instrument that *IS* a browser. The eValid
solution is just such a technology, and it operates using in-
the-browser details that are not usually available to the
desktop or within the HTTS/S protocol.

You can download an evaluation copy of the eValid solution
from:

http://www.soft.com/eValid/Products...tml?status=FORM

Complete details about the eValid web analysis and testing
suite can be found at:

http://www.e-Valid.com

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com