what is the difference between an Action and a function in
real time
Answer Posted / hemant kumar
Well dude, the obvious and prominent difference between an
action and a function is, you can record in an action
however; you can't record in a function. Though you write
code in user defined function and put that into an action or
vice-verse, it works both ways.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to handle the exceptions using the recovery scenario manager in qtp?
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 to check feasibility of the appliction?in automation testing?
What are the views available in quicktest professional (qtp)?
Explain step generator in qtp?
Why bpt?
Can I change properties of a test object?
Can we Test Welcome Screens and Process Images with QTP
Step 3&4 are repeated until an the object in recognised uniquely.
Explain qtp(quick test professional)?
How can I change object description or check point values in qtp?
could any help me please, how to work on visual foxpro application using UFT
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
What are private functions in QTP? How they can be called from the function library?
how to download mercury qtp9.2 ny internet ?