skiltest 错误日志记录(1)

上一篇 / 下一篇  2008-07-29 15:12:32 / 个人分类:测试工作进行中

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[ ] scrīpt syslogin.t - 1 error
[ ] Machine: (local)
[ ] Started: 02:33:25PM on 29-Jul-2008
[ ] Elapsed: 0:00:09
[ ] Totals:  1 error, 0 warnings
[ ]
[ ] *** DefaultBaseState is restoring Browser
[ ] ***Error: Window '[PushButton]View' was not found
[ ] Occurred in IsChecked
[ ] Called from Explorer.SetRequiredOptions at extend\explorer.inc(642)
[ ] Called from Browser.SetRequiredOptions at browser.inc(555)
[ ] Called from DefaultBaseState at defaults.inc(250)
--------------------------------------------------------------------------

以上是录制脚本,出现的错误。

在google查询,得到的结果:本地语言不正确。

After using the Workflow Toolbar to configure and record a testcase against a German version of IE 6. The recorded scrīpt fails on playback with the following error:

[ ] *** Error: Window '[PushButton]View' was not found

[ ] Occurred in IsChecked

[ ] Called from Explorer.SetRequiredOptions at explorer.inc(642)

[ ] Called from Browser.SetRequiredOptions at browser.inc(569)

[ ] Called from DefaultBaseState at defaults.inc(250)


This will probably be due to the fact that SilkTest is using the standard English versions ofexplorer.incandbrowser.inclocated in the SilkTest\Extend directory. However, SilkTest also provides support for both the German and French versions of Internet Explorer and Netscape Navigator. The following files, in ANSI format, are available in the <SilkTest Installation directory>\Locale:

...\french\browser.inc
...\french\explorer.inc
...\french\netscape.inc
...\german\browser.inc
...\german\explorer.inc
...\german\netscape.inc


To change the default English-US browser include files to one of the supported localised browsers:

  1. Go to <SilkTest Installation directory>\Locale. In the Locale directory locate the language of the localized browser to be tested.
  2. Copy the files contained in the <Language directory> directory.
  3. Go to <SilkTest Installation directory>\Extend and paste the files, overwriting the existing files.


TAG: 测试工作进行中

引用 删除 xn_selena   /   2009-02-09 15:25:12
我安装上述方法做了设置,但是录制时出现了新的问题,如下:
[ ] Script $ScriptMain - 1 error
[ ] Machine: (local)
[ ] Started: 03:07:06PM on 09-Feb-2009
[ ] Elapsed: 0:00:16
[ ] Totals:  1 error, 0 warnings
[ ]
[ ] *** DefaultBaseState is invoking Browser
[ ] *** Error: Window '[DialogBox]Advanced' was not found
[ ] Occurred in PressItem
[ ] Called from Explorer.SetRequiredOptions at extend\explorer.inc(425)
[ ] Called from Browser.SetRequiredOptions at browser.inc(558)
[ ] Called from DefaultBaseState at defaults.inc(250)
[ ] Called from main at $ScriptMain(2)
不知应如何解决,请指点一二,不胜感谢!!~~
 

评分:0

我来说两句

Open Toolbar