| Q. Explain the concept of object repository & how QTP recognises objects? | |
|
|
|
Q. What are the properties you would use for identifying a browser & page when using descriptive programming ? |
|
|
A. "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").... |
|
| Q. What are the different scripting languages you could use when working with QTP ? | |
| A. Visual Basic (VB),XML,JavaScript,Java,HTML | |
| Q. Few basic questions on commonly used Excel VBA functions. | |
|
A. common functions are:
Coloring the cell Auto fit cell setting navigation from link in one cell to other saving |
|
|
Q. Explain the keyword createobject with an example. |
|
|
A. 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. |