Geeks With Blogs

News QTP and Stuff
Theo Moore Questions... Morphology? Longevity? Incept dates? January 2009 Entries
Selenium: An OOP approach
Been working Selenium for the past several weeks and it's not bad as a Web testing tool. It does have some limitations (some imposed by the language in which you choose to work), but you can either ignore these in most cases for find a way around them (I wrote, for example, a .Net exe which I call from the Java code to do some Win API stuff). Selenium doesn't out of the box encourage an OO design. Everything is handled via the Selenium object using xpath expressions indicating where to do whatever ......

Posted On Tuesday, January 27, 2009 8:50 AM

Selenium/JUnit: Logging
I've been trying today to figure out a good way to get logging from my Selenium tests. I've considered and explored several methods and haven't been really happy with any idea I've found. I tried Log4j, which logs just fine but 1) I can't get it to write my results to a file (successfully) and 2) the filepath doesn't seem to be runtime configurable (i.e., dynamically generated based on the time the test is run). I've looked at LoggingSelenium, which is an extension to Selenium, but I can't get it ......

Posted On Tuesday, January 13, 2009 12:38 PM

JUnit4 TestSuite in Eclipse: Won't run?
As of this date, there is bug that prevents this from running correctly. This article gives a link to the bug as well as an explanation on how to make them run correctly anyway. This is as much a very quick sticky note for myself as well as something to "spread the knowledge". :-)

Posted On Tuesday, January 13, 2009 10:48 AM

Eclipse: Minor beef (a calf?)
Anyway, I wanted to get the full Java JDK to support ANT and so, I dutifully did so. Only when I did, Eclipse would't start. I got a huge ugly dialog box which started with: JVM Terminated: Error Code=-1 followed by a ton of parameter information. What followed I won't detail here, but it suffices to say I lost a couple of hours of my time. I tried all kinds of things to get it work, but nothing. I even installed netbeans in an attempt to verify that Java was working. Turns out it was all my goof: ......

Posted On Wednesday, January 7, 2009 5:05 PM

Selenium: the odyssey continues!
I've been working in Selenium RC for the past couple of weeks, and so far, I am pretty pleased. Selenium does some very cool things. However, it is open source, so there are some missing pieces. Some random thoughts (good and bad) in no particular order: - Web only. Totally cool with this, though. All of the apps I am expected to test are web-based. - No default logging mechanisim. By my own research (which could be wrong), it seems that most people have written their own logging mechanism. I'll ......

Posted On Wednesday, January 7, 2009 10:46 AM

Fitness Update: a serious change
Been working on my body fat and weight for 11 months now. I ended up with about 77 pounds of weight lost, but I've hit a serious plateau. My muscle strength ceased to really improve and my weight was steady (course this was during the holidays, so I suppose that's a good thing compared to what most people's weight does). I still feel great in a cardio-vascular way, and hockey is going great (the physical part...if only I could learn to skate and such). I feel like I do a good job keeping up with ......

Posted On Sunday, January 4, 2009 8:55 AM

VS Express: No Configuration Manager???
I have recently installed VS Express to work with Selenium so I can see it work and to figure out if problems I have are due to me not understanding Java or me not understanding Selenium. I was trying to find the configuration manager and I couldn't. I thought "Oh, yeah, I just need to add it to a toolbar". Tried that, but it was disabled. I was very much confused about it, but found a great article that very simply explained why I didn't see it and how to make it show. Coolness. :-) ......

Posted On Friday, January 2, 2009 8:07 AM

Copyright © Theo Moore | Powered by: GeeksWithBlogs.net | Join free