how to add run-time parameter to a datasheet?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the properties you would use for identifying a browser and page when using descriptive programming?

628


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

1682


Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

1522


What is Associate Repository in QTP 9.2 ?

598


www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

1498






How you are developing the script? Using record and play back or manual?

631


what QTP Options do you know?

2924


Is virtual object supported in low level recording mode?

619


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1489


Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.

1372


explain structured testing? plz guys with exp. do answer

1409


Explain building blocks of the bpt framework ?

557


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3242


Can I change properties of a test object?

620


wht type of User defined functions or Java Releated functions do we write in VB scripting

1823