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


Messages In This Thread
How to get Row,Column values from a WebTable - by gurltek - 05-26-2011, 09:13 PM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)