How to get Row,Column values from a WebTable - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: How to get Row,Column values from a WebTable (/Thread-How-to-get-Row-Column-values-from-a-WebTable) |
How to get Row,Column values from a WebTable - gurltek - 05-26-2011 (EX --> x = Browser("Contract Position").Page("Contract Position").Frame("TargetContent").WebTable("Department:").GetCellData(5,2) DataTable.Value("oPosNbr") = x NOTE: THE (5,2) REPRESENTS THE ROW,COLUMN LOCATION OF THE TARGET DATA ON THE WEBTABLE | TO OBTAIN THIS ROW,COLUMN LOCATION - AFTER .WebTable() NODE IN SCRIPT, ADD METHOD = '.GetCellData() | R-CLICK ON THE WORDS "GetCellData" | THE AUT SHOULD BE OPEN | SOMETIMES MY OUTPUT VALUE PROPERTIES WOULDN'T SHOW UNLESS I DID THESE STEPS BEFORE I ADDED THE '()'| SELECT 'INSERT OUTPUT VALUE | TABLE OUTPUT VALUE PROPERTIES DIALOGUE BOX OPENS | LOOK FOR THE CELL ON THE TABLE THAT HAS THE VALUE CURRENTLY ASSIGNED INSIDE THE APPLICATION | GET THE ROW NUMBER AND COLUMN NUMBER AND ADD IT TO THE .GetCellData() METHOD IN PARENTHESIS RE: How to get Row,Column values from a WebTable - Ankur - 05-26-2011 Are you asking this question or trying to convey something? Please format your post and follow the posting guidelines. |