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

Hi Friends, I have an application that is having some options to choose. While doing business transaction I need to select one option among from available options. But here the thing is, we won't get one option which we've chosen already and the available options will get automatically from the system with time basis, moreover each and every option having with various label names respective to that option. So obviously if I run my recorded script will automatically gets fail, even though it got pass at first time. Could anyone please give me appropriate solution for this. I would be greatly obliged with you if you give the solution as soon as possible.

1 Answers   Zensar,


How u perform exception handling in QTp,what is other name for ths

1 Answers   Lehman Brothers,


what is a active x control?can any one brief me about active x controls

1 Answers  


I have given u a application.To automate it what are the things will u consider?

4 Answers   Wipro,


Please Clarify if smartidentfication is used at runtime when qtp does not recogonize the objects

3 Answers   Ordain Solutions,






any challange that faced in your project? (please give me some examples in your project?

1 Answers  


How should i get name of the screen? Ex:There is a "submit" button.If i clicked on the submit button it opens a screen. I want that screen name.How can i get that screen name I dont have any property regarding that screen. If suppose we cliked on the screen , Then QTP captures the screen properties then i can get the screen name by using GETROPROPERTY But i want the screen name without clicking the screen. ("I am using the "settoproperty" for Second screen by using fist screen properties") Please tell me anyone

3 Answers   Livetek,


how to disable the pop ups through QTP using a script

0 Answers  


how u test a frame in a web page using QTP?

1 Answers   Accenture, IBM,


what r the executing modes in QTP

2 Answers  


If a script has a local repository and also uses a shared repository, which repository will QTP use first when searching for an object during playback?

3 Answers  


Is it possible to call win runner script in qtp?

0 Answers  


Categories