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

How to return a value from a fn, if it has more than one value how to return

3 Answers   Verizon,


How to capture all the data of a webtable, weblist and combolist using QTP?

1 Answers   ITC Infotech,


Explain QTP Testing process ?

13 Answers   TCS,


How does qtp recognize objects in aut?

1 Answers  


Hi All, How to Compare two strings character by character in QTP

1 Answers  


iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com

1 Answers  


Can I import a excel sheet in Action1 datatable? How?

2 Answers   IBM,


HI. Plz Clarifie my doubt,having 2+yrs experience in Testing , But My accedamics(Xth,INTER) are Less than 60%, But B.Tech 72%. It creats any problem , When i change to any MNC. plz tell me......... lot of friends told it's a problem, Some people says NO problem, What .............

3 Answers  


can we call a test in another test?

3 Answers   iFocus,


pls tell me different type of automation frame works in QTP and which one need to select in client server application

7 Answers   Syntel,


In a Web appl, on a page, there are student names & details listed.On clicking sort button,details are sorted on Names.How do u verify htat sorting is done by using QTP?

1 Answers   IBM,


What is keyword view?

1 Answers  


Categories