Questions tagged [qtp]
QuickTest Professional (QTP) is a functional and regression test automation tool for software applications and environments.
1,587
questions
0
votes
0
answers
25
views
Without _JAVA_OPTIONS and JAVA_TOOL_OPTIONS, whether LeanFT will work or not?
My application under testing will work only in Java8 and doesn't need _JAVA_OPTIONS and JAVA_TOOL_OPTIONS environment variables. So, without these environment variables, whether LeanFT14.53 will work ...
1
vote
0
answers
31
views
UFT .Highlight is working from repository but not from Action
I have some elements in my repo with relative path:
And i have this code in my Action Solution:
Browser("Posventa").Page("Posventa").WebEdit("CampoNroOperacion")....
0
votes
0
answers
24
views
Qtp code : Download attachment from eml file
I am getting issues while downloading png attachment from the eml file using qtp code.
Downloaded File is not correct attachment.
Below is the code.
' Define the path to your EML file
emlFilePath = &...
0
votes
0
answers
93
views
how can i get first text[1] inside a complex DIV using UFT?
this is the xpath of global DIV:
/html/body/div/div/div[1]/div
Pic of that DIV:
enter image description here
his html :
<div class="alert alert-primary">
<h2>How to ...
1
vote
0
answers
83
views
UFT API - Unable to run a POST in uft but working fine on postman - JSON
Hi I'm running a post request using UFT API test with a JSON file and it's throwing me an error 500 or aborted request
the thing is it works fine in postman in the same machine, is there anything that ...
1
vote
1
answer
204
views
Cannot find the "agentName" object's parent "Micro Focus MyFlight Sample" when iterating over datatable
So im new UFT and i was trying to record an application which is the Micro Focus MyFlight Sample Application and run a test , well at the start everything worked fine with simple Values. Now i wanted ...
2
votes
1
answer
43
views
If the application added new component, will UFT One still work for automation testing?,
If the application added new component, will UFT One still work for automation testing? E.g. moved the child to another parent ,etc.
Couldn't find the answer in the user manual.
2
votes
0
answers
92
views
How to retrieve BackColor of highlighted or selected Toolbar item using UFT?
I tried with following also...
Object.Items.item(3). BackColor
But it is throwing entire toolBar colour rather than highlighted colour.
1
vote
1
answer
121
views
UFT won't advance to the next line when a Windows security pop-up is present
I need to open a .bat file that's on the network drive. When UFT Developer opens it, a security window pops up "We can't verify who created this file. Are you sure you want to run this file?"...
1
vote
0
answers
49
views
UFT :: Unable to select checkboxes from SWFTREEVIEW
I want to select check boxes which are in SwfTreeView. I tried to get getitem and getitemcount and it is returning 0. Below is the hierarchy of object
SwfWindow().SwfWindow().SwfTreeView("swfname:...
3
votes
0
answers
77
views
Unable to select checkboxes from SwfTreeView
In my application there is a swfTreeView object which has 2 parent check boxes [Total, Systmatic] and both parent has 2 more child check boxes [ EQ, FX for Total and EX,IR for Systematic] . I am ...
2
votes
0
answers
194
views
UFT / QTP :: Unable to select/click SwfTab
In my application there is window which has 3 SwfTab tabs and hierarchy is
swfWindow().swfTab()
Above object exists and gets highlighted as well. I want to select any tab for which I tried below ways ...
2
votes
2
answers
227
views
QTP has stopped recording and spying
I've been working for few months with QTP (UFT One 15.0.2), and today it has stopped recording (when I do the actions no lines are written in the script and no objects are added to the objects ...
1
vote
0
answers
418
views
UFT doesn't click a Radio button based on the adjacent text
I am using UFT 15.0.2 to automatize some Web GUI Tests using VB Script. I have to click on a Radio Button which is adjacent to a text (product code) but it doesn't work because when I used Record to ...
1
vote
1
answer
274
views
Use regex in UFT PDF comparison
In one of my UFT test cases, I need to verify a amount on a PDF file.
Sometimes the amount is "3000" and sometimes it is "3.000". And sometimes even "3 000"!
I would like ...