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

with out object repository i need to launch IE and then navigate to a login page and then operate the objects within the page. How will be the script?

3 Answers   Ordain Solutions,


How to execute a WinRunner Script in QTP?

1 Answers   Crea,


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


How u connect bugzilla with QTP

1 Answers   Deloitte, TCS, Wipro,






How you can find the absolute value of the number in qtp?

0 Answers  


How will you handle the situation when object is not captured during record?

2 Answers  


Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"

5 Answers   Cap Gemini,


How to record right click of a context menu and click on the selection ?

3 Answers  


How to send the qtp results file by email (Lotus notes).

1 Answers   TCS,


How to get all the objects count and objects names in webpage using QTP ?

6 Answers  


Suppose i have a script which is having 100 lines.I want to execute that script starting from line no 75.means first qtp should read the script from line no 75 how can u do it.

5 Answers   Lehman Brothers, rsystems,


Categories