Jump to content
ChetanaSforum
Sign in to follow this  
castaway

(FAQ) AUTOMATION TESTING - FEW FAQ

Recommended Posts

Add if you want to add QUESTIONS to this !

OR any extra points to this answers u can add!!!

What is the file extension of the code file & object repository file in QTP ?

 

File extension of

-- Per test object rep :- filename.mtr

-- Shared Oject rep :- filename.tsr

Code file extension id script.mts

 

Explain the concept of object repository & how QTP recognises objects ?

 

Object Repository: displays a tree of all objects in the current component or in the current action or entire test( depending on the object repository mode you selected). we can view or modify the test object description of any test object in the repository or to add new objects to the repository. Quicktest learns the default property values and determines in which test object class it fits.If it is not enough it adds assistive properties, one by one to the description until it has compiled the unique description.If no assistive properties are available, then it adds a special Ordianl identifier such as objects location onthe page or in the source code.

 

What are the properties you would use for identifying a browser & page when using descriptive programming ?

 

"name" would be another property apart from "title" that we can use. OR We can also use the property "micClass". ex: Browser("micClass:=browser").page("micClass:=page")....

 

What are the different scripting languages you could use when working with QTP ?

 

Visual Basic (VB), XML, JavaScript, Java, HTML

 

Explain the keyword createobject with an example ?

 

Creates and returns a reference to an Automation object

syntax: CreateObject(servername.typename [, location])

Arguments

servername: Required. The name of the application providing the object.

typename : Required. The type or class of the object to create.

location : Optional. The name of the network server where the object is to be created.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×