This could be useful - Quest , makers of TOAD, are working on a database schema provider (DSP) for VSTS 2010.
Further info can be found on their community TeamFuze site.
Clarkey
Unintelligible posts on .Net, Usability and web technology
This could be useful - Quest , makers of TOAD, are working on a database schema provider (DSP) for VSTS 2010.
Further info can be found on their community TeamFuze site.
Clarkey
Over the last day or so I've been researching to see if I could find a decent tool for automating Web UI tests. I work on a number of projects where automating the (currently manual) regression web tests would prove to be a great time saver and rescue our testers from the repetitive boredom that is inevitably part and parcel of such a task. You can only run that historical trends report so many times before you nod off in your chair...
This was my wish list:
There are plenty out there and not being a dedicated tester/QA guru I do not pretend to have done an exhaustive search!
We had a license for Visual Studio Team System Test Edition (VSTS TE), so I thought it made sense to start with that. I set up a VM, installed VSTS TE and recorded my first web test:
It nicely recorded the http requests, preserved session state etc (bit like the old ACT), and the steps that it went through to complete the test were all clearly shown:
but after some experimenting for an hour or so, I stopped. Why? Well, the whole set up is clearly aimed at techies which is not necessarily a bad thing, but I really couldn't see any of our QA testers using this in a hurry. Shame - an undoubtedly powerful tool for developer level testers but it felt more like a testing framework than an integrated Web UI testing tool. It's all there (see web test overview on MSDN), but it needs some sort of abstraction and nice UI over the top of it.
Back to the drawing board then...but don't stop reading yet... after some digging I found what I think could be a solution and one that plugs nicely into the VSTS I had already installed, namely ArtOfTest's WebAii Automation Design Canvas (built on top of its free WebAii .Net Automation Framework).
Lets cut to the chase. Watch the following 4 minute WebAii demo which shows how you construct a simple web recorded test:
A simple example I know but this is more like it. I particularly like the element highlighting and the ability to do 'quick verifications' on those elements during the recording. You can also be as specific as you wish, having full access to the browser DOM tree:
and from there you can examine/compare individual attributes using the verification builder:
this gives you pretty good control. For example, to compare an entire HTML table of results use (notice it is already populated with the relevant markup from the recorded web page):
I like the way the cancel and OK buttons are reversed in the above too, nice anti-usability touch ;-)
Another useful feature is the storyboard view which shows small screen shots from each page taken during the web recording:
This makes a great (albeit simple) documentation tool for each step. The screen shots also show which control is being actioned upon.
Here's a run down of some of the other bits I have tried so far:
You need Visual Studio Team Edition 2008 (or Pro edition).
The WebAii Automation Design Canvas cost itself is around £1700 ($2499) per machine (see price list). I think this is pretty good value for a machine license as you can then share usage across different users. VMs and VPC images are also ok to use. A common sense licensing model from ArtOfTest, nice.
Next step for me is to trial this on a project before the trial license expires to ensure it covers all that we need. I want to integrate it into an existing project, TFS it up and use it in anger with some of our main web UI regression tests we already have in place. I'll bring in the QA guys too, to assess its usage and usability from a less technical perspective.
Clarkey
As you probably know by now, VS 2010 will use WPF (the version to be shipped with .Net 4) for its new editor. If you want to see its cool new look, pop over to Jason Zander's blog:
http://blogs.msdn.com/jasonz/archive/2009/02/20/a-new-look-for-visual-studio-2010.aspx
Nice. Just hope the WPF UI is responsive on lower spec machines...
See also the VS 2010 'brochure' page for a summarised feature list of what you can expect to see forthcoming (there is a CTP download too).
Clarkey
I love the Internet. Whether it's to catch up on email, pick up some geeky blog feeds, check out the latest on BBC News, upload some photos or simply update my facebook status, I like to be connected. When I am not in the office or at home, my mobile phone is pretty good for very simple browsing, but my netbook (Acer Aspire One, excellent bit of kit) is what I really like to use when I am out and about.
So... I have my trendy netbook... but hey... how do I get access to my beloved 'cloud'? Oh yes, use a Wi-Fi hot spot everyone crys. Wi-Fi is indeed getting better and most hotels/cafes now offer some sort of sign up style of access. I've no problem with that except most charge silly figures for a measly 30 mins or so of access. Grrrr. Also, I find there is never a hot spot nearby when I need one.
I think I've found a better solution for when Wi-Fi is not suitable - a 3G USB stick. Mobile broadband is not new of course, but up until recently most services have been contract based and/or too expensive for my adhoc, occasional style of usage. What I really needed was a reasonable PAYG one. After a bit of searching around, this t-mobile package (£2/day) fitted my situation nicely. You basically pay £2 when you first connect and then you have 24hours of usage (you can connect/disconnect as many times as you wish within that period). There is a 3GB/month fair use policy.
It uses the well known HSDPA 3G protocol (see t-mobile's coverage checker for 3G in your area), but it also gracefully drops down to the (albeit slow) 2G GPRS where there is no 3G signal. Even in GPRS mode, it gives acceptable results. Of course, in 3G mode is where the device excels... with a theoretical down-link speed of 3.6 MBit/s (this is what it 'connects as'), in practice with a low/medium signal I've been getting around 1 Mbit/s down-link speeds and 300kbit/s uplink. Not bad at all.
At £39 notes for the USB stick, if you use the Net in an adhoc way like I do, it's a no brainer and definitely worth a look.
We adopted Scrum and eScrum/TFS (Team Foundation Server 2008) back in June this year for a pilot project. As we are a few days before Xmas, when all is beginning to quieten down, now seems a suitable point to dot down a few observations. Here we go.
First of all, I'm converted! Scrum is one of the few processes/methods (I'm not a big process person myself generally) that excites me, in that it focuses the team on delivering good working software and encourages a good relationship between the IT Team and the business. Since adopting it on a small project, I can happily [subjectively] report back that it works, and it works well. We used 3 or 4 week sprints, monthly sprint review/planning meetings, and daily scrums (sometimes missing a day if one was not felt necessary, but we still touched base to confirm this). We also had scheduled weekly "product owner update meetings" to ensure we had a regular slot in a busy "product owner's life", where we always scanned down the sprint backlog to see how things were progressing.
Here's are some observations.
As mentioned in an earlier TFS/eScrum post, not only did we switch to Scrum for this pilot project, but we also adopted some new tools namely:
Here's my brief thoughts:
I like it. Once you get over the clunky, heavyweight feeling of the various MS products working together to give you what you want (SQL Server, Sharepoint, Reporting Services, TFS Web Services) and sorted out all the security goings on (you've essentially 3 products to set up security for), then you are away. The customisation is very flexible (especially once you have installed various power tools) and adopting a VM as a backup strategy has served us well. Well worth the move from VSS!
I looked at a few templates for managing the Scrum project (including Conchango's SFTS and MSFAgile) but in the end, eScrum had the best web interface for us. It is not without its short comings though.
Here's some of my thoughts on the eScrum web interface:
Overall, a nice interface but we are getting to a point where a version 2.0 is long overdue. I can't see this happening for a while though.... maybe MS should make it open source ;-)
Merry Xmas
Clarkey
Ever had that deja vu feeling when coding in a project? Ever thought, hang on, I've seen something similar to this code block before? Are you keen to factor out duplicate code from your systems? Of course you are, so take a peek at this:
http://www.codeplex.com/CloneDetectiveVS
Clone Detective is a free add-in (built on ConQAT) for Visual Studio that analyses your C# projects for 'duplicate source', that is, similar code once any 'noise' has been removed (normalisation) and tokenised. Whether this is from sloppy copy & paste activities in your team or simply properties in N-Tier DTOs, BDOs etc, as professional software engineers (eh?!) we want to know about such things. It's then up to you to decide if the clones are ok or if further action is required, considering any refactoring costs involved.
Watch the 10min video as a starting point to see if this tickles you in the right places. It did me :-)
I ran it past one of my projects:
The figures in brackets are the percentages of code cloned. The coloured bars indicate where in the file the potentially pikey coding is. Some of the source identified in this case was simply properties in my BDOs but there were other cases where it did point out areas of my code where some refactoring could take place. Nice (the add-in that is, not my coding).
_mrC
Here's what i did:
1) Installed Visual Studio 2008 SP1 first, as we have team explorer on the TFS server (useful for admin use). Remember for our relatively small setup we've put both the app tier and data tier on the same VM. SP1 install time 1hr 15mins (Oooh!). Reboot required.
2) then installed Team Foundation Server SP1. Install time 15 mins. No reboot needed but I did one anyway, just to see those services start up nice and cleanly :-)
If you do it in this order you should be assured of a pain free installation. Well OK then... at least a 'reduced risk' one anyway.
Here's two useful links showing what you get with this upgrade:
If I come across any issues I'll post them here.