查看完整版本: 关于SilkTest测试基于IE与Firefox的网页的问题

justinavril 2008-3-27 15:13

关于SilkTest测试基于IE与Firefox的网页的问题

我们写了些代码,在IE7上运行没问题,但是在Firefox1.5上就运行不过去。
就在这句上卡了,过不去:BrowserAuthentication.Exists ()  tag="/[MainWin]$firefox1_5[1]/[MainWin]Prompt"


这句我们是从browser。inc的OnLoadPage里的。   按理说在Extension里设置Firefox为默认的浏览器就没问题了啊。。。


                [-] void Invoke()
                        [ ] Print("*****JIRA*****Invoking JIRA Login")
                        [-] if !Browser.Exists(0.5)
                                [ ] Browser.Invoke()
                        [ ] Browser.SetActive()
                        [ ] Browser.Maximize()
                        [color=DarkOrange][ ] LoadPageHttps(sJIRALocation)[/color]
                        [ ] sleep(5)
                        [-] if !JIRA_LogOn.Exists(20)
                                [ ] raise 1, "***Error: Problem invoking LogOn Web page."
                        [ ] JIRA_LogOn.SetActive()
                        [ ] Print("*****JIRA*****Log On window is invoked")

jmy_1981 2008-3-27 17:30

lz能说说出错信息是什么吗?

如题。

BrowserAuthentication.Exists ()这句是显示BrowserAuthentication不存在吗?
页: [1]
查看完整版本: 关于SilkTest测试基于IE与Firefox的网页的问题