Answer Posted / nagavishala.ch
In three ways we can parameterize the data in QTP
the first way is using Data Driven
Second way is using Keyword View
the third way is by directly give the variable names
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
how to evalute defects in QTP script?
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
How can you exit from an action?
What is QTP’s model for test creation?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak
Define Environment Variable in UFT and its uses?
How many types of parameters are available in quicktest professional (qtp)?
How do you perform Regreession Testing?
What is an optional step in qtp ?
How do you open adobe acrobat file in QTP and do some testing on that file ?
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
What are the advantages of Object Repository?