how to add run-time parameter to a datasheet?



how to add run-time parameter to a datasheet?..

Answer / chaitu

a = Datatable.GetSheet("SheetNmae").GetParameterCount
If a = "" Then
b = inputbox ("Enter the no.of columns")
For i = 1 to b
Datatable.GetSheet("sheetname").AddParameter
("paraname","paravalue")
Next
End If

Is This Answer Correct ?    7 Yes 2 No

Post New Answer

More QTP Interview Questions

hello everyone, can anybody please tell me what are the different recording modes of QTP, and where these recording modes are present in QTP 9.2. Thanks in advance, Gaytri

7 Answers  


How to find the name of the machine where you are running your automation scripts in qtp?

0 Answers  


How should i find out whether the cursor is moving horizantally. when tabbing continuously

2 Answers   Livetek,


whai is meant by automation testing?

6 Answers  


how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"

3 Answers   Aspire,






I am using "QTP 9.0" in my system, need to install java add-ins to test the java based applications, please prvide information from where i can get those java add-ins for QTP 9.0

0 Answers   Infosys,


How to change the run-time value of a property for an object?

3 Answers   Crea,


how do u plan test automation?

0 Answers  


wt is automation framework? give explonation?

1 Answers   Mindlance,


I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

0 Answers   Adea Solutions,


what is the present location of nageshwara rao's institute in hydrabad along with institute phone no. and name of institute.He has shifted from S.R Nagar.

3 Answers  


I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

0 Answers   Wipro,


Categories