Answer Posted / sreeprasad
Smart identification comes into picture when Quick Test
fails to recognize an object uniquely using the recorded
properties. It follows the following process to identify
the object:
1). QuickTest ?forgets? the recorded test object
description and creates a new object candidate list
containing the objects (within the object?s parent object)
that match all of the properties defined in the base filter
property list.
2). From that list of objects, QuickTest filters out any
object that does not match the first property listed in the
Optional Filter Properties list. The remaining objects
become the new object candidate list.
3). If the new object candidate list contains more than one
object, then step 2 is repeated with the second property
listed in Optional Filter Properties list.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the use of an object spy tool in qtp?
what type of run time errors you get while you ar edoing rpg program?
How can you identify the browser and its information using QTP script?
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
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 execute a winrunner script in quicktest professional?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
How to handle the exceptions using recovery secnario manager in quicktest professional?
What are the steps involved in recovery scenario wizard?
terminal services client
Can we run test with out adding object in object repository? How it is possible?
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
How to build scripts that access data from external sources?