hope you are doing great.
i'm trying to download data automatically from powerBI server.
i run this script but usually stops at this step
Code: Select all
TAG POS=1 TYPE=BUTTON ATTR=ARIA-EXPANDED:false&&ARIA-HASPOPUP:true&&CLASS:vcMenuBtn&&TYPE:button&&ARIA-LABEL:More<SP>options&&PBI-FOCUS-TRACKER-IDX:1&&TXT:
the issue is that there is a dropdown menue button that contains export option. but the script stops at this step
here is the code after credentials
Code: Select all
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:i0281 ATTR=ID:idSIButton9
wait seconds = 20
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:/kmsi ATTR=ID:idSIButton9
wait seconds = 20
TAG POS=3 TYPE=BUTTON ATTR=_NGCONTENT-WME-C23:&&CLASS:groupToggle<SP>forceButtonVisible<SP>pbi-focus-outline<SP>ng-star-inserted&&TITLE:Show<SP>the<SP>navigation<SP>pane&&ARIA-EXPANDED:false&&TXT:
wait seconds = 20
TAG POS=1 TYPE=SPAN ATTR=TXT:export_data
wait seconds = 20
TAG POS=1 TYPE=BUTTON ATTR=ARIA-EXPANDED:false&&ARIA-HASPOPUP:true&&CLASS:vcMenuBtn&&TYPE:button&&ARIA-LABEL:More<SP>options&&PBI-FOCUS-TRACKER-IDX:1&&TXT:
wait seconds = 20
TAG POS=1 TYPE=H6 ATTR=ID:contextmenu-label-text3
wait seconds = 20
ONDOWNLOAD FOLDER=* FILE=+_{{!NOW:yyyymmdd_hhnnss}} WAIT=YES
wait seconds = 20
TAG POS=2 TYPE=BUTTON ATTR=TXT:Export
wait seconds = 20
TAG POS=1 TYPE=BUTTON ATTR=ID:powerBIUserInfoBtn
wait seconds = 20
TAG POS=1 TYPE=A ATTR=TXT:Sign<SP>out
wait seconds = 20
thanks in advance