Professional Documents
Culture Documents
Environment variables are global variables that we can use from number of tests
commonly.
Whenever we want to use some variables from number of tests, instead of declaring
as local variables, if we use environment variables concept then maintenance will be
easy.
Incase of dynamic programming Tests generation is easy and maintenance also very
easy.
11) How many folders are created in one Test creation in QTP?
13) What are the Properties you use for identifying a Browser, a Page when
using descriptive programming?
14) How do you measure Transaction Time in QTP other than Using of Start
and End Transaction Points?
15) what is the Deference between Recovery Scenario and "On Error
Resume Next"?
1) Both are for handling Error events, Recovery Scenario is a QTP Tool feature,
whereas "On Error Resume Next" is a VB Script feature
2) "On Error Resume Next" is used when we are sure about the step where the error
can occur. Recovery Scenario can be used to handle unexpected event or error.
********************************************************
On Error Statement (Visual Basic)
Enables an error-handling routine and specifies the location of the routine within a
procedure; can also be used to disable an error-handling routine.
Without an On Error statement, any run-time error that occurs is fatal: an error
message is displayed, and execution stops.
Whenever possible, we suggest you use structured exception handling in your code,
rather than resorting to unstructured exception handling and the On Error
statement.
QTP Automation Object model deals with Automation of QTP itself. Almost all
configuration and functionality provided by QTP is represented by QTP's Automation
Object Model . Almost all dialog boxes in QTP have a corresponding automation
object which can set or retrieved using the corresponding properties or methods in
the Automation Object Model.QTP Automation Objects can be used along with
standard VB programming elements like iterative loops or conditional statements to
help you design a script of choice
17) What is Test Fusion Report ?
Test Fusion Report , displays all aspects of a test run and is organized in a Tree
format.
It gives details of each step executed for all iterations.
It also gives Run-time data table, Screen shots and movie of the test run if opted.
19) What is the Difference between Bitmap Check point & Image Check
point?
20) How would you export a Script from one PC to another in QTP ?
No. You can work with only single instance of QTP on the same machine. But QTP
itself can work on multiple instances of the Application Under Test (AUT). Ex: QTP
can handle multiple IE browser windows.
World Wide Web Consortium (W3C) came up with some instructions and
guidelines for Web-based technology and information systems to make it easy for
the disabled to access the web. For example the standards make it mandatory to
have an 'alt text' for an image. So a blind person who is accessing the website, will
use text - to -speech converters and atleast understand what the image is about if
not see it. All these standards are checked by Accessibility Checkpoints.
For example, a dog is an object. Its properties might include long white hair, blue
eyes, 3 pounds weight etc. Its methods might be move, jump, play, breath etc.