查看完整版本: RFT不能记录drop-down list 的动作

James_miao 2008-3-18 05:00

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

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

lovetest6 2008-3-18 16:40

Need detail infomation.

James_miao 2008-3-19 00:54

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.

James_miao 2008-3-20 23:02

UP!

Up!
Please.

lovetest6 2008-3-21 16:34

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.

James_miao 2008-3-23 23:39

how to find Obj manually?

Thank you, Lovetest6.

Could you give a sample script to find Obj manually?

James_miao 2008-3-25 02:15

Got it solved!

Got it solved by adding key word(ANY LOADING).
Thanks

tofel 2008-3-27 14:54

如果你的dropdown list不是标准的java控件的话,可以把开发包add到你的测试项目中properties里面的build path中;

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

James_miao 2008-3-28 02:14

Thanks

Hi, Tofel: Thanks a lot, and learn a lot.
页: [1]
查看完整版本: RFT不能记录drop-down list 的动作