HPE Software Products: Functional Testing/QTP
Share |

Browser control not switching to new tab to perform user actions using LeanFTOpen in a New Window

Using LeanFT, when I clicked on any link in the opened browser (1st tab) it opens a new tab in the same browser but actions are not performing on the newly tab(2nd tab), basically browser control is not switching to new tab to perform execution,

Version installed : 12.54

 browser.navigate("url");
 browser.describe(Link.class, new LinkDescription.Builder().innerText("text").build()).click();
 Browser browsertab = BrowserFactory.attach(new BrowserDescription.Builder().openTitle("title").build());
 browsertab.describe(Link.class, new LinkDescription.Builder().innerText("itext").build()).click();

The above solution throws exception, com.hp.lft.sdk.ReplayObjectNotUniqueException: attachApplication

Please suggest 

 

Embedded Desktop ApplicationOpen in a New Window

Hi Sir,

 

Am useing UFT 12.54 version for trial ..in this am trying to test my Embedded destop application. But i cannot record it properly and also ,i cannot do object spay. can let know what is the problem..

 

LeanFT Runtime Engine looses connection with browserOpen in a New Window

Hi,

I have an issue with LeanFT Runtime Engine. It correctly connects to new browser (IE 11) but then looses connection after 5-10 seconds.
Because of this, test fails as it's unable to interact with the browser after that time.
This lost connection occurs even if there aren't any actions in the browser or test.
Simply, always after the browser is started LeanFT Runtime Engine looses connection after 5-10 seconds.

My setup:

LeanFT Runtime Engine 12.52.6851.0
HP Functional Testing Agent (for IE) 12.52.0.0
Internet Explorer 11.0.9600.18524 (Update Versions 11.0.37)
Windows 7 Enterprise SP1

from HP.LeanFT.log (Notice: this is log after only one browser window was opened):

2016-12-01 11:57:39,898 DEBUG [   1] LogCatUserDef1 BrowserMaster EVENT_BROWSER_CREATE id:206D2:-6:-6:-1:-1:-1:-1, version:internet explorer 11 Func=CBrowserMaster::ProcessWebInfoMsg File=BrowserMaster.cpp Line=1276 ThreadID=9436

2016-12-01 11:57:39,898 INFO  [   1] LogCatUserDef1 TopLevelHwnd:0x3051a, Tick:4524762 Func=`anonymous-namespace'::IEWatcher::OnBrowserCreated File=BrowserMaster.cpp Line=302 ThreadID=9436

2016-12-01 11:57:49,710 DEBUG [   1] LogCatUserDef1 BrowserMaster EVENT_BROWSER_CREATE id:4086C:-6:-6:-1:-1:-1:-1, version:internet explorer 11 Func=CBrowserMaster::ProcessWebInfoMsg File=BrowserMaster.cpp Line=1276 ThreadID=9436

2016-12-01 11:57:49,710 INFO  [   1] LogCatUserDef1 TopLevelHwnd:0x3051a, Tick:4534574 Func=`anonymous-namespace'::IEWatcher::OnBrowserCreated File=BrowserMaster.cpp Line=302 ThreadID=9436

 

UFT and Java Runtime EnvironmentOpen in a New Window

On our UFT machine (12.54, but also for previous versions), every time we want to upgrade the Java Runtime Environment, it fails.

I noticed that UFT has inserted itself into the path, and changed a few system environment variables, so I thought that this might have something to do with it, but even after clearing these out and rebooting, the Java installation still fails. 

On every other machine we have on our network, Java installs successfully.  Anyone have any ideas?   Revelant section of log attached.

 

 

closing Internet explorer error while trying to attach files in web application using UFT12.51Open in a New Window

Required help on this issue...

As per requirement I hav to attach jpg format files and one word document to web application using UFT, While doing the same we are frequently facing closing internet explorer error....

Please help me if any one knows solution for this problem...

Thanks..

 

Need to Import DataPower .Keystore file into HP UFT 11.52 in order to run my API Service Test.Open in a New Window

I have to import datapower .keystore certificate file into HP UFT 11.52 - API test in order to execute my service test. Please let me know the procedure to import the .keystore file into HP UFT.

 

Thanks in Advance

 

EPIC support on UFTOpen in a New Window

Compatability of UFT support to EPIC applications

Compatability of  UFT to handle individual controls  bundled in Active X

 

UFT ALM Connection HangOpen in a New Window

Hi,

When trying to connect to ALM the connection progress percentage dialog hangs at around 78% for a few mins before it completes. QC test runs are impossible due to this issue and the tests always fail.

 

I went through the UFT log file and found the below:

2016-12-05 06:21:03,190 QcIntegration.NewImpl.TdConnDetails [   1] ERROR GeneralUtils.IsFrameworkEnabled -not licensed to use components
2016-12-05 06:26:42,779 LogCatTestOps [   1] ERROR The Record Replay Manager Rack has been terminated, but there are still objects which hold references to it Func=CRRManagerOwnedRack::Terminate File=e:\ft\qtp\win32_release\12.02.2374.0_clean\qtp\backend\recordreplay\rrinfra\qtrrmanager\app\qtrrmanager\rrmanagerrack.cpp Line=131 ThreadID=160
2016-12-05 06:27:51,192 Mercury.QTP.OTAWrapper.ERI.RelationsHelper [   7] ERROR Cannot get QC connection
System.InvalidOperationException: Cannot find ITDIntegrationManager
   at Mercury.QTP.OTAWrapper.OTAHelper.GetConnection()
   at Mercury.QTP.OTAWrapper.ERI.RelationsHelper.Init()
2016-12-05 06:31:15,339 QcIntegration.NewImpl.TdConnDetails [   1] ERROR GeneralUtils.IsFrameworkEnabled -not licensed to use components
2016-12-05 06:31:15,518 HP.QTP.Automation.Service [  12] ERROR Try to invoke one method before App launched.
2016-12-05 06:31:15,521 HP.QTP.Automation.IPC.Service [  12] ERROR Exception in AutomationIpcService.SetWindowState: The operation failed because the application was not launched
System.Runtime.InteropServices.COMException (0x800A03E9): The operation failed because the application was not launched
   at HP.QTP.Automation.Infra.ErrorHandling.ErrorHandlingHelper.ThrowComException(COMException exception, String source, String helpLink)
   at HP.QTP.Automation.Infra.ErrorHandling.ErrorHandlingHelper.ThrowComException(String message, Int32 errorCode, String source, String helpLink, Int32 facilityCode, Int32 severityCode)
   at HP.QTP.Automation.AutomationObject.Common.AutomationObjectBase.ThrowComException(String message, Int32 errorCode, String source, String helpLink, Int32 facilityCode, Int32 severityCode)
   at HP.QTP.Automation.AutomationObject.AutomationApplication.CheckIsQtpLaunched()
   at HP.QTP.Automation.AutomationObject.AutomationApplication.set_WindowState(String value)
   at HP.QTP.Automation.IPC.Service.AutomationIpcService_Application.SetWindowState(String windowState)
2016-12-05 06:31:15,642 HP.Utt.ServiceModel.Errors.ErrorHandler [  12] ERROR The operation failed because the application was not launched
System.Runtime.InteropServices.COMException (0x800A03E9): The operation failed because the application was not launched
   at HP.QTP.Automation.Infra.ErrorHandling.ErrorHandlingHelper.ThrowComException(COMException exception, String source, String helpLink)
   at HP.QTP.Automation.Infra.ErrorHandling.ErrorHandlingHelper.ThrowComException(String message, Int32 errorCode, String source, String helpLink, Int32 facilityCode, Int32 severityCode)
   at HP.QTP.Automation.AutomationObject.Common.AutomationObjectBase.ThrowComException(String message, Int32 errorCode, String source, String helpLink, Int32 facilityCode, Int32 severityCode)
   at HP.QTP.Automation.AutomationObject.AutomationApplication.CheckIsQtpLaunched()
   at HP.QTP.Automation.AutomationObject.AutomationApplication.set_WindowState(String value)
   at HP.QTP.Automation.IPC.Service.AutomationIpcService_Application.SetWindowState(String windowState)
   at SyncInvokeSetWindowState(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at HP.Utt.ServiceModel.Interceptors.OperationInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
2016-12-05 06:40:02,376 QcIntegration.NewImpl.TdConnDetails [   1] ERROR GeneralUtils.IsFrameworkEnabled -not licensed to use components
2016-12-05 06:41:37,976 LogCatTestOps [   1] ERROR The Record Replay Manager Rack has been terminated, but there are still objects which hold references to it Func=CRRManagerOwnedRack::Terminate File=e:\ft\qtp\win32_release\12.02.2374.0_clean\qtp\backend\recordreplay\rrinfra\qtrrmanager\app\qtrrmanager\rrmanagerrack.cpp Line=131 ThreadID=3816
2016-12-05 06:45:14,041 QcIntegration.NewImpl.TdConnDetails [   1] ERROR GeneralUtils.IsFrameworkEnabled -not licensed to use components

 

I am using UFT 12.02 and do not have this issue with any of our other machines using UFT.

 

Open 2 browsersOpen in a New Window

Hi

When i run the code:

SystemUtil.Run DataTable("environment",dtGlobalSheet)

Set IE = CreateObject("InternetExplorer.Application")

IE.Visible = true

IE.Navigate(Datatable("environment",dtGloabalSheet))

launchBrower=true

Wait(1)

broswer("ABC").Page("XYZ").WebList("yyyy").Select "nnn"

there are two broswers coming up. And I have already set the Record and Run Setting to "record and run test on any open broswer so I only expect 1 broswer display, Any advice for me?

 

Thanks.

 

 

 

 

 

UFT 12.02 Flex supportOpen in a New Window

Hi All,

I need to automate Flex based web application by using UFT 12.02 , however objects are not getting identified by UFT.

Please suggest whether any other uft or qtp version supports the flex automation or any other work around.

 

UFT 12.02 to 12.53 UpgradationOpen in a New Window

Hi Champs,

Currently, We are using HP UFT 12.02 and customer is requested to upgrade to latest stable version.

Could you please help us in check list to upgrade to lastest stable verison?

1) what is the latest stable version UFT 12.52 or 12.53?

2) Should we upgrade IE on client / server or is it not needed. Currently we are on IE9 & 10?

3) Will the old scripts present in UFT 12.02 getexecuted on UFT 12.52/53 OR do we need to upgrade all the UFT 12.02 scripts to 12.52/53?

4) Should we request for Licenses for ALM/PC after the Upgrade?

5) Where from we have to download the new version software’s and patches? will vendor provide appropriate software after studying our Infrastructure?

6) Did anyone face challenges while upgrading from UFT 12.02 to UFT 12.52/53. Is it documented anywhere by Vendor for reference ?

7) What are the steps we have to follow for upgrading UFT 12.02 to (UFT 12.52/53)?

8) What are the additions and eliminations done in 12.02 to UFT 12.53?

9) Are there any issues reported for 12.53 since it is a new release? Which is efficient patch # for 12.53?

10) Are there any unsolved issues reported for 12.53 since it was released? Which is efficient patch # for 12.53?

11) We are using ALM 12.02 do we need to upgrade ALM as well to equalient version?

Please let me know the exact software's and software patches which we have to install on the below

Please share your valuable thoughts from your past experiences on this version upgrade.

Your help/guidance is appreciated.

 

 

 

How to Automate WPF Windows Application ?Open in a New Window

Hello Guys

Please answer below my queries.

 What are the addins need to be selected for WPF Application ?

Any other settings need to be done in UFT for WPF application ?

Can you tell me the Support matrix for WPF with UFT 12.51?

Regards,

Parandhaman.S

 

Parameterize XPath Object IdentificationOpen in a New Window

I am writing a script to select a checkbox in a row from table, and either click yes or no. However, once I finish that checkbox the checkbox cannot be used again since it is already been given a yes or no. 

I am trying to parameterize a number given from the XPath from the object identification. The Xpath given as, (for 3 rows):

//form[@id="matchAndSettleForm"]/table/tbody/tr[4]/td/div/div[3]/table/tbody/tr[1]/td[1]/div/div[2]
//form[@id="matchAndSettleForm"]/table/tbody/tr[4]/td/div/div[3]/table/tbody/tr[2]/td[1]/div/div[2]
//form[@id="matchAndSettleForm"]/table/tbody/tr[4]/td/div/div[3]/table/tbody/tr[3]/td[1]/div/div[2]

As you see, the third digit (red) corresponds to the row that the checbox is in that the script will select. I need to parameterize that number so that the script will work for multiple pages. I will have to go through over 3000 rows, so I will need a way to make the script work for every page. Also, the table has 25 rows per page, so once the 26th iteration comes, it will need to be back at 1 again since the 1st row on the second page is still the 1st row, not the 26th. 

Is there a way to do this?

 

UFT 12.52 and .NET application issue - May be compatibilityOpen in a New Window

Hi,

We are trying to automate a .NET application using UFT 12.52 (trial version) and we facing below issue:

- when trying to launch (by clicking on menu item/icon) an sub-module (it is also an exe but part of the whole .NET application) it does not launch the sub-module/application

- there are other sub-modules (in the menu bar) and only few of these are not working where as some do work

- all these sub-modules (in the menu bar - icons) work well when we launch/click it manually and without having UFT open/launched

Any suggestions/inputs on why such issue may occur? The application uses .NET 4 as such.

 

Working with Farpoint Spread objects using UFT 12.52Open in a New Window

Hi,

We are using UFT 12.52 (trial version) to try & automate a .NET application. We are facing 2 issues here:

1) We have one control/object which we believe is Farpoint Spread related one. Now, it is being identified as just object (with no standard/mapped class/properties). We need to know if we have any patch/update/support to identify/work with this Farpoint Spread related controls? Or, can someone tell, if faced with similar issue, how to work with these controls/objects?

In our application - the object is like a grid/table where we have 2 column and 'n' rows (depends on selection). So ideally we have two cells in each row. Now, the first cell is a combo-box/list and the other is a text field. Using the .Object native methods/properties we are able to set an active cell and retrieve the value in these two cells but we are facing challenge in trying to select a value for the combo-box/list.

Kindly, support/help with any suggestions/inputs. Thanks in adavnce!

 

unable to install HP UFT S/w trail version in local systemOpen in a New Window

Hi,

This is Sreenivas. I am unable to install the HP UFT s/w trial version in Win 7 OS. I am getting error chromeNativeMessagingStrategy.js. can you pleas ehelp me in resolving the issue. PFA file of screenhpt. for your reference.

 

Thanks

 

UFT 12.54 not working with UFT chrome Extension 12.54.3256.0Open in a New Window

Hello,

the UFT 12.54 recognizes the chrome browser Version 54.0.2840.99, but the test run is not successfull.  the  problem is with UFT Chrome Extension 12.54.3256.0.

Can anyone help Please.

Thank you.

 

QTP is throwing the following error Activex Component cannot create object "socket.tcp"Open in a New Window

QTP is throwing the following error on the usage of set obj = createobject("socket.tcp")

Activex Component cannot create object "socket.tcp"

 

Can anyone please help me in resolving the issue

 

HP UFT 12.53 Installation IssueOpen in a New Window

Hi,

Today I have tried to upgrade my HP UFT 12.02 to HP UFT 12.53 after successful uninstallation of earlier version on my Windows 7 32 bit Service pack 1 system. But when I click on unified functional testing link on installation window, I am facing "Current Operating system is not supported to install this software package" error massage. Can anyone help me out on this issue

Thanks

Adi Sake

 

HP UFT 12.02 Installation FailureOpen in a New Window

Hi,I am trying to Install HP UFT 12.53 on my Windows 7 32 bit Service pack 1 system . But as soon as I click on unified functional testing link on installation window, I am recieving "Current Operating system is not supported to install this software package" error. Can anyone please let me know, what is causing this error.

 

Regards,

adi sake

Contact Us

Vivit Worldwide
P.O. Box 18510
Boulder, CO 80308

Email: info@vivit-worldwide.org

Mission

Vivit's mission is to serve
the Hewlett Packard
Enterprise User
Community through
Advocacy, Community,
and Education.