12-08-2009, 03:07 PM
Phani -
Well, one of the common issues we face with QTP interacting with various custom built applications is the hindrance to identify the objects uniquely. In this case you have to ways to achieve what you want,
1. Identifying the unique feature of each tab. ( Indexing should help. If it does not work try Location. If no help try to contact the developers to see if there any unique property is set. Most of the times it ends with indexing as the one. You can define the tab contents as collection of child tabs and then click each child tab. Let me know if this idea helps you. Research more and you will find more.]
2. Co-ordinate Identification - Death option. Last resort when you do not have solution and you need to get the achieved automation. [ Use SetCursorPos API, DeviceReplay, etc etc and it should help you ].
Let me know how the flood flows through...
Well, one of the common issues we face with QTP interacting with various custom built applications is the hindrance to identify the objects uniquely. In this case you have to ways to achieve what you want,
1. Identifying the unique feature of each tab. ( Indexing should help. If it does not work try Location. If no help try to contact the developers to see if there any unique property is set. Most of the times it ends with indexing as the one. You can define the tab contents as collection of child tabs and then click each child tab. Let me know if this idea helps you. Research more and you will find more.]
2. Co-ordinate Identification - Death option. Last resort when you do not have solution and you need to get the achieved automation. [ Use SetCursorPos API, DeviceReplay, etc etc and it should help you ].
Let me know how the flood flows through...
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.