我如何使用 Watir Webdriver 构建数据驱动框架,其中测试数据将是 excel 个文件
How Can i build Data Driven framework with Watir Webdriver where test data will be excel files
我需要帮助来为 WATIR Webdriver
构建数据驱动框架。我担心的是:我们可以通过在 Watir-webdriver
中读取 excel 中的数据来构建数据驱动框架,因为我们在 Selenium+Testng
框架
中有选择权
有人可以帮忙吗?
非常感谢!
我会看一下 Ruby CSV
库。 CSV 代表 comma separated values
,可用于从 Excel 电子表格中读取数据。要使用此库,只需在脚本中使用 require csv
。
我需要帮助来为 WATIR Webdriver
构建数据驱动框架。我担心的是:我们可以通过在 Watir-webdriver
中读取 excel 中的数据来构建数据驱动框架,因为我们在 Selenium+Testng
框架
有人可以帮忙吗?
非常感谢!
我会看一下 Ruby CSV
库。 CSV 代表 comma separated values
,可用于从 Excel 电子表格中读取数据。要使用此库,只需在脚本中使用 require csv
。