Forum Discussion
NICE code, big Kudos.
If you don't want to go that in depth, start with your web table object, search for the cell that contains the text you're looking for, grab the row number for that cell, use the retrieved row and a "constant" column ID to get to the specific cell you want, "FindChild" the control in that cell, and click it.
OK... so, not much simpler but it's another route to the same solution Bharadwaj give you some much more generic code that can be used to find ANY cell in ANY row in given the text in the column header. Beautiful...
The assumption, of course, is that the table actually renders in TC Object Browser as something like Table(0) or whatever... an actual HTML Table tag. If it's some other kind of control, the code may vary. Without seeing the specifics of how TC recognizes the object, Bharadwaj's solution is your best bet.
Now... as for your second question about the control at the bottom. FindChild is your friend. Identify the unique properties of the control, pass them to FindChild, get your control from that and then parse it out for the values you want.
Related Content
- 10 months agoLuukdb
- 2 years agoloricotton
- 2 years agorkadali
Recent Discussions
- 3 days agoMW_Didata