05-26-2006, 03:18 PM
Hi,
Iam facing problem using Accesible object property...
Problem description:
I have a check box and two Edit box....
firstly i will tick the check box using the following command
Acc a=acc ("Continue" "CHECKBUTTON" "NorthWind" "WindowsForms10.EDIT.app3" "" 0x1001)
a.Mouse(1)
now i have to check whether the two edit boxes are enabled or not (initially bot the edit boxes will be disabled)
Acc a1=acc("START" "TEXT" "NorthWind" "WindowsForms10.EDIT.app3" "" 0x1801 0x0 0x20000040)
Acc a2=acc("STEP" "TEXT" "NorthWind" "WindowsForms10.EDIT.app3" "" 0x1801 0x0 0x20000040)
out a1.State()
out a2.State()
if both the edit box are enabled i should get output value 0
If iam executing these two scripts iam able to the output value as 0
where as if i execute these scripts together iam getting someother value...
can anyone help me on this...
Thanks In advance
Nithin
Iam facing problem using Accesible object property...
Problem description:
I have a check box and two Edit box....
firstly i will tick the check box using the following command
Acc a=acc ("Continue" "CHECKBUTTON" "NorthWind" "WindowsForms10.EDIT.app3" "" 0x1001)
a.Mouse(1)
now i have to check whether the two edit boxes are enabled or not (initially bot the edit boxes will be disabled)
Acc a1=acc("START" "TEXT" "NorthWind" "WindowsForms10.EDIT.app3" "" 0x1801 0x0 0x20000040)
Acc a2=acc("STEP" "TEXT" "NorthWind" "WindowsForms10.EDIT.app3" "" 0x1801 0x0 0x20000040)
out a1.State()
out a2.State()
if both the edit box are enabled i should get output value 0
If iam executing these two scripts iam able to the output value as 0
where as if i execute these scripts together iam getting someother value...
can anyone help me on this...
Thanks In advance
Nithin