Questions tagged [uft-api]

UFT (Unified Functional Testing) is a testing tool that supports UI and API tests. This tag is for UFT's API tests.

46 questions
4
votes
1 answer

How to manage a XML tag with a colon on C# with a local-name XPATH

This a simplified version of a more complex XML that I need to manage with C#. The problem is that when I try to access to a tag within a namespace, the XPATH does not work. XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml("
Andoxko
  • 1,021
  • 2
  • 12
  • 19
3
votes
0 answers

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 unable to select these checkboxes. I tried below way…
onkar
  • 249
  • 1
  • 4
  • 14
3
votes
0 answers

UFT Report is broken

Lately we are getting more and more often confronted with problems with UFT. Many API components can't executed anymore, but there are 2 possible outputs: UFT gives a message from "object reference not set to an instance of an object" without even…
justauser
  • 31
  • 1
2
votes
1 answer

Clicking a Webbutton which is the Child of a Webelement using Microsotf UFT

I'm currently working on developing a testautomatisation strategy for a web-client. On this web-client all web-elements have a data-testid which is used to identify the object. Unfortunately in some cases the data-testid is not unique, so clear…
T.Naz
  • 125
  • 8
2
votes
2 answers

UFT takes too long to execute steps

UFT takes more than 5 minutes to execute steps while timeout is set to 10 seconds. It only happens in some web pages, other scripts do it almost inmediately.
2
votes
1 answer

UFT detects chrome as winobj after UFT opens the browser

UFT launches Chrome but it detects it as winobject. If I open it manually it sees chrome as browser. How can I fix this?
2
votes
2 answers

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 repository) and recognizing objects with the spy…
Paymer
  • 31
  • 4
2
votes
0 answers

Unable to run VUGEN script from UFT API test

I am using "Call Virtual User Generator Script" option from Toolbox in UFT API test to call a VUGEN script. The VUGEN script is a Java over HTTP protocol script. This VUGEN script job is to publish a message on to SSL topic. When I run the script…
Reshma Shaik
  • 65
  • 1
  • 4
1
vote
0 answers

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 i should set or something in uft for it to…
Pollux
  • 11
  • 1
1
vote
0 answers

select a file in file dialog in EDGE through UFT

I want to upload a file to a website. When I click the upload button, then a pop-up window with the document explorer opens and I want UFT to select the file from this pop-up window. This is my code: Option Explicit Dim objType, value,…
T.Naz
  • 125
  • 8
1
vote
1 answer

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?" I've added an if statement to click Run when this pops up…
Kamiccola
  • 43
  • 3
1
vote
0 answers

How to send a multipart REST Service request using UFT?

I need to run rest API service with multipart using UFT. We are trying to send a rest API request with multipart form data using UFT, but getting an unhandled exception error. We tried the option 'Multipart' of UFT with the below…
Prasad
  • 29
  • 2
1
vote
1 answer

UFT execution cannot export screen recorder

In some specific machines, I am executing tests with UFT. After execution it gives this error: the following report types could not be exported:screen recorder I configured it the same way as my local computer. In my PC works fine but in the others…
koxta
  • 846
  • 2
  • 8
  • 30
1
vote
0 answers

to get list of child object from java webpage

i wanted to get list of child object from java webpage ...i am new to it..please help me with the steps i tried Dim getElement Set getElement = Description.Create getElement("class description").value = "text box" 'I tried different class names:…
Shree S
  • 17
  • 7
1
vote
2 answers

How to integrate Jmeter scripts with UFT or QTP

I want to run Jmeter script from UFT/QTP. Please let me know the if I need to install plugin for Jmeter in UFT and required setup for the same.
Sachin Kamble
  • 21
  • 1
  • 6
1
2 3 4