Geeks With Blogs

News QTP and Stuff
Theo Moore Questions... Morphology? Longevity? Incept dates? June 2006 Entries
Superman Returns, but why?
Ok, here's my rare off professional topic post. Some of the folks from work went to see Superman Returns yesterday afternoon. I will go on record in saying that some people were right and I was wrong: ultimately, not a great movie. It was merely ok. I was pleased with Spacey as Luthor as I thought I would be, but not overwhelmed. Perhaps he was trying not to upstage Superman too badly. I didn't like the Lois character, the Perry character, or the Olsen character nearly as well as I had hoped I would. ......

Posted On Thursday, June 29, 2006 6:29 AM

QTP: VBScript error handling vs. Recovery Scenarios
I have been recently tasked by my tech lead with two things while progressing with building our test suite in QTP. These are: 1) Begin to try and use a more “tool-based” rather than a “progammer-based” response to challenges in QTP. 2) Sort of how to best make use to recovery scenarios in QTP. I agreed, of course (since these are associated with my merit raise goals), and so far, it's driven me nuts. Seems QTP never wants to do things the way I want it to. It has done some ......

Posted On Monday, June 26, 2006 8:12 AM

QTP: a BubbleSort and Compare written in VBScript
I had a need recently to be able to take arrays of data with unpredictable orders and compare them. However, the order of the data is irrelevant and unpredictable. So, how to do it? I wrote two things: One to compare the arrays, and a bubble sort to sort the values. Elementary programming, yes, but handy nonetheless. Private Function ArrayCompare(ByRef vArray1, ByRef vArray2, ByVal lCompareType) Dim blnResult 'As Boolean Dim vTemp1 'As Variant Dim vTemp2 'As Variant 'We will assume the arrays are ......

Posted On Friday, June 16, 2006 7:03 AM

Happy Anniversary (Belated)

I just realized I missed the anniversary of my blog. I've been on the GWB site for over year! How about that?

BTW, if you misspell “Belated” it almost always becomes “bleated” which sure would change the apparent subject of this post....oy.

Posted On Thursday, June 8, 2006 12:50 PM

Why does VBScript use LBound?
Someone asked an interesting question the other day: If VBScript will only allow zero for the lower boundary of arrays, why does it honour the LBound function? I gave the expected answers like “allows for less issues porting to VB, etc.”, but to be totally honest I don't know why. I don't suppose it matters, but it's the kind of thing that drives me batty....oy

Posted On Thursday, June 8, 2006 12:46 PM

Not about QTP
Posted for no particular reason, a commentary on the trade paperback for V for Vendetta: After seeing the movie, I decided to re-aquire a copy of the trade. My ex-wife “ended up with” (read as: stole) most of my stuff whilst we were separared, and this was something I missed. It is a new copy, not worn and scuffed like my last one (unlike my copy of “Dark Knight Returns”). I think this is some of the very best comic writing I have ever read. I was also surprised to see how ......

Posted On Thursday, June 1, 2006 9:41 AM

Copyright © Theo Moore | Powered by: | Join free