Dim your variables. Declared variables are faster than variables that are not declared. Once a variable is declared it is assigned an ord...
Showing posts with label QTP. Show all posts
Showing posts with label QTP. Show all posts
Four Different Ways to Associate Function Libraries to QTP Scripts
Most of the times, when you are creating test scripts or are designing a new QTP Framework, you would be trying to come up with reusable fu...
How to get all link names on the Browser using QTP?
Answered By: A Maheswara Rao Set oLinkDesc = Description.Create() oLinkDesc("html tag").Value = "A" Set nLinksCol...
How to retrieve data from database using QTP?
Dim objConnection 'Set Adodb Connection Object Set objConnection = CreateObject("ADODB.Connection") Dim objRecord...
What are the Advantages of Automation Testing ?
Fast: Runs tests significantly faster than human users. Reliable: Tests perform precisely the same operations each time they are run, t...
Types of Recording Modes in QTP?
Normal Recording Navigation: - Automation-->Record This recording mode is the default recording mode. Normal recording mode records...
Difference Between Normal, Analog and LowLevel Recordings ?
Normal Recording Records Object information based on test object model. Records Keyboard i/p’s and Records Mouse Clicks. Object Informa...
What are the QTP License Types ?
To work with QTP we should always require a license. When you install QTP, by default it will provide a 30 day demo license (For QTP 11). ...
What is Object Repository in QTP and How it works ?
It is the place where the object information will store. In this you can see all objects properties and you can add, edit, modify and del...
What is Local Object Repository in QTP and How it works ?
There are two types of repository available in QTP. Local repository (.MTR extension) Shared repository(.TSR extension) Local Reposit...
What is Shared Object Repository In QTP and How it works?
Shared Object Repository: Shared Object Repository has to be created manually and we can associate to the multiple actions in different T...
What is Object Spy? How it works ?
Navigation: - Tools --> object spy Using the Object Spy, you can view the run-time or test object properties and methods of any object...
What is Object Identification in QTP and How It Works ?
When you add or record any Object from the application, QuickTest "looks" at the object on which you are recording and stores it...
What is Smart Identification in QTP and How It Works?
Smart Identification When QuickTest uses the recorded description to identify an object, it searches for an object that matches every on...
What is the use of 'On Error Resume Next' in QTP?
On many occasions, the execution has stopped if any error occurs during execution. But in some cases, we wanted to continue the execution...
What is Option Explicit and How to Use It?
Option Explicit: The Option Explicit statement forces the explicit declaration of all variables using the Dim, Private, Public, or ReDim...