Methods for webtable


#1

Do we have methods that work on webtable such as getcelldata (get value of a cell using row and column) or method to click on a particular cell.

I am using innertext (In selector) to identify a object on webpage uniquely. But got into issue when two rows have same cell values that needs to be clicked. Any thought how to overcome this ?

Methods around webtables will make life so much easier.


#2

As per your requirement for getCellData, It will require you to pass the row and column reference for fetching the data.
On similar lines, you can build a dynamic selector for referencing any cell of a table.
Your selector should probably look something like this:

<html title = 'YourPage' />
<webctrl tag='Table' ...add your attrib='Value' to uniquely identify the table on your page />
<webctrl tag='td' tablerow=' & intRowReference & ' tableCol=' & intColReference & ' />

Sidenote: Looks like you’ve worked on QTP prior to UiPath.


#3

Yes…QTP was awesome with web elements


#4

Gr8 :slight_smile:
I’m a QTP migrant to UiPath as well :raised_hands:

But nonetheless, UiPath Studio has all the FeatureSet that QTP has. Different ways for it tough :stuck_out_tongue:


#5

:raised_hands:


#6

I couldn’t find an equivalent to Desktop Object in UiPath though.