This morning I got a nice little email from a dear Egyptian friend, Ebeid Soliman (@ebeid_soliman) asking the following:
I know this may be something answered by google, but I trust your opinion.
What is the best free automated UI testing framework/tool you used ? or know ?
I actually already have a long draft on the subject showing the framework I use, and how to get basic stuff working on it, since this one is not yet complete, let me for now share my reply to him with you, as raw as possible …
(I have added some titles to make the long reply more readable)
The Reply
Choosing a framework
Look, I haven’t tried many. Only Watin and Selenium, and even Watin didn’t dig it enough.
The people around me all seem to be using Selenium. This is not only the story though…
Read the full post ... (980 words, 2 images, estimated 3:55 mins reading time)
.NET, .NET FAQ, ALT.NET, ASP.NET, Selenium, UI Testing
Introduction
Sqlite
SQLite is a file based database, or an embedded database that you can use without need for any special installation from your side. It’s a bit popular for non-LOB (line of business) desktop applications and even mobile applications like Android apps. It also has an "In-Memory" mode where there is no physical file used as a database, which is usually used in testing.
It has a similar syntax (sort of) to SQL Server. In Microsoft .NET world,, those using NHibernate are usually using the in-memory mode for applying unit testing or trying out NHibernate stuff, although Microsoft has its own embedded database called SQL Compact Edition (CE), which doesn’t seem to support in-memory databases (v4.0).
You can download the latest Sqlite database (v3.0) from:
http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
Since it’s not SQL Server, you need a special ADO.NET provider too. It’s called "System.Data.Sqlite"., which is very similar to the normal System.Data.SqlClient stuff. It’s included in the above download link.
NuGet
If you don’t know what NuGet is, go to www.nuget.org or check my old posts mentioning it, or if you are an Arab maybe check this post in Arabic.
Read the full post ... (1374 words, 7 images, estimated 5:30 mins reading time)
.NET, .NET FAQ, Miscellaneous, NHibernate, ORM
MvcConf
Assuming some of you have attended live or watched the recordings for the past MVCConf conference. It’s a virtual conference concerned (as the name tells) about everything related to Web MVC Frameworks in .NET (ASP.NET MVC, FubuMVC, Spark, …).
Videos from the previous MvcConf event can be found at:
http://www.viddler.com/explore/mvcconf/videos/ and http://tekpub.com/conferences/mvcconf
MvcConf 2
They plan to have a second event after the great success of the first one. And they started a call-for speakers. See:
http://www.mvcconf.com/
Quoting Details
When:
Tuesday Feb 1st 8AM – 5PM CST
Where:
Virtual
Register:
Check back 1/17
Call For Speakers
If you would like to speak at this years conference. Fill out the Speaker Proposal form.
An Awesome Conference
MvcConf is a virtual conference focused on one thing: writing awesome applications on top of the ASP.Net MVC framework. Your brain will explode from taking in so much hard core technical sessions. Sounds fun eh?
This is a community event and we want the best and brightest sharing what they know.
We intend to record each session and make them available online for viewing. We intend to make the videos available free of charge, depending on conference sponsorships.
Read the full post ... (230 words, 2 images, estimated 55 secs reading time)
.NET, ALT.NET, ASP.NET, ASP.NET MVC, General News, Local Events, Microsoft News, MVC
This is a PowerPoint Presentation (and extraction of the contents) I made as per a couple of friends’ request (@EmadAshi and @AmrEldib) to show how OAuth works along with Twitter and how easy it is to cache OAuth credentials.
As I was doing related work for TweetToEmail. I felt a PowerPoint presentation will be even better than a blog post for this one, but here you get the two.
The Presentation
The Contents
Application Registration
- A Twitter user creates a Twitter Application
- If the application is web based, it needs to provide a URL. “Localhost” is not accepted as a domain for this URL
- A Twitter Application gets two pieces of information
- Consumer Key
- Consumer Secret
- A Twitter Application will use these in all coming requests.
Initializing The Process
- User comes to the application and it decides to authenticate against Twitter
- Application makes a request using Consumer Key and Secret to obtain “Oauth Request Token”, which consists of two parts
- Application makes authentication URL including the “Oauth Request Token” parameter, and optionally a “Call-back URL” (if different than default URL in first step)
Read the full post ... (505 words, 5 images, estimated 2:01 mins reading time)
.NET, ASP.NET, Code Gallery, Code Reading, Code Snippets, CodeProject, Local Events, twitter, Web 2.0
Lately I have been doing more stuff on the Console as getting to Ruby and messing a bit with Git and stuff.
Generally speaking the default Windows Command Prompt is really fine for my needs, but I sure would love to see more possibilities. PowerShell was a great scripting / tooling addition but not much of “Editor” / “Environment” improvement. PowerShell ISE (integrated Scripting Environment) is really so nice and powerful, but it doesn’t feel exactly like my usual Console. I tried Console2 and was really impressed with how similar and different it is in the same time.
Surely, it didn’t mean I have to lose PowerShell features in there!
Get Console2
Just grab it from http://sourceforge.net/projects/console/files/console-devel/.
By the time of writing v 2.0 was the latest. I just went to that folder and got the latest Zip in there. Yeah. No install, just a Zip file, so, you may need to make a shortcut for it on your own and / or place it in somewhere that’s already in your Windows ENVIRONMENT variables.
Find the Path To PowerShell
The way I did it was go to Start menu, type in PowerShell in the search box, and right click the PowerShell icon, and choose Properties.
Read the full post ... (329 words, 7 images, estimated 1:19 mins reading time)
.NET, .NET FAQ, Office Productivity, Ruby