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

anyone can explain about "Hybrid framework" in QTP

5 Answers  


what is the difference between ClassName and class in QTP?

3 Answers  


What are objects? how do you select the unknow object?

3 Answers  


Can we run multiple QTP scripts one after the other without manual intervention? How?

0 Answers  


one page contain next button.when we enter that its not going to next page.what type of error that one.

3 Answers   TCS,






How to export quicktest professional (qtp) results to an .xls file?

0 Answers  


What is meant by Output Value in UFT?

0 Answers  


Which scripting language used by quicktest professional?

0 Answers  


I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.

0 Answers  


How we can import data from database?

0 Answers  


Hi, Plz give best Definition of Software Testing? Why we need Software Testing? and plz send 2+yrs experience Interview qutions (Manual,Qtp).

1 Answers  


Inserting a Call to Action is not Importing all columns in Datatable of globalsheet. Why?

3 Answers  


Categories