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

In Qtp , an error stating that "Information cannot be retrieved for the selected object" is getting displayed for some objects

In Qtp , an error stating that "Information cannot be retrieved for the selected object" is getting displayed for some objects. What is the reason and how to proceed. I have tried Re-Associating OR, But still it is not showing the objects in the OR
user2322726
0
votes
1 answer

Using QTP in Multi-tier Environment

We have a system A and a system B, connected by system O. System O help to convert data between System A and System B. Till now I used to manually Test this evnironment like this: Step 1. Trigger data from System A, check system A ports such that…
kishoredbn
  • 2,007
  • 4
  • 28
  • 47
0
votes
1 answer

QTP Installer code for windows application

I am working on QTP automation systems. I need to write custom code in order to pick an Installer for my application and run the same. Can any one help me to guide with code snippet that I should write in order that: The code should be able to pick…
Rishi
  • 1
  • 1
0
votes
3 answers

Document Not Saved Error in Excel

This is my code snippet for comparing 2 excel files. I call this function from my QTP scripts. I get this error quite often which causes my test script to fail. Any pointers will be appreciated. Set objExcel =…
Sowmya
  • 1
  • 1
0
votes
2 answers

My test script is not finding items in dynamic web list control - list in code not updated with current info

I am having a problem in QTP with selection of a web list box and I have exhausted what I know to do to resolve it. I am hoping someone can help. There are 5 controls in a container, 2 webedit controls and 3 weblist controls. Together, they allow…
E B
  • 1
  • 1
0
votes
2 answers

how to click on WebArea from QTP ?

In My test I want to click on object of Type WebArea which opens a webelement popup includes some fields that i need to test. the problem that the popup not open after I click on WebArea object through the code. the code I use as below.…
Manaysah
  • 375
  • 5
  • 15
  • 29
0
votes
1 answer

Need to add a node at a specific position in XML in QTP

I need to add a node at a specific position. please check the example…
0
votes
2 answers

how to integrate HP QC 9.2 with HP QTP 11.0 on different machine

i am trying to integrate QC 9.2 with QTP 11.0. The QC 9.2 is installed on my local machine and QTP 11.0 is at some other remote machine. I want my QC to be able to communicate with QTP 11 to run the test scripts. Please help me with this and please…
user443208
  • 35
  • 1
  • 1
  • 8
0
votes
1 answer

How to parameterize a link object/element in QTP?

Please give me a hint how to parameterize a link element in QTP...As we can parameterize 'WebEdit' element/object ,can we parameterize 'Link' element/object and how can we?
0
votes
1 answer

objectspy issue of web button on a look up- dialogbox

when i try to object spy a particular look up window my system hangs up completely for eg :-Set strSubWindow = Browser("title:="&strBrowserName).Window("text:=Lookup - BIC - - Web Fx -- Webpage Dialog").Page("title:=Lookup - BIC - Web Fx") Assume…
tjshah050291
  • 71
  • 1
  • 2
  • 9
0
votes
2 answers

Populating data from Excel in qtp from only 1 column

I want to capture only 1 column from excel file and put all the data in a Test box like AAAAAA BBBBBB CCCCCC DDDDDD EEEEEE FFFFFF and click on the save button, this data AAA,BBB etc. is in a excel sheet column I want to import it in a text box of a…
Uska
  • 65
  • 1
  • 6
  • 14
0
votes
1 answer

How to use winobject withouch mouse pixels

Browser("Echo'Net - Home_2").WinObject("DirectUIHWND").Click 743,22 I the object identified here as winobject ,has two buttons has 2 buttons open and save I need to click on one of them but without specifying mouse pixels Is there any simple way…
tjshah050291
  • 71
  • 1
  • 2
  • 9
0
votes
1 answer

How to detect failure/error in a test report/log in QTP

In QTP, I often report back to the log whenever critical parts of a test either pass or fail. I use the method: Reporter.ReportEvent micPass, "Critical Area of Test", "Things went better than expected" I would like to detect whether there have been…
Michael Innes
  • 2,045
  • 5
  • 25
  • 41
0
votes
1 answer

How to find out if a link is disabled using QTP

Is there a way to find if a link is disabled in QTP? for textboxs and buttons it is easy, we can use GetROProperty and then give the property as disabled or ediable, etc. But in the case of links there is no such property which can show that it is…
Tom
  • 411
  • 12
  • 28
0
votes
1 answer

How to use QTP repository objects site-wide?

Is there a way to use objects in the QTP object repository on any page without binding them to certain page? Here is an example: I have a website with top level navigation (Home, Archive, Forum, About, Contact). QTP stores these links in the object…
finspin
  • 4,021
  • 6
  • 38
  • 66