how to add a runtime parameter to a data sheet?

Answers were Sorted based on User's Feedback



how to add a runtime parameter to a data sheet?..

Answer / lakshman rao

Hi, Srinivas

I thought your miss guessed. Two ansewers are wrong ones
and question is too clear

My answer is by using "Add parameter" method we can done
this. please check out the example.

datatable.addsheet("lakshman").addparameter("column one
name","value")

09860054593

Is This Answer Correct ?    8 Yes 0 No

how to add a runtime parameter to a data sheet?..

Answer / raja83

hi i am not understanding your question clearly

1)you can pass datasheet value to test during run time
DataTable.SetCurrentRow(1)
var= Datatable.Value("Column Name","Sheet name")

2) you can write value to datasheet during run time
DataTable.SetCurrentRow(2)
Datatable.Value("Column Name","Sheet name") = Value

Is This Answer Correct ?    4 Yes 1 No

how to add a runtime parameter to a data sheet?..

Answer / b.venkateshwar

we can add runtime parameter to data sheet as follows
syntax:
Datatable.Gtglobalsheet.Addparameter("parameter name" ,
value)

Is This Answer Correct ?    3 Yes 1 No

how to add a runtime parameter to a data sheet?..

Answer / sricha

Login="Login Operation Successful"
Datatable("Parameter_Name",Sheet_Name) = Login

Is This Answer Correct ?    0 Yes 0 No

how to add a runtime parameter to a data sheet?..

Answer / mahendar

To add the runtime parameter to data table.
DataTabla.Addsheet("SheetName"). AddParameter("ParameterName";"Value")

Is This Answer Correct ?    0 Yes 0 No

how to add a runtime parameter to a data sheet?..

Answer / srinivas

Dear Raja First 1 is right ans.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

write a qtp code to display all the items in the fly from combo box or list box

3 Answers  


How to track the execution time?

2 Answers  


where is the bitmap checkpoint be saved

3 Answers  


what is file database

1 Answers   Wipro,


can we run the scripts of qtp 8.2 in the qtp7.0?

1 Answers  


What are the main features we have to compulsory test by using qtp in an web based application

1 Answers  


How to analyzing the checpoint results?

0 Answers  


How to watch currnet value of an object like OK buton or edit box with "Agent Name:" label. in watch expression tab?

2 Answers   Cap Gemini,


how to load vbs file to qtp through scripting. plz provide the code.....

2 Answers   IBM,


anyone can explain about "Hybrid framework" in QTP

5 Answers  


Hi all, i have installed QTP8.2 in my system. but script is not generating while recording. What is the problem? is any file missing? pls let me know anybody...Thnaks

3 Answers  


How can we use the "CreateObject ("Scripting.FileSystemObject")" in QTP and what is the definition and purpose of it?

2 Answers  


Categories