You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
777 B

*** Settings ***
Library Collections
Library ExcelLibrary
Library DatabaseLibrary
*** Test Cases ***
ReadData
Import Variables ${CURDIR}\\用户资料\\Execl.py
#${DList} Set Variable ${cap}
log ${phone_list}
LOG ${phone}
FOR ${P} IN RANGE ${phone_list}
END
LOG ${P}
Connect_Database
[Documentation] 连接数据库
#连接数据库
Connect To Database Using Custom Params pymysql database='dating-agency-service',user='root',password='qniaothreetwoonego',host='8.135.8.221'
${UserData} Query SELECT * FROM `uec`.`qn_account` WHERE `tid` = '13517986787' AND `is_delete` = '0'
${accountId} Set Variable ${UserData[0][0]}
Disconnect From Database