Question
Infinite Computer solution
IN
Last activity: 9 Nov 2021 14:30 EST
Table interrogation using Chrome browser
Hi All,
I have an table in my web application(Chrome browser) and there is one of column of table is DOB.
My requirement is : Once DOB is matching in the column. we can click row of the table. DOB is one of input parameter. Some one pls guide me to interrogation the table in chrome browser.
PFA the screenshot for your ref
I thought there was a guide for this and I will update if I can find it.
To interrogate a table in the Universal Web Adapter, I use the "Select Element" option. I first interrogate the TABLE itself as a container. I would adjust the match rules for it to ensure it is properly matched. After that, I would interrogate the TR (row) object. On this object, you enable UseKeys as this will need to match for each row in the table. I then adjust the match rules so that it matches every row I am interested in. Next, I interrogate the TD (cells) that I am interested in. I would make these containers if you have any controls (like check boxes, buttons, or text boxes) inside of them that you want to interrogate. When interrogating the TD objects, you want to make sure that the match rules you use apply equally on each row of the table.
Once you are sure you've gotten the table interrogated properly, then you can create your automations. These are really no different than any other automations against cloned controls that you may have done before. You can access the collection of matches by calling the GetClones method on the TR object you interrogated. This allows you to iterate each row and perform whatever operation is needed. Let me know if you have any questions and perhaps I can record a demo.