My current workflow can get below data table into excel, pass value into selector and click the UI-element, i have tried to add column values, row values in the selector. But unfortunately when development name duplicate, robot will always choose the first item.
lets say i have 4 duplicated name in excel( after scraping the data from Development(s) with register of transactions uploaded in the past 1 day(s) to excel)
i read the excel file and inside of the for each, i apply some click functions. First loop it works perfectly, but when it comes to second, third or fourth loop, it cannot click correct row item.
It is because the ur click is working on selector concepts, so it will identify based on row and column name which u had given in selector, so kindly look whether there is any attribute in the records which is unique and use it in your selector.
Hi @Aaron_Ko , While creating a selector for clickable element, also add Parent row to Selectors. In parent row, you’ll find innertext attribute. Make the value of innertext attribute dynamic as per Data Table Row.
If i add innertext attribute into click selector in your case it will basic on development_name,Phase_No,Phase_name,Address and Sub_name to click each row ?
i will give it a try later on and will let you know if it works or not.
In above example, I assumed you want to click on “Name of Development” cell of each different row. I’ve been using innertext method to identify each row for a while. Hope it works for you too !
Hi,
sorry for the late reply haven’t had a chance to test it out, i am having error return, it says Could not find the UI element corresponding to this selector, do i have to pass Chinese and English variables into the selector?