Hi all
I have a question that want to get website’s information, same title on each table maybe have difference row_number
For example
Table A : title = User_ID
<webctrl parentid=‘form’ tableRow=‘14’ tag=‘TH’ />
Table B : title = User_ID
<webctrl parentid=‘form’ tableRow=‘12’ tag=‘TH’ />
If I want to get tableRow number and assign to variables, how to do that
Could you show us the UI Element’s Seelctor where the User_ID and the tableRow attributes are present together in the same Selector. Use UiExplorer for indication, and provide the Screenshot of the UiExplorer here, so that we can help you better on what needs to be done.
Hi @supermanPunch
Thanks for your reply
Unfortunately, I can’t provide my question’s pic at here, because that is company internal website
Only can use example I posted
When Indicated on UI element using UiExplorer, do you get both the User_ID and tableRow in one/same selector ?
If so, we could use it to assign the User_ID attribute with a variable which would have the value that is required to be searched and then retrieve the rowNumber from that selector using Get Attribute Activity.
Or a Similar approach could be done by either specifying a Anchor or Looping through the elements using Find Children activity and retrieving the position which should also be the rowNumber value.
You need to make the selector to dynamic to achieve this. Please share the selector from Uiexplorer for any 2 rows here and explain which value you need to Get.