51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 3100|回复: 8
打印 上一主题 下一主题

RFT不能记录drop-down list 的动作

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-3-18 05:00:25 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
When trying to click on drop-down list and select one value, it can not be recorded in the script.
Could you kindly tell me how to fix that?
Thanks
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2008-3-18 16:40:48 | 只看该作者
Need detail infomation.
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2008-3-19 00:54:10 | 只看该作者

More details

Sorry, i can not type Chinese word in office even my English is bad.
My current task is to test one port application. When i open the application,
i move the mouse pointer to the top of one drop-down list, then click on it. So, the all options will be displayed, then i select one option,click on it. But, in the script, these actions can not be recorded.
When i playback it, it stop there with message showing "Could not find a List with name ctl00$m$g_840f8047_c9df_4b54_8cf7_4797fe45e936$ctl03$ctl00$RptControls$ctl05$ctl00.
com.rational.test.ft.ObjectNotFoundException, ......"
I'm band new for Functional Tester.
Thanks for answers.
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2008-3-20 23:02:20 | 只看该作者

UP!

Up!
Please.
回复 支持 反对

使用道具 举报

该用户从未签到

5#
发表于 2008-3-21 16:34:40 | 只看该作者
Can u find the obj manually by obj name?

please double confirm "ctl00$m$g_840f8047_c9df_4b54_8cf7_4797fe45e936$ctl03$ctl00$RptControls$ctl05$ctl00" on your page.
回复 支持 反对

使用道具 举报

该用户从未签到

6#
 楼主| 发表于 2008-3-23 23:39:11 | 只看该作者

how to find Obj manually?

Thank you, Lovetest6.

Could you give a sample script to find Obj manually?
回复 支持 反对

使用道具 举报

该用户从未签到

7#
 楼主| 发表于 2008-3-25 02:15:53 | 只看该作者

Got it solved!

Got it solved by adding key word(ANY LOADING).
Thanks
回复 支持 反对

使用道具 举报

该用户从未签到

8#
发表于 2008-3-27 14:54:45 | 只看该作者
如果你的dropdown list不是标准的java控件的话,可以把开发包add到你的测试项目中properties里面的build path中;

如果这样还不能解决问题的话,有一个旁门左道的解决方式:就是让开发写这个控件的时候加入对键盘操作的支持,如果能加入快捷键那就perfect了,可以彻底解决这个问题。
回复 支持 反对

使用道具 举报

该用户从未签到

9#
 楼主| 发表于 2008-3-28 02:14:45 | 只看该作者

Thanks

Hi, Tofel: Thanks a lot, and learn a lot.
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-5-4 16:46 , Processed in 0.074936 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表