Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只想知道哪些命令用于数据驱动测试或具有多个用户名和密码的参数化。
嗨,IDE 中没有用于参数化的特殊命令,但您可以使用 .js 文件和 while 循环进行参数化。
下载数据驱动的 jar 并按照此处提到的步骤进行操作
http://wiki.openqa.org/display/SEL/datadriven
从此您可以轻松地从 xml 中读取您的用户名和密码