开发者

Is it possible to get data from excel and use them as watir commands?

is it possible to Get data from an excel sheet which are watir commands and exe开发者_Go百科cute them.


If you have a string (that you got from excel file) and you want to execute it as code (if I understood what you want to do), you could do something like this:

string_from_excel = "goto"
browser.send string_from_excel, "google.com" # the same as browser.goto "google.com"


Take a look at roo, it can read Excel files. Rasta "is a keyword-driven test framework using spreadsheets to drive testing."

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜