Hi all,
as showing in the above img
i first find the Account holder is there are not if Account holder is there then select the account holder how can i find and select this one.
Hi all,
as showing in the above img
i first find the Account holder is there are not if Account holder is there then select the account holder how can i find and select this one.
Does Ui Explorer recognize this as a table with row and column properties? You can check this by opening Ui Explorer and indicating the words Account Holder then looking at the various properties.
If it does recognize table row, then you just use Get Attribute to get the row of the words Account Holder, and use that value in a dynamic selector to click the radio button.
@ushu, but the account holder position changes account to account as like below showing img
@meeraa I guess it works if you pass aaname as Business Account Holder in the selector without using table row value. So that it always looks for Business Account Holder
. Once it found using Anchors you can enable radio button
Again, does Ui Explorer get tablerow as one of the properties when you indicate the words Account Holder? If it does the solution is very simple.
If it does not, you could try setting the Account Holder text as the anchor.
Open Ui Explorer, click Account Holder, and post a screenshot of what it gives you.
Also, can you click or double-click the row to select the radio button, or do you have to directly click the radio button?
Hello @meeraa suggesting to use â element existâ activity. In that select Account holder. Go to selector and remove any attributes which points to the position ( for eg. RowNum, column in etc).
Use if condition. If element exist, use click activity to click on it.
That will click the cell with âAccount Holderâ in it which isnât what they want. They want to select the radio button.
A simple Get Attribute to get the rownumber, and then a dynamic selector for the Click, is all thatâs needed. Youâre both overcomplicating this.
Hello @meeraa
Instead of clicking on the radio button, if we click on that particular row, suppose if you click on Account Number, will it check the checkbox?? Can you confirm
Hi @postwick
Hi @Rahul_Unnikrishnan, no i should click on the radio button Rahul.
Thanks for that confirmation.
From the Account Holder element there is an attribute called tableRow.
Using GetAttribute activity and select rowNumber as below and assign to a variable as belowâŚ
use a click activity and click on any of the radio button and go to selector. Inside the selector for the radio button there should be an attribute tableRow. You can pass the above variable to this attribute.
So each time if there is a change in locaiton of Account Holder also, it will work. Here row is the variable which holds the tableRow as per the screenshot.
Modify the screenshot attribute as tableRow
Notice that the name property is Account Holder.
So take tableRow out of the selector and add name=âAccount Holderâ (and if you want it also to identify something like Business Account Holder then make it name=â*Account Holderâ)
And then use that selector in Get Attribute and the attribute you want is tableRow.
Then you use that attribute in a dynamic selector to tell it which radio button to click.
Except the selector he provided uses tableRow and tableCol and is therefore incorrect. tableRow must be removed and the name=âAccount Holderâ (or name=â*Account Holderâ) property needs to be added to the selector.
Do you mean for Accout Holder?? For that aaname is required and for radio button tableRow.
This is not a web page, itâs a Java app. There is no aaname. The property is name, as shown by his screenshot.
hi @postwick , how can select by using get attribute activity
its not selecting the radio button
Get attribute doesnât select the radio button. Youâre supposed to get the tableRow attribute (not name) and use that to build a dynamic selector for the radio button.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.