Monday, 25 March 2013

DTSheet Object In QTP

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.



No comments:

Post a Comment

Please Leave your reply. We value your feedback and inputs

Best QTP Books

Everything About QTP

Hello Friends,
You can find QTP study material, Multiple choice questions (mcq), QTP question bank, QTP question papers, QTP notes, QTP questionnaire, scenario based QTP interview questions, QTP tutorial and QTP training on this site.

If you are a fresher or experienced QTP professional with (1/2/3/4) years of experience, this blog is just for you.