04-14-2010, 03:44 AM
(This post was last modified: 04-14-2010, 03:44 AM by Tarik Sheth.)
Hi Try following code.
Setfocus method should be useful for getting the RO text property.
Setfocus method should be useful for getting the RO text property.
Code:
Window("SiPass integrated -- AUSYDW221").Dialog"Cardholder").WinButton("Add Card").Click
Window("SiPass integrated -- AUSYDW221").Dialog("Cardholder").ActiveX("CardsView").WinObject("WindowsForms10.EDIT.app.0.225e691").setfocus
a = Window("SiPass integrated -- AUSYDW221").Dialog("Cardholder").ActiveX("CardsView").WinObject("WindowsForms10.EDIT.app.0.225e691").GetROProperty ("text")