|
From: paddy p. <pp...@gm...> - 2009-01-09 09:01:21
|
Hi all
I hav developed an application GUI using Wx.Python. I also developed the
script this GUI using WATSUP. My application GUI contains no of buttons such
as F1, F2, F3... and 1,2,3,... when I entered statement
book = pyExcelerator.parse_xls('Test_Case.xls')
data = book[0][1]
global td9,td10,td11,td12
td9= (((data[(9, 2)]))) #Test data 1
to read the control name from the Excel file(Test_Case,xls)
to find this control i used following script
form=findTopWindow(wantedText='SIMULATOR')
button=findControl(form,wantedText=(str(td9))) # button name from the Excel
file i.e. =1
editbox=findControl(form,wantedClass='Edit')
when i run the script Multiple controls found for top window error is poped
up. this error is not consistent for button 1 this error is generated
randomely for any button from 1 to 9
How to avoid this error?
|