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.
try with anchor base activity
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
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
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'…
Have a look here:
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.
1. First, we will indicate the element we want to click on. In this case, it will be File menu in Notepad:
This results in the…