Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get Row,Column values from a WebTable
#1
Not Solved
(EXSmile -->
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
Reply
#2
Not Solved
Are you asking this question or trying to convey something? Please format your post and follow the posting guidelines.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  DataGrid: double click on selected row robertosalemi 0 4,437 05-12-2016, 03:00 PM
Last Post: robertosalemi
  Row count is always shown as 1 Harry1999 0 2,094 04-14-2016, 11:11 PM
Last Post: Harry1999
  [UFT] Get column name from SfwObject felino 0 3,023 12-02-2015, 04:07 PM
Last Post: felino
  Keep row number imbizile 0 2,756 09-18-2014, 03:31 AM
Last Post: imbizile
  Retrieve row number based on value in DataTable marfa 6 30,780 07-31-2014, 08:36 PM
Last Post: dharshinishankari@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)