Questions tagged [qtp]

QuickTest Professional (QTP) is a functional and regression test automation tool for software applications and environments.

QuickTest Professional (QTP) is a test automation tool by Micro Focus designed for testing software applications and environments. It performs functional and regression testing by manipulating a user interface such as a native GUI or web browser. It works by identifying the objects in the application user interface or a web page and performing desired operations (such as mouse clicks or keyboard events); it can also capture object properties like name or handler ID. QTP uses the VBScript scripting language to write the tests and to manipulate the objects and controls of the application under test.

In its latest versions it has been renamed to UFT (Unified Functional Testing) tagged as .

1590 questions
3
votes
1 answer

How to automate a Chrome extension with UFT

The new version of UFT 12.01 is supporting up to Chrome 36 when it comes to web content. What about Chrome´s extensions though? I read somewhere that they cannot be automated. From the other hand side, when I use developer tools (12) I can identify…
Pixie
  • 412
  • 1
  • 8
  • 26
3
votes
17 answers

What is descriptive programming (Programmatic Description) in QTP

What is descriptive programming in QTP?
lina
  • 63
  • 1
  • 1
  • 2
3
votes
1 answer

QTP Macro/keayboard shortcut

Is this possible in QTP 11 to set keyboard shortcut that will run macro - generate comment based on current selection. Example: Function FnGetString(param1, param2) 'some body End Function If I select name of function, I want to generate…
Artur Szwedo
  • 103
  • 1
  • 8
3
votes
3 answers

What is the functioning of fireevent() in HP QTP / UFT?

I am learning HP UFT. Recently I came across fireevent and I tried to implement it on the website of Flipkart. I was trying to use firevent("onmouseover") for the link Men on the homepage of the website. I used ChildObjects to find out the Link and…
explorer
  • 127
  • 2
  • 3
  • 13
3
votes
2 answers

Why does setting a USER environment variable take 12 seconds?

With the following code, I experience horrible runtime: Option Explicit Dim ShellEnvironment: Set ShellEnvironment=CreateObject ("WScript.Shell").Environment ("USER") Dim Name: Name="MyVar" Dim NewVal: NewVal="This is my…
TheBlastOne
  • 4,291
  • 3
  • 38
  • 72
3
votes
2 answers

IsEmpty or IsNull or IsNothing?

Can someone help me determine which I should be using? Here is the situation - I am pulling a value from a column in the Data Table. If there is anything in that column, I set the data to a variable and take an action. If the column is blank, I…
James Craig
  • 473
  • 3
  • 9
  • 22
3
votes
4 answers

How can we add multiple function library files in QTP

Say for eg., there are 20 vbs file in my frame work located at C:\LIBS\ I want to remove all already associated vbs file and add all 20 vbs present at above mentioned location. I tried to get all files using below code Set fso=…
Irfan Khan
  • 31
  • 1
  • 4
3
votes
2 answers

How do I call DotNetFactory from VBScript in a stand-alone .vbs file?

I've been exploring options for expanding my QuickTest Professional scripting capabilities, and came across this article this morning, so I decided to experiment a bit. The code below works fine when executed inside the QTP environment, but I could…
ssakl
  • 700
  • 2
  • 10
  • 23
3
votes
2 answers

How to create global variable in QTP to be used in all actions

Can someone tell me how do we define a variable in QTP which would store information at runtime in one action and then variable would be used in other actions from same test.
user2669118
  • 41
  • 1
  • 1
  • 5
3
votes
1 answer

Troubleshooting Web Extensibility Add-Ins In QTP 11.0

I am trying to get custom Web element types to show up under Object Identification using QTP 11.0 Web Extensibility Add-Ins. I have four files in my extension as shown at the end of the question. My problem is that none of the objects show up in…
allquixotic
  • 1,481
  • 2
  • 18
  • 37
3
votes
1 answer

How does UFT perform the Click method when using the Web Add In?

I am testing a highly javascript based application on Internet Explorer 8.0 with UFT 11.50. I would like to know how UFT implements the "Click" method under the hood when using the Web Add In. Does UFT send a windows mouse event? Does it fire an…
Diggs
  • 81
  • 1
  • 6
  • 11
3
votes
1 answer

Stringify a method call in VBScript

I'm currently working every day with QuickTest Professional 11, which uses VBScript behind the scenes. Lately, I've started developing some of my own functions to handle common situations. I'm pretty new to VBscript, most of my programming…
Patrick Collins
  • 10,306
  • 5
  • 30
  • 69
3
votes
2 answers

Java won't work (Possibly related to installing QTP)

I was working on eclipse two days ago, and closed it properly. Now, when I'm trying to start it, I get the splash screen popping for a blink of an eye, then disappearing. I get: no error message, and no error is logged in the…
Elist
  • 5,313
  • 3
  • 35
  • 73
3
votes
1 answer

ActiveX component cant create object: Mercury.ObjectRepositoryUtil

I created a VB script that converts the Object Repository file (.tsr) of QTP to XML and then to Excel. This Excel file format is configured via the VB script as well. It works well however, I am trying to run this on a new machine and I get an…
user2034602
  • 51
  • 1
  • 1
  • 6
3
votes
1 answer

Modifying Ordinal Identifier values in Object Repository - QTP

I created a simple form with html that had two objects (Edit Box - first name) with same properties (like name, Input, and others) one below other. And I recorded a action in the one of the edit boxes and object got added in Local object repository,…
user1925406
  • 713
  • 3
  • 15
  • 33