1.测试的系统是java开发的, B/S结构的
2.下拉列表控件rft貌似可以识别,rft使用.java.awt.ChoiceProxy代理类
3.对下拉列表的脚本如下:
OutrightPanelValueDateEnt().click(); 这句就是点击使列表弹出
OutrightPanelValueDateEnt().click(atText("1D"));这句就想要选择列表中的值1D
4.下面是日志
exception_context = 在“SelectGuiSubitemTestObject(名称:OutrightPanelValueDateEnt,映射:OutrightPanelValueDateEntryFwdList)”上调用了 click()。
exception_name = com.rational.test.ft.SubitemNotFoundException
exception_message = CRFCP0016E: java.awt.Choice:弹出窗口不可视,所以找不到 subitem:atText("1D")
script_name = Script7
script_id = Script7.java
line_number = 80
exception_stack = at com.rational.test.ft.domain.java.awt.ChoiceProxy.getScreenRectangle(ChoiceProxy.java:510)
at com.rational.test.ft.domain.java.awt.ChoiceProxy.getScreenPoint(ChoiceProxy.java:581)
at com.rational.test.ft.domain.java.awt.ChoiceProxy.getScreenPoint(ChoiceProxy.java:601)
at com.rational.test.ft.domain.java.awt.ChoiceProxy.nClick(ChoiceProxy.java:815)
at com.rational.test.ft.domain.java.awt.ChoiceProxy.click(ChoiceProxy.java:764)
at com.rational.test.ft.domain.java.awt.ChoiceProxy.click(ChoiceProxy.java:737)
at com.rational.test.ft.domain.java.awt.ChoiceProxy.click(ChoiceProxy.java:727)
------------------------------
at com.rational.test.ft.object.interfaces.StatelessGuiSubitemTestObject.click(StatelessGuiSubitemTestObject.java:166)
at Script7.testMain(Script7.java:80)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)