4.build and install sources with ./autogen --prefix=/opt/mono && make && make install, the order is libgdiplus->mono->gtk-sharp->monodoc->mono-tools->uia2atk(UIAutomation->UIAutomationWinforms->UiaAtkBridge)

5.modify /usr/bin/ipy from "/usr/bin/mono" to "/opt/mono/bin/mono /"

Okay, now you can run SWF application from uia2atk/test/samples, and your accerciser can catch the ipy application. you have two mono environment running in parallel

#check if the text in text filed is same as the select text procedurelogger.expectedResult('the text change to %s' % result) def resultMatches(): return self.combobox.findText(None).text == result assert retryUntilTrue(resultMatches)

How to test MenuBar and MenuItem?

Strongwind supports '_open, select, open' function default. 'select' can send click action to what you want menuitem. '_open, open' just send click action to menu to list the item but not click menuitem.

For example there are 'New' 'Open' MenuItem in 'File' MenuBar in Gedit application:1:

#check if the menuitem in menubar can be clicked #first set 'self.menubar = self.findMenuBar('')' in __init__ def menuSelect(self, menuname, itemname): #self.menubar.open([menuname]) and self.findMenuItem(itemname).click() #is the same action as below, but not log for the click action self.menubar.select([menuname, itemname])

For example in StatusBar there is a Label to show the numbers of line&character when we enter text in TextBox(see gedit). What we need to do is first find the TextBox to enter some character by enterText(text), then check if we can find the StatusBar with the Label's Text(cont the numbers of line&character):

Sunday, April 6, 2008

If you got "error CS0006: cannot find metadata file `Microsoft.JScript.dll'" When you run Winforms example(hello.cs) by 'mcs -pkg:dotnet' in openSUSE OS. you need download `Microsoft.JScript.dll' first, and put it with hello.cs together.

Tuesday, March 25, 2008

Today is my first day on duty at Novell, I fell so happy and excited! It start my new life, just like open a new chapter in my life and like open a new chapter in my job! I will try my best to take this job! come on Calen!