Dashboard > WET > Building WET UI From Sources
WET Log In View a printable version of the current page.
Building WET UI From Sources
Added by Raghu Venkataramana, last edited by Raghu Venkataramana on Oct 12, 2006  (view change)
Labels: 
(None)

Information required to build WET from sources:

Prerequisites:

1) Visual C Sharp - If you dont have Visual C#, then a great way to get it is using Microsoft's Express edition download programs which are FREE. Visit http://msdn.microsoft.com/vstudio/express/visualcsharp/ to download and find more information about how to get an activation code.

2) Subversion - If you dont have Subversion or any of its variants, you can try out the TortoiseSVN win32 binary. This is an excellent subversion client for windows. Tortoise SVN is at:
http://tortoisesvn.tigris.org/

3) NUnit - NUnit is required for building WET from sources. Nunit can be downloaded from http://nunit.org/. Download it and install it on your system.

'''Build:'''

1) Checkout the WET source code from the SVN repository. To check out the source code you need subversion. The code is available by checking out from:
svn co https://svn.openqa.org/svn/wet/trunk

2) Now open the wet.sln file using visual C# and do a 'Build Solution'. If all goes well, WET builds and you should be up and running.

============== Known problems with workarounds ====================
1) If step2 fails with the error:

   The type or namespace name 'mshtml' could not be found 
(are you missing a using directive or an assembly reference?)
D:\WET\main\openqa\test\TestDomElementWrappers.cs    7    7    script_assistant.

Microsoft's MSHTML is required by WET. This is typically installed with the standard windows/IE installation but for some reason Dot Net may not be able to locate it. In such a case, locate the Microsoft.MSHtml.dll file in your system and put into the lib directory of your WET workarea.
(WET workarea is the directory where you checked out the source code in step 1 above).

Tip : If you have already installed WET using the wet setup file, then you will find a copy of the Microsoft.mshtml.dll in the <install_dir>\bin directory.

Site running on a free Atlassian Confluence Community License granted to OpenQA. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.6 Build:#812 Aug 06, 2007) - Bug/feature request - Contact Administrators