Abnoxious QTP Bug...a.k.a Fun with Table Checkpoints

Just recently I have found a quite annoying bug in the QTP interface for Table checkpoints.

The situation arose when I decided to use a table check point to evaluate the data in one cell of a table in one of my company's applications presents as a work queue for the application users.

And instead of relying on QTP to evaluate the status of the checkpoint, I wanted to evaluate the result of the checkpoint and report into the results set a more meaningful pass/fail criteria.  My testing experience is grounded in the manual portion of my field so I can be a bit wordy about pass/fail criteria.

So...I built code similar to the following psuedo-code snipet:

If Browser("App.com).Page("WorkQueue").Check (CheckPoint("StatusVerification")) = True then

Reporter.ReportEvent micPass, "Hooray it worked","Status Changed!"

Else

Reporter.ReportEvent micFail, "BOOO it failed","Status Did Not Change!"

End IF

Now the psuedo-code snipet above works just great...UNLESS you want to go back and review the checkpoint properties.  The only way to get at them is to rightclick on the check point...HOWEVER..with the presence of the If statement, all of a sudden QTP has no idea that code represents a checkpoint.

So instead of evaluating the checkpoint directly, I have to store the checkpoint value into a boolean variable and then evaluate that instead...

 

GRRRR--<mumbles curses about Mercury under her breath>

Introductions

Introductions--

My name is Maryanne Sweat and I'm a geek. 

<Audience Response:  Hi Maryanne>

Currently, I am a Software Automation Engineer for a firm in North Carolina.  I am working my way through the trials and tribulations of Mercury QuickTestPro and home grown VBScripts.  So I suppose that makes me a geek in the professional sense.

In the personal sense, I enjoy playing several video games, the least of which is World of Warcraft.  I've also gotten into playing Lord of the Rings Online.  I'll post a review of that later.  In addition to my online WoW Addiction, I have really gotten into playing the new WoW Trading Card Game.  Currently my best built decks are Palladins but I'm trying to branch out.  So I suppose that makes me a geek in the social sense.

I hope you find my blog interesting, check back for QTP rants and other quandries about my professional job as well as geeky posts about my gaming exploits in WoW and TCG battles with friends.

Enjoy!

 

Greetings and Salutations

This is my first attempt at a blog.  I've been watching my buddy's blog for some time now and I decided it was my turn to get in on the scene.

 

So Greetings and Salutations all!

«June»
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567