05-26-2011, 09:13 PM
(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
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