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

Retrieve All the XPATH from an xml using Vbscript or

How can i retrieve all the valid XPATH from all these node? ----------------Sample XML---------------------
Sam
  • 543
  • 3
  • 10
  • 27
0
votes
1 answer

Images captured by capturebitmap in QTP are different on different machines

I use CaptureBitmap method to save images from IE to local then treat them with JAVA. I test my code on 2 machines in my office, it does well. But then, I copy it onto another one, the image captured by QTP is different, I don't know why, but the…
allenzzzxd
  • 331
  • 1
  • 10
  • 24
0
votes
1 answer

QTP: ActiveX can not create Object

I tried to connect to SA Api from Quick Test Professional. But it ran into an error and displays "ActiveX-Component cannot create an Object: "SAClient80MP.SAapi". Can anybody help me?
kk-dev11
  • 2,654
  • 5
  • 37
  • 48
0
votes
1 answer

QTP : Sendkey method with the combination of Ctrl key doesn't work

I wanted to use the short cut key in VBA scripting instead of clicking on the objects. So I used this code below ( ^F6 ) to press "ctrl+F6". But it didn't work and displays a syntax error. SAPGuiSession("Session").SAPGuiWindow("Aufteiler anlegen :…
kk-dev11
  • 2,654
  • 5
  • 37
  • 48
0
votes
1 answer

how to set value in noneditable editbox by using QTP

in my web application some of screen completely deal with Js framework we are doing Automation with QTP plz help me on below issue, Visualy weblist box if I click in that Edit box will activiate but it's completely Readonly+Non Editable if we click…
charu 123
  • 1
  • 1
0
votes
1 answer

QTP 11 Object Spy doesn't recognize any object below Browser.Page.WinObject

I recently switched from QTP 10 to 11 and now when I use Object Spy it doesn't recognize anything below Browser.Page.WinObject. Meaning it recognizes that there is a browser and it has a window, but it won't read buttons. links etc. Thanks for the…
Zzz
  • 2,927
  • 5
  • 36
  • 58
0
votes
1 answer

Strange but true - Works fine manually but fails in automated tool like QTP

I have windows file import method and applciation works fine if i click buttons manually but same code fails if i run my application using tools like QTP (Quick Test Professional) I have highlighted failing line in bold. […
kudlatiger
  • 3,028
  • 8
  • 48
  • 98
0
votes
2 answers

uploading defects in QC using Qtp

Is there a way to upload defects into QC without using QCUtil? because the following can be used only when writing it in a QTP test, it is not working when written in a vbs file or in vba . Dim QCConnection Set QCConnection = QCUtil.QCConnection…
Tom
  • 411
  • 12
  • 28
0
votes
1 answer

QTP, Is there anyway to make changes to all function libraries at once ?

is there anyway in QTP to make changes take place on all function libraries at once without having to go to each function library and make the update ? i have an issue with some functions, i have built new ones and i want to use them in my script.…
Manaysah
  • 375
  • 5
  • 15
  • 29
0
votes
2 answers

How can I update the shared Object repository in QTP?

Is there is any way to update shared OR(Object Repository) in QTP without having to copy all Objects into local then exporting. I have an issue that i want to update the Shared OR and I'm unable to do that. if any of you know....kindly help…
Manaysah
  • 375
  • 5
  • 15
  • 29
0
votes
1 answer

Using shortcut keys in Gmail through QuickTest Pro

When I'm in QTP and am automating a Gmail session a lot of the pages are dynamic. I need the line of code that will enable me to use keyboard shortcut keys within any of the gmail UI's.
0
votes
1 answer

automation using QTP tool

I m using the QTP tool to perform automation on wordaddin. I want to know how to identify the object by its properties and not by its coordinates. I m pasting the code here to describe my requirement Window("Microsoft Word…
neha
  • 9
  • 1
0
votes
1 answer

issue with running recovery scenario in QTP through code

I've written the following code for attaching my recovery scenario with scrpit during run time. It is as follows: Dim App Set App = CreateObject("QuickTest.Application") App.Test.Settings.Recovery.Enabled =…
Tom
  • 411
  • 12
  • 28
0
votes
2 answers

Index value of object in QTP

I have two question. 1) just assume that we 5 object in webpage.then how will find out index value of those object in run time. 2) suppose in next release , if the index gets changed, our code definitely will fail.so in this case how to write code.…
Ramesh
  • 11
  • 1
  • 2
0
votes
1 answer

Find Function in QTP

I have been looking online to find documentation for the function in QTP and have not been able to find anything that explains it well. Could someone please help. The line of code looks like…
Zzz
  • 2,927
  • 5
  • 36
  • 58
1 2 3
99
100