what is functions in qtp?i know the userdefind &bulit
funation or i know that Private public function ?plz tell
me what is funations in qtp?how to create a funation in qtp
Answer Posted / kamesh
Public function : Indicates that the Function procedure is
accessible to all other procedures(functions) in all
scripts.
Private function: Indicates that the Function procedure is
accessible only to other procedures(functions) in the
script where it is declared or if the function is a member
of a class,
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How to export quicktest professional results to an .xls file?
How can you close the second opened browser?
explain keyword driven framework with banking domain?
What is the pros and cons between QTP and Rational Robot
How many lines of code in each script of QTP?
Problem with XML checkpoint in QTP ?
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
Can we run test with out adding object in object repository? How it is possible?
Can we create a qtp test from qc?
How to define array in qtp?
How you can make an action as re-usable action?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
Describe how Smart Identification is used
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
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