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 / priyareddy

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

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

Is This Answer Correct ?    2 Yes 0 No

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

Answer / ngs

Priya Answered correct one

Is This Answer Correct ?    1 Yes 0 No

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

Answer / nothing

'add sheet
datatable.addsheet(" sheetname ")

'add columns. Parameters should be initialized with values
or with Empty String.

datatable.addparameter "Name", "Some Value / Empty String"

Pretty simple like this end of the day of this Universe.

Is This Answer Correct ?    2 Yes 1 No

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

Answer / mercy

U can try with AddParameter method. If u have help chk for
this. The example for this will have "....Getsheet
(...)..AddParameter(..)..."

u try with AddSheet instead of GetSheet depending upon ur
need.... i'm guessing it would work...

just give it a try...

Is This Answer Correct ?    0 Yes 0 No

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

Answer / nothing

If somebody have used what ever the concept may be, then
only tell the concept to the Learners. Should not provide
imaginations.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

In Keyword driven frame work you have write 30 test case for one scenario,in which 10 test cases are failed while executing.client asked you to execute only the failed test cases. HOw can you execute only failed test cases

2 Answers   IBM,


how to disable the pop ups through QTP using a script

0 Answers  


Please clarify Automation and QTP both(names) are same or diff?

1 Answers  


How to handle Run-time errors?

1 Answers   Crea,


What are the different recording modes?

0 Answers  






i have batch scripts in qtp and i want to update the status like pass/fail in excel sheet after excecuting the every script in batch.how to write the script for this?

1 Answers   IBM,


what about f2&f6 function keys

1 Answers  


how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script

2 Answers  


Explain the use of action split in qtp?

0 Answers  


Where we write the FUNCTIONS, in Expert view (or) in any textfiles like Notepad and save it in Library functions folder? How to cal that functions to our script? How to save that functions to Function generator?

3 Answers  


What is difference between the For..Next and While..Wend statements?

2 Answers  


What is object & properties (in QTP)

5 Answers   Ordain Solutions,


Categories