How Does Run time data (Parameterization) is handled in QTP?

Answer Posted / gyanesh ranjan rout

Parameterization is nothing but giving multiple input/test
data. In QTP i/p data can be given in 4 ways:
1.Input through keyboard
2.Input through notepad
3.Input through Excel Sheet:a.Global Sheet b.Action Sheet
4.Input through database i.e importing data from database
5.Through Environment Variable.
6.Through Random Number.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next

1338


If I change the property value at runtime is it effect is object repository?

610


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

633


what is impact analysis on regression testing?

2049


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

1637






I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",

1355


how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief

1540


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

1403


Write a script to verify font style and color of a windows object using descriptive programming

837


How many types of recording modes are there?

598


How to handle dynamic objects in quicktest professional (qtp)?

547


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

534


what are the utilities and drivers

1847


Explain the difference between call to action and copy action?

523


How the smart identification is used in real time?Please explain with an example

1549