About Me

My photo
Have an overall 13 + yrs of experience Currently working as an Senior Architect.Expertise in design,implementation of Automation frameworks for Opensource automation tools like Selenium,Jmeter, Webdriver,Appium, Robotium Expertise in integrating Test & ALM Management tools like Rally,Qmetry,JIRA-Zephyr with Automation frameworks Expertise in design and developmenet Mobile Automation frameworks for tools like Appium, Robotium Remote Control,Cucumber BDD,Manual Testing

Sunday, March 6, 2011

Setting up WHITE with Visual C# Express edition and Nunit assembly with Sample Example - Calculator Launch

1.Download the Visual C# Express edition
2.Download the White from http://white.codeplex.com/
3.Install the Visual C# Express edition and open it
4.Extract the contents of the White (zip file)
5.Create a Project as shown in below snapshot
6.Provide Project Name and click on OK button
7.From the Solution Explorer(Typically you find it towards your left of the screen) right click and Add the ITEM as shown in below snapshots
8. Select the ITEM as class and click on Add Button
9. Now that the class file should be created as shown in below snapshot
10.Now is the time to add some stuff. Before that we need to configure the White API assembly to the project
11.Right Click on the references folder , select add reference and browser for the dll file White.Core.dll in the White bin directory(remember this is the api we had downloaded initially)

12.Ensure the below hightlighted assemblies are added as references to the project.
13. Now add the below code to your Main Method and run the program using the debug button as highlighted in the below snapshot


14.Next you should see the calculator application being opened automatically and performing some addition



Saturday, March 5, 2011

What are the prerequisites for White Usage?

1. Dotnet Framework 3.5 and above
2. Visual Studio or at least an MS C# express version  is required (which ever is your favorite Dotnet programming lang)
3.NUnit Assembly(Unit Test framework)

What is WHITE ?

WHITE is an Open source Windows Automation framework  from ThoughtWorks for automating rich client applications based on Win32, WinForms, WPF, Silverlight and SWT (Java) platforms. It is .NET based and does not require the use of any proprietary scripting languages. Tests/automation programs using White can be written with whatever .NET language, IDE and tools you are already using. White provides a consistent object-oriented API, hiding the complexity of Microsoft's UIAutomation library (on which White is based) and windows messages