in which case & which method we can use "native" property of
an object ?
Answer Posted / pankaj jaju
There are times when QTP doesn't give you "ready-made"
functions/methods/properties which you may need in your
automation scripts. One simple example is, to know the
selected row in a java table, you would have to use native
object. For e.g., <javatableobject>.Object.getSelectedRow
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
How to handle Java tree in QTP?
Explain how to use QTP to check broken links on a page?
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
diff between qtp versions from 8.5
Name the properties you would use for identifying a browser and page when using descriptive programming?
What do you mean by iteration?
What is the parameterization?
What is regular expression?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
What is the difference between a Function and Procedure in QTP?
distinguish between old version and new version QTP features.
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 is recording done when a application is over lapping the QTP application it gives a message object not recorded
Define Environment Variable in UFT and its uses?