Hello, I just inserted the date and clicked search, and all these files were generated but i am trying to click download only for “ABP_VTU_Issuer_Approved_Txns_20201008.csv”. I have stored the name “ABP_VTU_Issuer_Approved_Txns” as a mnemonic . but what activity do i use to navigate through the results and select the file. the file could appear in a position ,
the Browser being used is chrome
The problem with the click is that i am not sure if it can get dynamic positions…the name “ABP_VTU_Issuer_Approved_Txns_20201008.csv” could be the last file the next time
here is the selector when i click the file name html app=‘chrome.exe’ title=‘ExtraSwitch’ /
webctrl src=‘/extraswitch/displayBody.do’ tag=‘FRAME’ /
webctrl id=‘reportsList’ tag=‘TABLE’ /
webctrl isleaf=‘1’ tableRow=‘2’ tag=‘TD’ /
heres the selector when i click the download button by the side of the name
html app=‘chrome.exe’ title=‘ExtraSwitch’ /
webctrl src=‘/extraswitch/displayBody.do’ tag=‘FRAME’ /
webctrl tableRow=‘2’ tag=‘A’ /
webctrl aaname=‘ABP_VTU_Issuer_Approved_Txns_20201008.csv.csv’ tableRow=‘2’ /
is there a way i could output the value of tableRow from the selector which is ‘2’ into a variable to store it…
i just noticed i could call this same row number in the download button to help locate the button…i.e webctrl tableRow=‘2’ tag=‘A’ aaname=‘Download’ /
Okay I think this solved it, Thanks @bcorrea i used a get attribute to get the row number then i used the row number to click the appropriate download button… Thanks guys i am glad