06 2020 档案
摘要:一、运行某一条测试用例 robot --<测试用例名> in <用例所在suite路径> robot -t <projectname.suitename.testname> <工程路径> (-t 同 --test) 二、运行某个测试套 robot <suite路径> robot -s <projec
阅读全文
摘要:def unix_time(dt): """ 日期转时间戳 :param dt: :return: """ # 转换成时间数组 timeArray = time.strptime(dt, "%Y-%m-%d %H:%M:%S") # 转换成时间戳 timestamp = int(time.mktim
阅读全文
摘要:*** Settings ***Library DateTime #import datetime Library StringResource 资源文件.robotVariables vars.pyDocumentation 练习脚本,涉及变量和关键字应用... Author:fyangq...
阅读全文
摘要:import pymongoimport codecsimport csvclient = pymongo.MongoClient('ip',port)db=client.admindb.authenticate("user", "password", mechanism='SCRAM-SHA-1'
阅读全文
摘要:查询结果显示指定列 db.getCollection(collection_name).find({pe_date: /2018/},{name:1,work_unit:1,pe_date:1,id_card:1,user_id:1}) 计算查询结果的总数 db.getCollection(coll
阅读全文
浙公网安备 33010602011771号