51Testing软件测试论坛

标题: silk问题请教 [打印本页]

作者: zhangsx1985    时间: 2007-5-14 16:20
标题: silk问题请教
silk怎么在测试过程中把ie的地址重定向阿,测试过程中需要访问另外一个网址:
Browser.Location.SetText ("http://192.168.60.6/")
这样不行啊!
作者: jmy_1981    时间: 2007-5-14 17:49
标题: 楼住能说明一下情况或者出错信息吗?
同上。
作者: zhangsx1985    时间: 2007-5-15 14:24
没有报错信息,就是浏览器没反应还是原来的地址,换种方式,已经解决了,谢谢!
[-] window MainWin web
        [+] multitag "about:blank*"
                [ ] "*Microsoft Internet Explorer"
                [ ] "$explorer6_DOM"
        [ ] // The working directory of the application when it is invoked
        [ ]  const sDir="d:/work"
        [ ]
        [ ] // The command line used to invoke the application
        [ ]  const sCmdLine = "C:\Program Files\Internet Explorer\IEXPLORE.EXE "
        [ ]
        [ ] // The first window to appear when the application is invoked
        [ ] // const wStartup = ?
        [ ]
        [ ] // The list of windows the recovery system is to leave open
        [ ] // const lwLeaveOpen = {?}
        [+] ComboBox Ieurl
                [ ] tag "$41477"
                [+] PushButton 转到
                        [-] multitag "转到"
                                [ ] "$1"
        [ ] //url地址重定位
        [-] seturl(String url)
                [ ] web.SetActive()
                [ ] web.Ieurl.ClearText()
                [ ] web.Ieurl.SetText(url)
                [ ] web.Ieurl.转到.Click ()
作者: huajing_wu    时间: 2007-5-21 17:25
用Browser.LoadPage(URL),修改URL应该可以重定向




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2