Geeks With Blogs

News QTP and Stuff
Theo Moore Questions... Morphology? Longevity? Incept dates? March 2009 Entries
Non-tech post: Journey w/o destination
Figured I was overdue for a non-technical post. :-) Please excuse my self-indulgent, mindless ramblings. Anyone who’s known me for any amount of time will not be surprised and just skip over this post. :-) I was thinking about the whole fitness dealie recently, and was examining the amount of time I spend working on it. I actually spend a good bit of time each week trying to improve my fitness level overall. Crossfit (adding a day of this to each week starting next Tuesday), Kettlebell, hockey…lots ......

Posted On Thursday, March 26, 2009 8:55 AM

Opensta: Handy in a hurry
I was asked to put some load on one of our servers yesterday using our functional testing harness (Selenium), but I knew this wasn’t going to generate enough load to make a real stab at stressing the server. We don’t have a genuine load testing harness here, so what to do? I remembered at my last job I had experimented with OpenSTA for load testing, and it seemed to work pretty well. It does, supposedly, have some issues with https (allegedly you can work around these, but I’ve not tried it yet) ......

Posted On Tuesday, March 24, 2009 8:00 AM

Selenium: getTable vs. getText/getAttribute
I originally didn't like the getTable function in Selenium very much. Mostly, I didn't like the cell adressing approach it uses. I, therefore, used to use getText and iterate the table. I am usually stuck using an iterative approach as much of our content is dynamically generated and no predictable properties are created at generation time. I figured since getText/getAttribute would get at the same information ultimately, getTable had no use in my toolbox. What I didn't realize is how unbelievably ......

Posted On Monday, March 16, 2009 9:28 AM

Selenium: getXpathCount bug?
I found something interesting in Selenium today. I use the selenium.getXpathCount a lot in my code. Mostly for dynamically generated tables and such. I also use it in testing as it is best to interrogate the page rather than assume the page structure hasn't changed. I know, know...I could isElementPresent() to handle this also, but each execution of isElementPresent() requires selenium to resolve the xpath on each iteration. This is painfully slow. I don't really worry about speed for testing under ......

Posted On Friday, March 13, 2009 10:49 AM

Selenium: RegExp with ID attribute
Ran into an interest limitation with Selenium today. I am trying to interact with an anchor tag/link. Trouble is that the link is one of several on the page that have similar names. The best way to get at it is via the id attribute, since they are dynamically generated and are unique (not that it matters, but the number appended to the text is a db ID). So, I figure I can use a regexp to evaluate the link so; selenium.click("id=regexp:p... The [0-9]* should allow for any number of digits ......

Posted On Tuesday, March 10, 2009 9:08 AM

Roanoke Code Camp Completed
I spoke at the Roanoke Code Camp over the weekend on Web Testing with Selenium. Some random thoughts in no particular order: - XNA > Testing - Few ppl show up to the testing sessions, but those that do are serious about it - Selenium seemed to be well recieved - No one threw fruit, so I must've done ok - Roanoke was not what I expected - Got to see an old buddy. That rocked. - Put a couple of faces to Twitter names. Also rocked. - The UG in Roanoke is a great group of folks. - Robin runs the show ......

Posted On Monday, March 9, 2009 3:35 PM

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