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
5
votes
1 answer

wait and synchronization in qtp

What is the Difference between wait and synchronization function in QTP. And also please give an idea about what situation wait function can be used , and the situation synchronization function can be used. Please help me out.
Nikhil Surendran
  • 956
  • 4
  • 14
  • 25
5
votes
2 answers

QTP Web extensibilty toolkit and ajax

I'm trying to test using QTP a web app that is using ajax4jsf to implement the ajax features. QTP doesn't have the ability to recognize when the ajax had finished. I've read that the web extensibility toolkit that is provided with QTP 9.5 and QTP 10…
Eldad
4
votes
1 answer

Running Quicktest Pro tests from maven/Jenkins?

I need to leverage Quicktest Pro from our Maven/Jenkins builds. I know, I know QTP is not the best tool out there (I'm amused by the "bag of flaming dog poo" reference), but our QE team is using it and I want to run some of their tests in…
Jared
  • 1,887
  • 3
  • 20
  • 45
4
votes
1 answer

Is there any way to improve QTP’s debug engine like it was possible in QTP 9.2 with pdm.dll?

in this article described how to improve QTP’s debug engine Is there anything possible for QTP 10 and QTP 11? Thank you!
vmg
  • 9,920
  • 13
  • 61
  • 90
4
votes
1 answer

Is it safe to delete the Snapshots folders from QTP tests?

In a given test's folder, there is the following structure: Action0 ->Snapshots ->->Lots of *.pngs, *.htmls, etc. . . . ActionN What are the snapshots used for? From what I've seen at http://www.geekinterview.com/question_details/46983, they're used…
Riddari
  • 1,713
  • 3
  • 26
  • 57
4
votes
1 answer

QTP: Object Required errors when Object is valid

I have the following VBScript in a reusable action: 'Gather links Browser("1").Navigate "http://InternalWebmail/something/inbox.nsf" set oDesc = Description.Create() oDesc("micclass").Value = "Link" set links =…
tsilb
  • 7,977
  • 13
  • 71
  • 98
4
votes
2 answers

UFT VBS Two functions same name, how do specify which one

I have a function DetermineTree() in a function library called Explorer.vbs and another function with the same name, DetermineTree(), in Datasheets.vbs. From my Action I am calling a function that will eventually call DetermineTree(). I want to…
Alvaromon
  • 190
  • 2
  • 16
4
votes
8 answers

QuickTest Pro automated testing

I have three easy questions. Does anybody use QuickTest Pro for automated testing? Any other automated testing applications that you recommend? Is automated testing a good idea? Thanks
Dan R.
  • 221
  • 5
  • 19
4
votes
1 answer

How can I get the handle of the IE tab that has focus?

Does anyone know of a way to get the handle of the IE tab that has current focus using vbscript? I'm trying to do some Automation using HP-UFT and need to get the handle of the tab that has focus so I can close it. UFT treats each tab as it's own…
Talen Kylon
  • 1,908
  • 7
  • 32
  • 60
4
votes
12 answers

Wait() function in QTP

Can any body suggest me a function which I can use in QTP for following scenario... As sometimes page navigation take times due to which our script shows an error. For that we use the wait(time) function, but it is a fixed time for which the QTP…
galstar
  • 51
  • 1
  • 1
  • 3
4
votes
2 answers

How to convert many thousands of lines of VBScript to C#?

I have a collection of about 10,000 small VBScript programs (50-100 lines each) and a small collection of larger ones, and I'm looking for a way to convert them to C# without resorting to by-hand transliteration. The programs are automated test…
Ross Patterson
  • 9,527
  • 33
  • 48
4
votes
1 answer

Passing test parameters from .vbs to QTP test

How can I get test parameters from a .vbs file that kicks off my test in QTP? I am able to run my test from the .vbs file without any input parameters just fine, but I can't seem to find a way to get my parameters from the file to the test. Here is…
Nick L
  • 281
  • 1
  • 6
  • 18
4
votes
1 answer

What is the working of Browser and Page in QTP/UFT?

I always get a doubt that: What exactly is the difference between the working of Browser and Page. I know it is a hierarchy and that stuff, but how does the tool differentiates the browser and page and what is use of having both of them. For…
explorer
  • 127
  • 2
  • 3
  • 13
4
votes
1 answer

QTP is Not able to Click on OK button of Window popup when the VM is minimised

I am executing the QTP scripts from Virtual mechine. QTP is not able to click on OK button of Window pop-up when VM is minimised. below is the code If Browser("name:=.*").Dialog("text:=Message from webpage","nativeclass:=#32770").Exist(50) Then …
user3489895
  • 41
  • 1
  • 3
4
votes
3 answers

Execute QTP TestSet from REST

Does anyone have an xml block that will kick off a testset (curl example would be great)? The REST documentation in HP-ALM does not show how to execute a testset from REST. There is a description of how to create a defect. The secondary problem is…
bbyrd
  • 41
  • 4