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 function to read the items from Combobox of Flight Reservation application and save in excel.

5 Answers  


What is the difference between Accessibility Checkpoint and Bitmap Checkpoint in QTP? Note: I have read it in QTP help but i dont want answer from that.......

1 Answers  


What type of error u will get if u have not installed java add in in java project? what is the error name ?

1 Answers   Verizon,


How to Synchronize the Browser at Field level? For example if you put Browser.sync(), it will wait upto for that Browser sync only. But It should wait upto total Browser get uploaded with all fields. Note : We don't know Which fields will come in that Browser. Means without knowing field names.

1 Answers   HP,


Tell me about userdefined functions ?

1 Answers  






What are the different properties of an web object

0 Answers  


How to build scripts that access data from external sources?

0 Answers  


How to take screen shot of desktop by using vb script code or is there any method?

1 Answers  


Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.

4 Answers  


what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?

2 Answers  


What are the different types of recording modes?

0 Answers  


Who uses qtp tool?

0 Answers  


Categories