The human context of quality

The unwatched pot

Posted on 2009-Jun-24 at 06:09

A year ago when I took an offer for a testing job in a Windows shop, I had mixed feelings. I had tested Windows applications before, but for most of the past 20 years I was a Mac user at home, and for a past few years tested Linux applications in my job. I wondered if at some point my experience and assumptions from working with other operating systems would bite me one day in a Windows job.

Recently I have been using the HP/Mercury tools QuickTest Pro and Quality Center to test a web application that runs under Internet Explorer.  I have been running Quality Center on a client running Windows 2003 server, and QuickTest Pro on a Windows XP test machine. I have also been running Remote Desktop on the 2003 machine to connect to the XP machine remotely.

I notices that my tests ran fine when I was watching them, but would sometimes fail if I walked away from my desk. Digging through online forums, I learned a couple of things:

* If a screensaver locks either workstation, QTP tests will fail.

* If the Remote Desktop window is minimized, QTP tests will fail.

* Certain tests fail when run from Quality Center via Remote Agent on the remote machine but not when run from QTP directly on the remote machine.

* QTP is generally unreliable when run under Remote Desktop.

As all this sunk in, I found myself wanting to scream. These behaviors deeply wrong to me, and I was not sure who to blame, Microsoft, HP, or myself for not realizing that what I was trying to do would never work reliably given the limitations of Windows. Since neither HP nor Microsoft are likely to accept responsibility for these flawed behaviors, I'll give myself a pass as well.

I have given up on Remote Desktop, and installed RealVNC on both machines and have also changed my screensaver settings on both machines. So far all my tests are running perfectly. I have adjusted my expectations though, to realize that unattended automation is not something that will work with QTP at all. Working with QTP was not my choice, and knowing what I know about it now, I'm not sure I would recommend it.

The Unwatched Pot

Posted on 2009-Sep-1 at 09:48 by rajeshmathur
Hi Chris,

Your observations are correct. I believe the issue is not with Remote Desktop, it should be an issue with QTP that stops working as soon as system gets locked or puts a screensaver on.

We faced this problem also and our tests failed whenever the screensaver locked the system.

However, I never noticed the issue of minimizing
Remote Desktop window and failure of QTP tests.

Honestly speaking, it gets to your nerves when QTP behaves like this when run under Remote Desktop. I never 'felt like' screaming, I always screamed when it happened to us because we had tight deadlines and even a slight loss of productivity made me upset. :)

Good to know that you used VNC for this. How was your experience with that?

RealVNC

Posted on 2009-Oct-9 at 01:38 by seekerkeeper
rajeshmathur,

I have had good experience with RealVNC since switching over and using it primarily. Thanks for your comments.

Last Page | Page 6 of 14 | Next Page
To realize that you do not understand is a virtue; Not to realize that you do not understand is a defect.
Lao Tzu

Friends