1) What is Output & Co-relation in QTP2) Explain Smart identification in QTP3) How do you handle exceptional handling in QTP4) What is object repository ? explain different types of object repositoryPlease send the answers as early as possibleRegardsM.Tagare

Showing Answers 1 - 4 of 4 Answers

kvvsatish

  • Aug 1st, 2006
 

Smart Identification:

QTP generally identifies an object by matching its test object and run time
object properties. But identification of dynamic objects whose properties change during run time is done through enabling Smart Identification.
If QuickTest is unable to find any object that matches the recorded object description, or if it finds more than one object that fits the description,
then QuickTest ignores the recorded description, and uses the Smart Identification mechanism to try to identify the object.

Exception Handling:This is done using recovery scenarios and On error resume next
The following code catches the division by zero error.

On error resume next
Dim i,j,k
i=0
j=8
k=j/i
MsgBox ("Error # " & CStr(Err.Number) & " " & Err.Description )

Object Repository(OR):
It is the place where the objects reside.
Two types of OR are present
Per Action:The OR is seperate for each Action
Per Shared:The OR is shared between various Actions stored at a seperate place

  Was this answer useful?  Yes

Nimisha Gaur

  • Mar 16th, 2007
 

Exceptional handling in qtp names asRecovery senario manager.they are of 4
 types:

1)object
2)popup
3)Test run error
4)Application Crash

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions