how to parameterise a test with data base table or excel
sheet?
Answer Posted / neeraja
First get that data into the datatable of QTP and we can
parameterise it three ways
1 Through Keyword view of test pane
2 Through wizard
3 dires\ctly we can write this method
datatable("column name",sheetid)
ex:
datatable("a",1) for global sheet
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to connect to a database?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
What are the differences between qtp and winrunner?
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
banking domain description for software tester for interview
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
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
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
Where we can use the analog mode and where we can use the low – level mode?
What are the benefits of qtp?
How do you convert manual test cases to automated test cases?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
How many lines of code in each script of QTP?