Hello,
I want to click on edit button with associated Leave Type and this leave type stored in excel file.
I tried to click but not getting suitable selector, this is the screen shot
and this is the selector for click activity
i tried to get leave type in selector but rowname value =“Not Configure” and aaname value=“Click to edit selected record”
kindly help me resolve the problem.
Vishal_K
(Vishal K)
July 15, 2020, 1:23pm
2
@kalpitmantri
try with anchor base activity
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
Also if Anchor base does not help then try this kind of logic below, ie get the attribute of particular element which can be used in fetching edit button.for example get the attribute of leave type by using table row then this tablerow you can use in clicking respective edit
Hi @iVaibhav
Please find the following activity which you can implement while clicking particular WIID, Please note you need to build a logic to iterate through each navigation pages in the work item table from acme website and use the following activities
[image]
Use get Attribute activity to get the table row of the particular WIID, which gives O/P variable name say- getAttributeTableRowValue with the selector <html app='chrome.exe' title='ACME System 1 - Work tems' /> <webctrl tag='TABLE'…
ppr
(Peter Preuss)
July 15, 2020, 2:03pm
3
@kalpitmantri
Have a look here:
@Ozair_Sajid
Ensure that you are using or do this test on a fresh one. Instead of selecting an element giv a try on following selector
<html app='chrome.exe' title='NIDB Annual Reports' />
<webctrl tag='TABLE' />
<webctrl isleaf='1' tableCol='2' innertext='TR000110-06' tag='TD' />
<nav up='1' />
<webctrl aaname='Edit' tag='FONT' innertext='Edit' />
the logic behind is
dont bind any row index
bind it on td element with the id info
go up 1 element (nav up tag)
click on span with the text edi…
with this technique based on a label the button can be clicked
dynamizing it to the label can be done with this technique:
This tutorial will teach you how to easily use variables in your selectors. In other words, we will be making dynamic selectors without the use of the old method of concatenating strings. How cool is that!
For the purpose of this tutorial, I will make 1 click in the Notepad app.
Feel free to also reference our documentation here .
Let’s begin!
1. First, we will indicate the element we want to click on. In this case, it will be File menu in Notepad:
[image]
This results in the…