我在运行脚本的时候报“找不到对象的屏幕点”的错误,不知道有没有人遇到过类似的错误,怎么解决?
51Testing软件测试网$dQ S;Z5C51Testing软件测试网qG@[#l源代码:
\)w;\4Hf7gs0...
51Testing软件测试网1b G&i#FoRootTestObject root = getRootTestObject();
n+\/De/l'DM$[3_0Subitem subitem = atDescendant(".class", "Html.INPUT.text",".id","queryForm:instanceId");
51Testing软件测试网!s8^kU9@)v-CnTestObject[] tos = root.find(subitem);
51Testing软件测试网1q2s)IVN^TextGuiTestObject tto = new TextGuiTestObject(tos[0]);
51Testing软件测试网%D.N&\xD0ntto.setText("11111");
51Testing软件测试网N^dq
~R/R_-n...
51Testing软件测试网#wWb-N5z(\{51Testing软件测试网'F*b'eQP?In错误信息:
e:L)s
l}051Testing软件测试网 LmcCCX4N$z*mexception_context = 在“TextGuiTestObject(Ref:RemoteProxyReference{testContext:9cf7000ec6fa, objectId:3050, testObjectClass:TextGuiTestObject})”上调用了 setText()。
#qA!dIaLZ_0exception_name = com.rational.test.ft.UnsupportedActionException
+Ea'l7}%b0exception_message = 找不到对象的屏幕点
I,w.P0J&KiY0scrīpt_name = TestAll
51Testing软件测试网@n7fuWlscrīpt_id = TestAll.java
51Testing软件测试网0p3A KjAhRzia&Lnline_number = 76
U5WSh
Zm-|x`'K x*Q+?0exception_stack = at com.rational.test.ft.domain.html.HtmlGuiProxy.noScreenPointFoundForAction(HtmlGuiProxy.java:2031)
)q8f'~Az5CIJ$s` Sh0at com.rational.test.ft.domain.html.HtmlGuiProxy.click(HtmlGuiProxy.java:172)
51Testing软件测试网)wG,x:K!k e(t"Pat com.rational.test.ft.domain.html.HtmlGuiProxy.click(HtmlGuiProxy.java:147)
RI#A6Q N"D0------------------------------
51Testing软件测试网FN'x)S5|*h/a)Lat com.rational.test.ft.domain.ProxyUtilities$SetTextFromGlassRunnable.send(ProxyUtilities.java:250)
51Testing软件测试网z a:]c:{6SZ;k Y`------------------------------
51Testing软件测试网.n|!g"d6|"uhat com.rational.test.ft.object.interfaces.TextGuiTestObject.setText(TextGuiTestObject.java:97)
51Testing软件测试网
}
@jK._.g^at TestAll.testMain(TestAll.java:76)
51Testing软件测试网)G9cZ,RT/ya-Wat org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
c^HDQVsR,nB0at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
51Testing软件测试网T:@:cZ[yY)a+t(P3vat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
51Testing软件测试网d]^)Y@Bar\ l8Wat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
51Testing软件测试网n3M ]5?"\sat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
51Testing软件测试网:yRS7n7TycV3g-~&tat org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
51Testing软件测试网"wd5X*a5Eat org.eclipse.core.launcher.Main.basicRun(Main.java:280)
51Testing软件测试网
{T7g5l\#N&Q9M7zat org.eclipse.core.launcher.Main.run(Main.java:977)
(\8m0p4ID2TVl0at org.eclipse.core.launcher.Main.main(Main.java:952)