06-02-2018, 03:18 AM
I am working with UFT 12.53 on a web application.
I have a script where I dynamically add a new record to a web table that initially appears as the last row of the table.
Since this is a static position I need no assistance here.
However, the list is resorted alphabetically and my recently added record is repositioned. I then go in edit and expire the same record and now I need to determine its positioning. I have no issue selecting the row but the table is not paginated so the row may or may not be in view .
I wish to get the x,y coordinates of a cell on the specified row in order to scroll the browser and ensure the row is in view before executing a bitmap capture for reporting.
Any ideas?
ID/ Description /Code /Effective Date /Expiry Date /OOS /Office /Field /Counted
77/AutoTest /AT /2018-05-25T16:33:29.653 /2018-05-31T01:18:18 /ON /ON /ON /ON Edit Button Expire Button
I have a script where I dynamically add a new record to a web table that initially appears as the last row of the table.
Since this is a static position I need no assistance here.
However, the list is resorted alphabetically and my recently added record is repositioned. I then go in edit and expire the same record and now I need to determine its positioning. I have no issue selecting the row but the table is not paginated so the row may or may not be in view .
I wish to get the x,y coordinates of a cell on the specified row in order to scroll the browser and ensure the row is in view before executing a bitmap capture for reporting.
Any ideas?
ID/ Description /Code /Effective Date /Expiry Date /OOS /Office /Field /Counted
77/AutoTest /AT /2018-05-25T16:33:29.653 /2018-05-31T01:18:18 /ON /ON /ON /ON Edit Button Expire Button