07-03-2009, 06:09 PM
Vesa -
Yes there are. Winobjects are the custom object recoginition by QTP. You can work with them by using the .object method if you know what are the custom objects and their behaviour.
For eg : On the dialog you mention it as a winobject...what is this object ?? is it a tab, checkbox?? if we consider it as a tab then we can try something like this,
If you want to work with custom objects then you will need to drill it further down to extract the information.
I can help you if you can provide the information about the object. remember SPY is the only one which is the key and vital part of identifying a custom object.
Yes there are. Winobjects are the custom object recoginition by QTP. You can work with them by using the .object method if you know what are the custom objects and their behaviour.
For eg : On the dialog you mention it as a winobject...what is this object ?? is it a tab, checkbox?? if we consider it as a tab then we can try something like this,
Code:
a=Window("app_name").Dialog("dialog_name").WinObject("AxxWnd50").Object.Item(1).Text
If you want to work with custom objects then you will need to drill it further down to extract the information.
I can help you if you can provide the information about the object. remember SPY is the only one which is the key and vital part of identifying a custom object.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.