【软件测试】使用类反射结合python的第三方库xlrd,动态引入测试数据,进行自动化测试

#导包 import xlrd import sys class readexcel:     def read(self, path, index=0):         #打开Excel文件         book = xlrd.open_workbook(path)         #通过索引顺序获取表格         sheet = book.sheets()[index]      
相关文章
相关标签/搜索