12-02-2009, 05:06 PM
Hi All,
I am automating a VB application, where in there is a scenario, where i should click on different tabs in a vbwindow. All the tabs are recognized by QTP as Activex class and its progid is TabDlg.SSTab.1. Now i want to click on other tabs but all the tabs are showing the same progid.
When i recorded the action (clicking on two different tabs) using qtp, i am getting the code as below:
VbWindow("SRMAIN").ActiveX("VbTab_InsuredInfo").Click 116,11
VbWindow("SRMAIN").ActiveX("VbTab_InsuredInfo").Click 178,8
Can anyone help me how to handle such scenarios using QTP or vbscript?
I am automating a VB application, where in there is a scenario, where i should click on different tabs in a vbwindow. All the tabs are recognized by QTP as Activex class and its progid is TabDlg.SSTab.1. Now i want to click on other tabs but all the tabs are showing the same progid.
When i recorded the action (clicking on two different tabs) using qtp, i am getting the code as below:
VbWindow("SRMAIN").ActiveX("VbTab_InsuredInfo").Click 116,11
VbWindow("SRMAIN").ActiveX("VbTab_InsuredInfo").Click 178,8
Can anyone help me how to handle such scenarios using QTP or vbscript?