如何使用HP UFT在Powerbuilder窗口中选择特定元素 [英] How to select specific element in Powerbuilder window using HP UFT

查看:137
本文介绍了如何使用HP UFT在Powerbuilder窗口中选择特定元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试记录/自动化在Sybase Powerbuilder中开发的应用程序。我当前正在使用HP UFT v12.54。



使用默认记录过程,对象间谍只能看到PB窗口中的区域,而看不到特定字段/下拉列表。简而言之,我无法在窗口中选择特定对象。



请参见下图:



我正在尝试选择授权签名人字段,但选择UFT没有看到特定元素,而是看到了客户数据字段。 UFT只是通过xy轴而不是特定对象引用区域中的字段。



其他信息:
应用程序在PowerBuilder v11.5中开发



解决方案

这不是UFT在Power Builder应用程序中的默认行为,您应该看到



根据PAM,UFT 12.54支持Powerbuilder 11.5 +。



下面是您可以尝试的几件事



1)确保已安装所有最新的补丁程序



2)尝试使用记录和运行设置来打开Power Builder应用程序。设置记录并运行设置后,单击记录按钮,UFT将打开应用程序。然后停止录制,打开对象间谍,然后检查其是否识别出对象。



3)以管理员身份运行UFT。 UFT需要与应用程序相同的特权级别。因此,如果您的应用程序以更高的特权运行,那么UFT便无法识别该应用程序上的任何内容。



如果没有任何作用,那么您可以打开票证与HP合作,因为UFT 12.5支持powerbuilder 11.5。


I am trying to record/automate an application developed in Sybase' Powerbuilder. I am currently using HP UFT v12.54.

Using the default recording process, the object spy is only seeing the area on my PB Window, not the specific field/dropdown. In short, I am unable to select a specific object in the window.

Please see the following image:

I am trying to select the Authorized Signatory field, but instead, UFT does not see the specific element, but the field area Customer Data instead. UFT just references the fields in the area by xy axis, not the specific object. Is this the default behaviour?

Additional info: Application is developed in PowerBuilder v11.5

Any input would be appreciated.

解决方案

This is not the default behavior of UFT with power builder applications, you should either see a PBWindow Object or Proper Powerbuilder objects in the Object Spy.

According to the PAM, UFT 12.54 supports Powerbuilder 11.5+.

Below are the few things you can try

1) Make sure all of the latest patches are installed

2) Try to use record and run settings to open the power builder application. Once Record and run settings are set, click on record button and UFT will open the application. Then stop the recording, open object spy and check if its recognizing the objects after that.

3) Run UFT as admin. UFT needs the same privilege level as the application. So if you're application is running in higher privilege then UFT then UFT will not be able to recognize anything on the application.

If nothing works then you can open a ticket with HP, because powerbuilder 11.5 is supported by UFT 12.5.

这篇关于如何使用HP UFT在Powerbuilder窗口中选择特定元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆