DTSheet is a sheet in the run-time Data Table in QTP. You can get reference to this object by using below statements.
DataTable.AddSheet
DataTable.GetSheet
DataTable.GlobalSheet
DataTable.LocalSheet
DTSheet supports below methods :-
AddParameter Method - Add new column to current sheet
DeleteParameter Method - delete an existing column from the active sheet
GetCurrentRow Method - get row number of active row from current sheet
GetParameter Method - gets the name of column given it's index
GetParameterCount Method - gets total number of columns in current sheet in datatable
GetRowCount Method - gets total number of rows from sheet
SetCurrentRow Method - Activate given row
SetNextRow Method - Move to next row
SetPrevRow Method - Move to previous row
Associated Properties
Name Property - get the name of current sheet.
DataTable.AddSheet
DataTable.GetSheet
DataTable.GlobalSheet
DataTable.LocalSheet
DTSheet supports below methods :-
AddParameter Method - Add new column to current sheet
DeleteParameter Method - delete an existing column from the active sheet
GetCurrentRow Method - get row number of active row from current sheet
GetParameter Method - gets the name of column given it's index
GetParameterCount Method - gets total number of columns in current sheet in datatable
GetRowCount Method - gets total number of rows from sheet
SetCurrentRow Method - Activate given row
SetNextRow Method - Move to next row
SetPrevRow Method - Move to previous row
Associated Properties
Name Property - get the name of current sheet.
You may find below links very useful if you want to know more about data tables in QTP.
- How to export datatable sheets to excel
- How to import excel-sheet to datatable
- How to read value from cell in datatable in QTP
- Explain setcurrentrow method in qtp
- Datatable object in qtp
- How to export datatable to excel in qtp
- How to get current sheet from datatable
- How to check if parameter exists in sheet in datatable in qtp
- Explain dtsheet object in qtp
- What are the utility objects in qtp
No comments:
Post a Comment
Please Leave your reply. We value your feedback and inputs