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.
我在访问网站上的文本字段时遇到问题。我将编写什么代码将数据输入到输入字段中txtUser?
txtUser
你必须明确地说文本字段在一个框架中:
browser.frame(:name => "content").text_field(:name => "txtUser").set "Lorem Ipsum"