What is smart identification?
Answers were Sorted based on User's Feedback
Answer / vijay
Smart identification:The object identifier identify(object
spy) the objects by default if QTP fails to identify the
objects then we will go for smart identification.we
configure the samrt identification setting from the setting
options.if you fail to identify objects with
smartidentifier finally u go for ordinal identifier, there
u can have object index,created date and location.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Hi guys, Our company has started to automate testing and started using the tool QTP.Iam new to QTP and I have the following questions to ask. Would appreciate if anyone could give me a hand on this and explain things in a detailed way. [1] Bugs outside checkpoints: I know that I can easily make the QTP do what I want inside the application. Also, I know that I can insert some checkpoints and that the qtp will notice if those conditions are not met. However, there are bugs and problems that might not be connected to a checkpoint (system crash, database error, losing session/logout etc.); how can I make sure that the QTP will notice such problems as well and flag a test as failed. [2] How to tell the QTP that when a particular statement is "false",it should flag it as, test failed and show in in the test report. In short how to tell the qtp that a test is false from the script so that it shows it in the report For Eg:- if(true) test passed // how to instruct qtp else test failed // how to instruct qtp [3] Test script portability: we are having several environments; If I record a test on User Interface, obviously, the qtp will save the URL; however, how can I make the qtp run the tests so that the url is provided dynamically. Is there a possibility to parameterize the web server.Is this the way to do it.I dont know? [4] Test management: How do I manage the tests? I guess we will be doing it in Quality Center, yet, it’s not perfectly clear to me how we will be doing that. [5] Running scheduled test sets: How do I group tests to a certain test set? How can I make this test set run at a predefined time? [6] Test maintenance: What do we need to do beforehand in order to enable for easy test maintenance, meaning small adjustments in tests? [7] Reports: What kind of reports on test results are available (either QTP or Quality Center)? Thanks in advance and hoping for an answer. Jen
Diff B/w Webserver and Client Server
describe some problems that u had with automating testing tool?
How do Parameterization and Data-Driving relate to each other in QTP?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
Explain the qtp test phases.
What is difference between shared and local object repository?
Write a script to customize the test results in PDF and HTML format.
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
Is QTP Object Oriented language or Object Based language? What are the OOPS concepts it will support? Why it wont support all the OOPS concepts?
What is recovery scenario in qtp?
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma