07-08-2009, 04:17 PM
Greetings of the Day to one and all!!!
I am writing scripts for ActiveX("DataCombo") [Class: ActiveX NameataCombo, PrgID: MSDataListLib.DataCombo.1, NativeClass: DataComboWndClass] object to get its item count or present items in it. Its combo box kind of object and getting identified properly in QTP.
But in this object, i am not getting methods like GetItem, GetItemCount, GetContent as we get in VB Combo Box.
Can i include these methods in dataCombo?.
Whenever i try to change its identification in Tools-> Object Identification-> User Defined and Pointing to that object, its giving :
"This is a standard class object and therefore cannot be mapped."
message.
Or at least by using existing methods can I get item(s) present in it?.
Existing Methods are, CaptureBitmap, CheckProperty, ChildProperty, ChildObjects,Click, DblClick, Drag, Drop,Exist, FireEvent, GetROProperty, GetTextLocation, GetTOProperties, GetTOProperty, GetVisibleText,MakeVisible,MouseMove,Object,SetTOProperty,ToString,Type and WaitProperty.
How it can be solved?Please guide.
Thanks and regards.
Girish Pai
I am writing scripts for ActiveX("DataCombo") [Class: ActiveX NameataCombo, PrgID: MSDataListLib.DataCombo.1, NativeClass: DataComboWndClass] object to get its item count or present items in it. Its combo box kind of object and getting identified properly in QTP.
But in this object, i am not getting methods like GetItem, GetItemCount, GetContent as we get in VB Combo Box.
Can i include these methods in dataCombo?.
Whenever i try to change its identification in Tools-> Object Identification-> User Defined and Pointing to that object, its giving :
"This is a standard class object and therefore cannot be mapped."
message.
Or at least by using existing methods can I get item(s) present in it?.
Existing Methods are, CaptureBitmap, CheckProperty, ChildProperty, ChildObjects,Click, DblClick, Drag, Drop,Exist, FireEvent, GetROProperty, GetTextLocation, GetTOProperties, GetTOProperty, GetVisibleText,MakeVisible,MouseMove,Object,SetTOProperty,ToString,Type and WaitProperty.
How it can be solved?Please guide.
Thanks and regards.
Girish Pai