ÿþ<HTML xmlns="http://www.w3.org/TR/REC-html40"> <HEAD> <TITLE>TableViewFunctions</TITLE> <LINK rel="stylesheet" href="rrafs.css" type="text/css"/> </HEAD> <BODY> <DIV NAME="top" ID="top"> <H3>TableViewFunctions</H3> <SMALL>Last Updated:<script language="JavaScript">document.write(document.lastModified)</script></SMALL> <BR/> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Actions for working with TableView objects </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </DIV> <BR/> <DIV NAME="list" ID="list"> <A href="SAFSReferenceKey.htm" alt="Reference Legend or Key"> <SMALL><B>[How To Read This Reference]</B></SMALL> </A> <TABLE cellspacing="3" border="1" cellpadding="2"> <TR> <TD nowrap="true" width="27%"><A NAME='list_ActivateTableRow' HREF='#detail_ActivateTableRow' >ActivateTableRow</A></TD><TD width="12%" align="CENTER"> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </TD> <TD> Activate the specified row in the table. </TD> </TR> <TR> <TD nowrap="true" width="27%"><A NAME='list_GetCellValue' HREF='#detail_GetCellValue' >GetCellValue</A></TD><TD width="12%" align="CENTER"> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </TD> <TD> Get the value of a cell at a certain row and column </TD> </TR> <TR> <TD nowrap="true" width="27%"><A NAME='list_GetRowCount' HREF='#detail_GetRowCount' >GetRowCount</A></TD><TD width="12%" align="CENTER"> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </TD> <TD> Get a count of how many rows are in the table </TD> </TR> <TR> <TD nowrap="true" width="27%"><A NAME='list_SetSelectedColumn' HREF='#detail_SetSelectedColumn' >SetSelectedColumn</A></TD><TD width="12%" align="CENTER"> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </TD> <TD> Set the current column of to the one specified. </TD> </TR> <TR> <TD nowrap="true" width="27%"><A NAME='list_SetSelectedRow' HREF='#detail_SetSelectedRow' >SetSelectedRow</A></TD><TD width="12%" align="CENTER"> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </TD> <TD> Set the current row of to the one specified. </TD> </TR> <TR> <TD nowrap="true" width="27%"><A NAME='list_SetTableCellData' HREF='#detail_SetTableCellData' >SetTableCellData</A></TD><TD width="12%" align="CENTER"> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </TD> <TD> Set a specific cell to the specified value. </TD> </TR> <TR> <TD nowrap="true" width="27%"><A NAME='list_VerifyCellValue' HREF='#detail_VerifyCellValue' >VerifyCellValue</A></TD><TD width="12%" align="CENTER"> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </TD> <TD> Verify the contents of a particular cell at position row, column. </TD> </TR> </TABLE> <HR/> </DIV> <DIV NAME="detail" ID="detail"> <H3><A NAME='detail_ActivateTableRow' />TableViewFunctions::<BIG>ActivateTableRow</BIG> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </H3> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Activate the specified row in the table. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"><detailed_desc xmlns=""> Activate the specified row in the table. </detailed_desc><BR/> </DIV> <BR/> <DIV NAME="list" ID="other"> <B>Fields: [ ]</B>=<SMALL>Optional with Default Value</SMALL><BR/> <OL start="5" ><LI> <B>Row</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The row number to activate. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"><detailed_desc xmlns=""> Activates the row to the one specified here </detailed_desc><BR/> </DIV> </LI> <BR/></OL ><B>Examples:</B><BR/><UL> <LI> <B><usage xmlns="">T, WINDOWNAME, COMPNAME, ACTIVATETABLEROW, 5</usage></B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Activates row number 5 </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> </UL> <A href="SAFSReferenceKey.htm" alt="Reference Legend or Key"> <SMALL><B>[How To Read This Reference]</B></SMALL> </A> <HR/></DIV> <H3><A NAME='detail_GetCellValue' />TableViewFunctions::<BIG>GetCellValue</BIG> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </H3> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Get the value of a cell at a certain row and column </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"><detailed_desc xmlns=""> The variable in the parameter will be set to the value of the specified row and column. </detailed_desc><BR/> </DIV> <BR/> <DIV NAME="list" ID="other"> <B>Fields: [ ]</B>=<SMALL>Optional with Default Value</SMALL><BR/> <OL start="5" ><LI> <B>VariableName</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The variable that the data will be stored in. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> <LI> <B>Row</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The row that the data will be extracted from </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> <LI> <B>Column</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The column that the data will be extracted from. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/></OL ><B>Examples:</B><BR/><UL> <LI> <B><usage xmlns="">T, WINDOWNAME, COMPNAME, GetCellValue, VARIABLENAME, 1, 1</usage></B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The variable VARIABLENAME will be created with the value of the cell at location 1, 1 in the table. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> <LI> <B><usage xmlns="">T, WINDOWNAME, COMPNAME, GetCellValue, "^VARIABLENAME", 1, 1</usage></B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The variable VARIABLENAME will be created with the value of the cell at location 1, 1 in the table. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> <LI> <B><usage xmlns="">T, WINDOWNAME, COMPNAME, GetCellValue, VARIABLENAME, ^row=1, ^column=1</usage></B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The variable VARIABLENAME will be created with the value of the cell at location 1, 1 in the table. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> </UL> <A href="SAFSReferenceKey.htm" alt="Reference Legend or Key"> <SMALL><B>[How To Read This Reference]</B></SMALL> </A> <HR/></DIV> <H3><A NAME='detail_GetRowCount' />TableViewFunctions::<BIG>GetRowCount</BIG> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </H3> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Get a count of how many rows are in the table </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"><detailed_desc xmlns=""> The variable in the parameter will be set to the number of rows in the table. </detailed_desc><BR/> </DIV> <BR/> <DIV NAME="list" ID="other"> <B>Fields: [ ]</B>=<SMALL>Optional with Default Value</SMALL><BR/> <OL start="5" ><LI> <B>RowCount</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The variable that the number of rows will be stored in. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/></OL ><B>Examples:</B><BR/><UL> <LI> <B><usage xmlns="">T, WINDOWNAME, COMPNAME, GetRowCount, VARIABLENAME</usage></B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The variable VARIABLENAME will be created with the value number of rows will be assigned to the variable. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> </UL> <A href="SAFSReferenceKey.htm" alt="Reference Legend or Key"> <SMALL><B>[How To Read This Reference]</B></SMALL> </A> <HR/></DIV> <H3><A NAME='detail_SetSelectedColumn' />TableViewFunctions::<BIG>SetSelectedColumn</BIG> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </H3> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Set the current column of to the one specified. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"><detailed_desc xmlns=""> In the tableview the current column will be set to the one specified in the command parameter. </detailed_desc><BR/> </DIV> <BR/> <DIV NAME="list" ID="other"> <B>Fields: [ ]</B>=<SMALL>Optional with Default Value</SMALL><BR/> <OL start="5" ><LI> <B>Column</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The column number that the TableView should be set to. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"><detailed_desc xmlns=""> Set the current column to the one specified in this parameter. </detailed_desc><BR/> </DIV> </LI> <BR/></OL ><B>Examples:</B><BR/><UL> <LI> <B><usage xmlns="">T, WINDOWNAME, COMPNAME, SETSELECTEDCOLUMN, 5</usage></B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Sets the current column to column number 5 </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> </UL> <A href="SAFSReferenceKey.htm" alt="Reference Legend or Key"> <SMALL><B>[How To Read This Reference]</B></SMALL> </A> <HR/></DIV> <H3><A NAME='detail_SetSelectedRow' />TableViewFunctions::<BIG>SetSelectedRow</BIG> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </H3> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Set the current row of to the one specified. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"><detailed_desc xmlns=""> In the tableview the current row will be set to the one specified in the command parameter. </detailed_desc><BR/> </DIV> <BR/> <DIV NAME="list" ID="other"> <B>Fields: [ ]</B>=<SMALL>Optional with Default Value</SMALL><BR/> <OL start="5" ><LI> <B>Row</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The row number that the TableView should be set to. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"><detailed_desc xmlns=""> Set the current row to the one specified in this parameter. </detailed_desc><BR/> </DIV> </LI> <BR/></OL ><B>Examples:</B><BR/><UL> <LI> <B><usage xmlns="">T, WINDOWNAME, COMPNAME, SETSELECTEDROW, 5</usage></B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Sets the current row to row number 5 </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> </UL> <A href="SAFSReferenceKey.htm" alt="Reference Legend or Key"> <SMALL><B>[How To Read This Reference]</B></SMALL> </A> <HR/></DIV> <H3><A NAME='detail_SetTableCellData' />TableViewFunctions::<BIG>SetTableCellData</BIG> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </H3> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Set a specific cell to the specified value. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"><detailed_desc xmlns=""> Set the cell at the specified position in the table to a specific value. The user must make sure that the values indicated in the command are valid as far as the row and column specification of the table. </detailed_desc><BR/> </DIV> <BR/> <DIV NAME="list" ID="other"> <B>Fields: [ ]</B>=<SMALL>Optional with Default Value</SMALL><BR/> <OL start="5" ><LI> <B>Row</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The row that the cell you want to set is in. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> <LI> <B>Column</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The column that the cell you want to set is in. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> <LI> <B>TextValue</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The text value to set the cell value to. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/></OL ><B>Examples:</B><BR/><UL> <LI> <B><usage xmlns="">T, WINDOWNAME, COMPNAME, SETTABLECELLDATA, 5, 7, "Cell Value"</usage></B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Sets the cell in the table at position 5, 7, to the value "Cell Value" </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> <LI> <B><usage xmlns="">T, WINDOWNAME, COMPNAME, SETTABLECELLDATA, 5, 7, ^CellValue</usage></B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Sets the cell in the table at position 5, 7, to the value of ^CellValue </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> </UL> <A href="SAFSReferenceKey.htm" alt="Reference Legend or Key"> <SMALL><B>[How To Read This Reference]</B></SMALL> </A> <HR/></DIV> <H3><A NAME='detail_VerifyCellValue' />TableViewFunctions::<BIG>VerifyCellValue</BIG> <TABLE><TR> <TD class="borderStyle"><IMG SRC='WR.GIF' ALT='Mercury Interactive WinRunner'/></TD> </TR></TABLE> </H3> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> Verify the contents of a particular cell at position row, column. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"><detailed_desc xmlns=""> The data is verified to equal the value of EXPECTED value at the specified row and column. </detailed_desc><BR/> </DIV> <BR/> <DIV NAME="list" ID="other"> <B>Fields: [ ]</B>=<SMALL>Optional with Default Value</SMALL><BR/> <OL start="5" ><LI> <B>ExpectedText</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The value that the data in the cell is expected to equal. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> <LI> <B>Row</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The row number of the cell to be verified. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> <LI> <B>Column</B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The column number of the cell to be verified. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/></OL ><B>Examples:</B><BR/><UL> <LI> <B><usage xmlns="">T, WINDOWNAME, COMPNAME, VERIFYCELLVALUE, "The string to equal", ROW, COLUMN</usage></B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The cell at ROW, COLUMN is verified equal to "The string to equal" </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> <LI> <B><usage xmlns="">T, WINDOWNAME, COMPNAME, VERIFYCELLVALUE, ^ExpectedString, ROW, COLUMN</usage></B> <BR/> <DIV NAME="list" ID="short_desc"><short_desc xmlns=""> The cell at ROW, COLUMN is verified equal to the DDVariable value ^ExpectedString. </short_desc></DIV> <BR/> <DIV NAME="list" ID="detail_desc"/> </LI> <BR/> </UL> <A href="SAFSReferenceKey.htm" alt="Reference Legend or Key"> <SMALL><B>[How To Read This Reference]</B></SMALL> </A> <HR/></DIV> </DIV> </BODY> </HTML>