- Why do we need
Automation?
Automation used when:
To speed up the testing process
To reduce the human errors
To Maintain the Test to reuse
- What are the advantages of QTP when
compared with other functional automation tools?
QTP is an Advanced Keyword Driven Testing.
The Action Parameters allow you to generalize the testing actions
for greater reusability
It supports ERP/CRM, .NET, Web Services and Multimedia
It contains an Active Screen which gives the snapshot of the
application
It supports the languages such as European, Japanese, Chinese, and
Korean
- What are the limitations of QTP?
QTP does not support Flash
- Does QuickTest have any debugging
capabilities?
Yes
- What are the environments supported by
QTP?
Windows Applications
(MFC)
• Visual Basic
• Java
• ActiveX
|
• SAP
• Oracle
• PeopleSoft
• Siebel
|
Web Technologies
HTML
• DHTML
• JavaScript
|
Browsers
IE
• Netscape
• AOL
|
Emerging Technologies
• .Net Win forms,
Web forms, Web services
• J2EE Web services
• XML, WSDL, UDDI
|
Terminal Emulators
• 3270
• 5250
• VT100
|
Server Technologies
• Oracle
• Microsoft
• IBM
• BEA
• ODBC
• COM/COM+
|
Multimedia
• RealAudio/Real Video
• Windows Media Player
• Flash
|
Languages
• European
• Japanese
• Chinese (traditional and
simplified)
• Korean
|
- Explain Testing Life Cycle
Identify the objects to the Object Repository
Identify the Reusable Actions
Identify the Functions
Author the Script for the testing
Enhance the Script based on the Requirements
Debug the Test
Run the Test
Analyze the Results
Report the Defects
- What are the different types of
recording?
There
are three types of recording in Quick Test
Standard Recording
Analog Recording
Low-Level Recording
- Differences between analog and low-level
recordings?
Analog
Recording
Records the Exact mouse movements
and the keyboard operations
Records with respect to Screen and
Window
Generates a single statement called
a Track in the test script
We cannot edit the steps in the
Analog recording
Low-Level
Recording
Records all the Run time object as
Win Object
Records on any object whether QTP
identifies or not
- How to record on non standard menus?
Record
using Analog mode and Low-Level mode
- How can I record on objects or
environments not supported by QuickTest?
By
creating Virtual Object and Perform Analog recording on those objects
- What is the Syntax for an Exist sync
statement?
Object.
Exist (Timeout)
Example:
If
Browser ("Mercury
Tours").Exist Then
MsgBox "The browser exists."
End
If
- What is the diff between Wait () and Exist
()?
You can enter Exist and/or Wait statements
to instruct QuickTest to wait for a window to open or an object to appear.
Exist statements return a Boolean value indicating whether or not an object
currently exists. Wait statements instruct QuickTest to wait a specified amount
of time before proceeding to the next step. You can combine these statements
within a loop to instruct QuickTest to wait until the object exists before
continuing with the test or component.
- Why do you need synchronization and
explain how global synchronization is implemented?
When you run a test or
component, your application may not always respond with the same speed. For
example, it might take a few seconds:
- What are the different types of views
available in QTP?
Keyword
View
Expert
View
- What are mandatory properties?
Mandatory
provides unique identification of the objects. The default properties are also
called as the Mandatory properties. For example the default properties for the
Web Image Object are alt, html tag and image type
- Why do we use ‘SPY’?
SPY
is used to view the Properties and the Methods of the Object in the application
- How to change the logical name of a Test
Object?
The
Logical name is the name of the object that QTP identified in the application.
Right
click on the Object name and select “Rename” to rename the logical name of the
object
- How many ways you can add object in
repository?
Use the Add Objects
option in the Object Repository dialog box. You can add any object as a single
object or a parent object, along with all its children.
- What is the use of active screen at
least 3 uses?
Active
screen is used to show the snapshot of the application
To
insert the Check Points we can use the Active screen
To
view the Source
To
add the objects to the object repository
- Can I store functions and subroutines in
a function library
Yes
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.