我有一个 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..."/>
最佳答案
看看精彩的步骤 - 它们将帮助您归档所需的一切...
关于java - 如何替换 canoo webtest 中的 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5743604/