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

i'm using QTP 8.2, How should i select(browse) object repository from desktop(or from local local drives like C:\,D:\)?. Note:- object repository to select(browse) is been sent by some other person who is using QTP 9.0

1 Answers  


How to map Test cases to the script? Please do anwser urgently?Thanks

3 Answers  


What is an expert view and keyword view?

0 Answers  


how to parameterizing values from an excel sheet in Quick test professional?

1 Answers  


what is the frame work in J-meter?

0 Answers  






what is descriptiveprograming? how to do object identification thrugh Descriptive and is possible smart identification or not

5 Answers   Syntel,


How can we retrieve the links from a web page where links are dynamically changing(for eg take a online shopping website) and then we have to click on all the links present in the webpage and go to the repective pages and again come back to the first page..

2 Answers  


How do you return a value from a function

1 Answers  


What is the descriptive programming?

0 Answers  


how many script you will wright in a year ? i told it's depends on the proj..and 'n.no of ... but he forced me to tell some num. or avg .....how many i suppose to tell..??and do a favor per day how many script don't thing it's repeated question or common ...help me post a ans...thanks for advance

1 Answers   HCL,


Write a function which returns the addition of two numbers. give the value of the numbers outside the function.

3 Answers   SAP Labs,


Can we do Load Testing with QTP?

4 Answers  


Categories