Geeks With Blogs

News QTP and Stuff
Theo Moore Questions... Morphology? Longevity? Incept dates?
Well, I have finally found time to get my object repository editor working well. It's what I call in a "internal tool beta" state, which means it's not very pretty but works well. Since there will be only two of us using it, seems like a fine state. I know, I know....any code worth writing is worth writing nicely. However, given the timeframe in which I've had to work, I've done a fair job. Now, that's not to say it won't benefit from some nice refactoring. As a matter of fact, I've refactored a large portion of it already.

Now, on to my next task: I need to create something QTP can call to reset the timezone on a machine. We have timezone specific functionality to test, so I have to be able to change it on the fly. I know I can use an API call to achieve this, but the trouble is that QTP will not handle the Type statement (since it's not supported by VBScript).

So what to do?

I will write a .dll that contains the code I need and then let QTP call that. I am pretty sure this will work. I'll update this blog as I go.

Also, I was wondering if anyone could recommend a good book on C#. We are officially a C# shop (on the development side), and I want to get familiar with it. I will be taking a crash course on ASP.Net, and then start getting into the C#. I have been told I need to abandon my VB.Net ways...heresy, says I! Posted on Monday, January 9, 2006 5:08 PM | Back to top


Comments on this post: QTP: Object Repository Editor now working

# re: QTP: Object Repository Editor now working
Requesting Gravatar...
I can recommend a few. "Programming in the Key of C#" by Petzold is good, but doesn't cover the 2.0 stuff. "Core C#" does, also a good one.
Left by Chris Williams on Jan 10, 2006 4:27 PM

# re: QTP: Object Repository Editor now working
Requesting Gravatar...
I recommend "Pro ASP.NET 2.0 in C# 2005".
Left by Brian on Jan 12, 2006 6:04 AM

# re: QTP: Object Repository Editor now working
Requesting Gravatar...
you have any material for QTP plz pass material to me
thank you...
Left by balu on Jan 25, 2008 1:53 AM

# re: QTP: Object Repository Editor now working
Requesting Gravatar...
Hi,

I have a QTP script with its own Object Repository.

Can you tell me a code which will give me access to read the properties of the Objects in the scripts OR.

I do not know ANY object in the OR. Not even the super parent :-(

I need to do this to handle many scripts. That's Y, I want such a code.

Thanks in advance.

_Vinod

Left by Vinod on Jan 28, 2008 6:49 AM

Comments have been closed on this topic.
Copyright © Theo Moore | Powered by: GeeksWithBlogs.net