Can anybody give the script to addsheet, add column,add

values under that column in the rows?

Answers were Sorted based on User's Feedback



Can anybody give the script to addsheet, add column,add values under that column in the rows?..

Answer / sreeprasad

We can create sheet, parameter and can assign value in one

step:

DataTable.AddSheet

("MySheet").AddParameter "Parametername","Value"

Is This Answer Correct ?    3 Yes 0 No

Can anybody give the script to addsheet, add column,add values under that column in the rows?..

Answer / sunil reddy

TO add Sheet

Datatable.Addsheet(Sheetname")

TO Add column

datatable.getsheet(3)
add parameter "Sunil","Chinnu"
Datatable.getrowcount()

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

What will be the output of the statements below? On error Resume Next Sum 100/0 if Sum= 0 Then msgbox "Pass" else msgbox "Fail" End If

3 Answers   IIT,


What are the 3 main stages involved in testing with qtp?

0 Answers  


Can we write class for vb script in Quick Test Professional?

2 Answers   JPMorgan Chase,


What does "Dynamic change on web pages" means.As per my knowledge, this comes in "Complete" level of Active screen capture levels, where it says, "Also dynamic changes on web changes are saved.so i want to know what type of dynamic changes are made and is this dyanmic changes efftes only on web application or any other?

0 Answers   EDS,


What is the extension of the recovery scenario file in qtp?

0 Answers  


The xls contain data. how to get number of columns form the sheet?

4 Answers   Virtusa,


How to load the object repository at run time?

1 Answers  


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

0 Answers  


How to get data line by line from web element

2 Answers  


How many types of Test Plans are there...??

5 Answers  


How to database testing by manualy?in my db having 100 records when i am retriving the data from db it shows in frent end 30 records how to find bug using QTP?plz Exp realtimers (Chandana)

7 Answers   Wipro,


What are the automation metrice in your project?

0 Answers   Accenture,


Categories