Geeks With Blogs

News QTP and Stuff
Theo Moore Questions... Morphology? Longevity? Incept dates? May 2008 Entries
3 years on GWB
Terribly busy today, so this needs to be short....

Happy Anniversary to me! Yesterday marked my 3rd year as a blogger on this site. Let's hope for many more!

Thank you to GWB staff for providing us with such a great place to share out thoughts. You guys rock! :-)

Posted On Friday, May 30, 2008 8:31 AM

For me xD ain't an emoticon
I was stoopit over the weekend, or at least, that's how I see it. I never, ever buy a new car if I can help it for reasons I won't list here. They are probably the same reasons you can already imagine. Leastways, I don't *normally* buy new cars. I bought a new Scion xD over the weekend. It's a great little car, with lots of character and even better gas mileage (a car that gets 30 MPG average definitely has tons of character IMO). I actually got to pick it off the showroom floor, which is something ......

Posted On Wednesday, May 28, 2008 3:48 PM

QTP: Using Wrapper classes
One of my biggest complaints with VBScript is the lack of inheritance/interfaces. I know, I's a scripting language and I am asking a lot. It wasn't my choice, however, to use this language as the one that drives QTP (and other testing tools). I hear some of you groaning about me preaching objects again, but I don't mind. You go on ahead an groan. :-) My complaint stems from the fact that we cannot inherit and extend objects in VBScript like I would like to be able to do. As I've mentioned ......

Posted On Wednesday, May 28, 2008 8:24 AM

WoW: We got hacked!!!!
Someone hacked one of the accounts of one of the guys in my guild on WoW. Now, I know what yer thinking, and I don't blame you cause you don't know him. I trust that he didn't do something bad. Anyway, they cleaned out the guild bank, sold everything all of his toons owned, deleted some of them, and moved the two level 70 ones to another server. He is currently in the process of working with Blizzard to get back what he can, and they are being very responsive. Their customer service is usually pretty ......

Posted On Monday, May 26, 2008 3:35 PM

The dog was named 'Indiana'....
I saw the new Indy film last night. I was so excited. I love the original 3 (even the less than awesome second one), and have watched them oh-so many times. I used to think it was about the coolest thing...except for the Star Wars movies. My expectations for this movie were high, yet I didn't dare believe it would be great and amazing and all I can say is.... It is a very good Indy film. It was pretty standard Indy film fare, and it was good. Make no mistake; I liked this movie. In fact, I liked ......

Posted On Saturday, May 24, 2008 8:11 AM

From the "Why are you doing that files?"
I have this habit of working on things that don't seem to have a lot of importance simply because I think it would be interesting. This decision almost inevitably leads to exteme frustration on my part, yet I seem to keep doing it. My most recent decision? A math parser. See, I want a stack screen calculator for my pocketpc...and it's been awhile since I wrote anything for the NETCF. So, seems like the thing to do. I basically need to create a parser than can evaluate an equation and return a result. ......

Posted On Monday, May 19, 2008 9:13 AM

QTP: TableHandler class
I cracked, I really did. I was even packing my stuff to just give up. One too many dynamically generated tables to deal with in QTP did to me. What's worse, the columns in the table change, too. Basically I started on a page with a set of links. When you click any of the links, the same landing page pops up. However, the data shown in the the table changes, as does the table colums number, type, and description. There are 12 different versions, and each is dynamically generated every time. I originally ......

Posted On Wednesday, May 14, 2008 9:41 AM

QTP: A RegEx believer
I've had a weakness in my "game" for some time now. It's a hole I am not very proud of and I have stubbornly fought tooth and nail to avoid filling it because I could always find a (often ridiculously convoluted) way to get around whatever challenges I found. I dismissed the need since it seemed I never "needed" the knowledge. Boy, what a few years of humbling frustration can change. I am speaking of Regexes. QTP makes great use them for all kinds of things, but most importantly, Descriptive Object ......

Posted On Monday, May 12, 2008 10:50 AM

QTP: Why VBScript a bad choice
Every so often, I am reminded exactly why using VBScript as the scripting language for QTP was a mildly bad idea. Today, as you might have guessed, is one of those days. See, I want to extend the Browser object in QTP. Oh, I can create user functions and register them with the browser (I do all of the time), but that isn't really the way I want this to work. I want to have a function off the browser that takes a name from a name-value pair in the query string and returns the ASP.Net ......

Posted On Friday, May 9, 2008 4:57 PM

Why developers make good testers...sometimes.
Recently, my cubie was testing one of our web apps. She got the following: She wrote up the error and submitted it. It was for a currency amount, and she had put a zero in it. The defect was returned as "works as designed" as the field should never get a zero in it, meaning that the developer decided that a user would never put a zero. He stated it should be closed. She asked me about it. I explained that: 1) A user should almost never see an ugly error like this. It is poor programming that would ......

Posted On Thursday, May 8, 2008 11:12 AM

32 pounds to stupidity
I am down 32 pounds, and I feel great. I've lost 3 notches in my belt, and it is, in fact, in a hole that I've never put it in before. The best part of this? It happens simply because I am eating right and getting exercise. Nothing crazy, nothing crash. I simply ceased to worry about the weight and concern myself with the health. The weight has sort of taken care of itself. Oh, the rate is slow to be sure, but I am not in a huge hurry. Once you accept this is something you are doing for the next ......

Posted On Tuesday, May 6, 2008 9:52 AM

Iron Man: A surprise

I went to see Iron Man last night.

It was far better than I had hoped it would be. The CGI isn't troubling like I feared it might be, Downey did a much better job than I expected, and the story was acceptable for an introduction to the canon.

If you like comics, this is a must-see, believe me.

I still think Batman Begins was better (Bats is my fave, I'll admit), but IM is pretty darn good.


Be sure to wait through the credits, too. :-)

Posted On Saturday, May 3, 2008 7:57 AM

QTP: Object hidden by Javascript
I recently ran into an interesting challenge in QTP. I am scripting out a page that uses Javascript to make some controls invisible based on values selected in other controls. For example, if Field1 is selected to specific value, javascript runs something like this: document.getElementById("Fi... = "none" Or document.get\ElementById("F... Interestingly, QTP doesn't recognize that anything has changed; it sees the visible/non-visible objects as completely ......

Posted On Thursday, May 1, 2008 9:31 AM

Copyright © Theo Moore | Powered by: