10-17-2012, 05:50 PM
Need to select a SAPGUITabStrip via descriptive programming, can anyone help urgently
Select SAPGUITab
|
10-17-2012, 05:50 PM
Need to select a SAPGUITabStrip via descriptive programming, can anyone help urgently
10-17-2012, 06:57 PM
what have you tried?? are u facing any issue?
10-18-2012, 11:37 AM
Actually the problem is there is a SAPGUITable inside the Tab so the Tab name is like the Tab name (No. of row in the table)
For eg. if the total no. of rows in the table is 26, so its Tab name(26) So its changing dynamically, so how can i click that tab, I used descriptive programming like Code: 'SAPGuiSession("Session").SAPGuiWindow("Maintain Business Partner").SAPGuiTabStrip("GS_SCREEN_1200_TABSTRIP").Select "name := Tab_02"
10-22-2012, 12:34 PM
do u know the total rowcount becfore selecting the tab?
Regards, Ankesh
10-22-2012, 07:39 PM
No, that is what the main problem is
10-23-2012, 02:59 PM
Try the below code. This is just a sample code, modify as per your need.
Code: strAllItems=SAPGuiSession("micClass:=SAPGuiSession").SAPGuiWindow("micClass:=SAPGuiWindow").SAPGuiTabStrip("micClass:=SAPGuiTabStrip","name:=TAXI_TABSTRIP_OVERVIEW").GetROProperty("allitems") '//Just update the tabe name here Regards, Ankesh |
« Next Oldest | Next Newest »
|