Sunday, 13 September 2015

QTP FAQ-4


  1. 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

  1. 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

  1. What are the limitations of QTP?
QTP does not support Flash

  1. Does QuickTest have any debugging capabilities?
Yes
  1. What are the environments supported by QTP?

Windows Applications
(MFC)
• Visual Basic
• Java
• ActiveX
Enterprise Applications
• 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









  1. 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

  1. What are the different types of recording?
There are three types of recording in Quick Test
            Standard Recording
            Analog Recording
            Low-Level Recording

  1. 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
           
  1. How to record on non standard menus?
Record using Analog mode and Low-Level mode

  1. How can I record on objects or environments not supported by QuickTest?
By creating Virtual Object and Perform Analog recording on those objects

  1. 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
  1. 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.

  1. 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:
·         for a progress bar to reach 100%
·         for a status message to appear
·         for a button to become enabled
·         for a window or pop-up message to open

  1. What are the different types of views available in QTP?
Keyword View
Expert View
  1. 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

  1. Why do we use ‘SPY’?
SPY is used to view the Properties and the Methods of the Object in the application

  1. 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

  1. 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.
Choose the View/Add Object option from the Active Screen.
Insert a step in your test or component for a selected object from the Active Screen.

  1. 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

  1. 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.

Blog Archive