Explain the concept of how QTP identifies object.

Answer Posted / sreeprasad

During recording qtp looks at the object and stores it as

test object.For each test object QT learns a set of default

properties called mandatory properties,and look at the rest

of the objects to check whether this properties are enough

to uniquely identify the object. During test run,QT

searches for the run time obkects that matches with the

test object it learned while recording.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is a Step generator used in UFT?

660


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

1334


What is the qtp testing process?

596


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

614


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

566






How to run a test using quicktest professional (qtp)?

544


How to data driven test for Win objects in QTP ?

1475


Can U Explain about QTP tool from older version to latest version also its differences?

1516


Explain types of descriptive programming?

591


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

1712


Give me some real time point of way where exactly we can conduct audits?

1501


What are table and db checkpoints?

588


In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

1441


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1351


Explain different types of checkpoints?

562