Need to select a SAPGUITabStrip via descriptive programming, can anyone help urgently
Select SAPGUITab
|
what have you tried?? are u facing any issue?
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"
do u know the total rowcount becfore selecting the tab?
Regards, Ankesh
No, that is what the main problem is
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 »
|
Users browsing this thread: 1 Guest(s)