gpt4 book ai didi

java - 如何替换 canoo webtest 中的 URL

转载 作者:太空宇宙 更新时间:2023-11-04 08:39:04 25 4
gpt4 key购买 nike

我有一个 canoo webtest,我想用新的 URL 替换当前文档 URL,然后继续访问该 URL。具体来说,我想用“view-old.html”替换当前文档 URL 中的字符串“view.html”,并导航到新 URL。

脚本看起来像:

<clickButton htmlId="newDocForm_add"/>
<!-- get the url of the newly loaded page and replace "view" with "view-old" -->
< ??? >
<invoke description="go to modified URL" url="...newUrl..."/>

最佳答案

看看精彩的步骤 - 它们将帮助您归档所需的一切...

http://webtest.canoo.com/webtest/manual/groovy.html

关于java - 如何替换 canoo webtest 中的 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5743604/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com