03-19-2009, 10:44 AM
Hi ANKUR,
how to write a script for the custom object? In my Application i face all the Properties such as like windows, dialog,button everything as winobject. i even tried with object identifier to change the object properties but it doesnt work. can u give some sample scripts for this? which one i can use for property? as of now iam using object class or native class in the script.
eg:
Itz working fine but my doubt is,
can i use the Height property in the script. plz help with this ankur
how to write a script for the custom object? In my Application i face all the Properties such as like windows, dialog,button everything as winobject. i even tried with object identifier to change the object properties but it doesnt work. can u give some sample scripts for this? which one i can use for property? as of now iam using object class or native class in the script.
eg:
Code:
SystemUtil.Run"D:\Code\PresentationLayer.exe"
Set a= Window("text:=Systems Login")
a.Activate
a.WinObject("object class:=WindowsForms10.EDIT.app.0.378734a").Type"admin"
a.WinObject("object class:=WindowsForms10.EDIT.app.0.378734a").Type micTab
a.WinObject("object class:=WindowsForms10.EDIT.app.0.378734a","height:=13").Type"dss"
a.WinObject("object class:=WindowsForms10.EDIT.app.0.378734a","height:=13").Type micTab
a.WinObject("text:=Login").Click
Itz working fine but my doubt is,
can i use the Height property in the script. plz help with this ankur