51Testing软件测试论坛

标题: 请问QTP9.2支持activebar控件吗? [打印本页]

作者: csflybird    时间: 2007-11-26 13:15
标题: 请问QTP9.2支持activebar控件吗?
请问QTP9.2支持activebar控件吗?

作者: walker1020    时间: 2007-11-26 13:50
不知道你说的 activebar 控件到底是什么样对象, 我想你可以录制一下试试。它是否是与 ActiveX 插件才能识别的对象? 如果是,那么在选择插件时候,要选中ActiveX 。 只要能识别它,那么 QTP 就会支持它。  还是自己去实践吧
作者: csflybird    时间: 2007-11-26 14:40
标题: activebar菜单控件
谢谢你的回复。
是这样的,我们在应用程序中使用了activebar菜单控件,但通过QTP进行录制时,不能捕获点击菜单的动作,不能识别菜单对象。
请问如何解决,THANKS!
作者: tiangou99073    时间: 2007-11-26 17:11
还是把你的activebar菜单控件描述清楚下
作者: csflybird    时间: 2007-11-26 18:30
谢谢.
What is ActiveBar?
Description
With ActiveBar any application or web site you create can sport cool toolbars and menus in mere minutes.
ActiveBar is an ActiveX control that provides dockable toolbars and menus with full runtime customization. Advanced UI features will boost your applications look and feel, make them easier to use and give your end users the power to reconfigure toolbars and menus.
All this and more come in a lightweight ActiveX package that offers easy distribution and high performance.
ActiveBar lets you effortlessly add a state-of-the-art user interface to your existing and future projects.
Create menu and toolbar layouts in seconds using ActiveBar Designer. The integrated tool library provides a repository of commonly used tools and bands for reuse.
Adding a new tool is a snap, just drag and drop tools from the library or to create a new one just fill in the property sheet and use the icon editor.
Visual Menu Builder lets you create application menus and popup menus on the fly.

Features
1.        Homogenous menu and toolbar architecture.
2.        Multiple layout styles (Docking, Floating, Popup).
3.        Flexible runtime behavior (enable/disable docking, floating, moving and resizing).
4.        Detachable menus & toolbars.
5.        Tabbed toolbars for organizing large number of commands in categories.
6.        Over 100 properties, methods, and events.
7.        Automatic rendering of icon states: Clicked, Enabled, Disabled.
8.        Multistate buttons, Group buttons, & Separators.
9.        Horizontal, vertical and floating menus.
10.        Alignment and position control over text and icon elements.
11.        Built-in support for Combo box, Edit, and dropdown controls.
12.        Custom icon sizes and text styles.
13.        ToolTips, keyboard shortcuts  & grab handles.
14.        Intelligent resizing & wrapping.
15.        Truly lightweight ActiveX control (less than 300k).
16.        Requires no external DLL’s for easier deployment and eliminates potential DLL conflicts.
17.        Integrated tool library serves as a repository for your commonly used tools and bands, for example, the predefined standard File, Edit, Window, Help tools.
18.        Advanced icon editor includes an icon image capture tool and state of the art drawing tools.
19.        ActiveBar seamlessly attaches to both your MDI and standard forms to fully integrate toolbars & menus with your applications.
20.        Allows context switching of menus and toolbars depending on the your applications program flow. You can easily save and restore toolbar layout information as you move between different application states.
21.        Users can easily customize and reconfigure their toolbars and menus to create a more productive layout to suit their specific needs.
22.        ActiveBar has an open architecture with extensible COM interfaces, which will carry your applications well into the future.
作者: csflybird    时间: 2007-11-26 18:34
VbWindow("MDIMain").VbWindow("frmLoginMN").Type  micEsc //进入主界面
-----主要就是这时没有录下菜单点击的步骤-----------

VbWindow("MDIMain").Window("挂号日报表").ActiveX("Toolbar").VbToolbar("Toolbar1").Press "刷新(F5)"//这是在点击菜单之后了.

VbWindow("MDIMain_2").Window("挂号日报表").ActiveX("SSSplitter").AcxTable("TTF1").SelectCell 5,1

程序是用VB6做的,有装插件.




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2