robotframework-demo/Project/task3/config/myConfig.py

23 lines
473 B
Python
Raw Normal View History

2023-12-10 16:39:33 +00:00
# encoding=utf-8
from datetime import datetime
# 定义一些公共的参数
# 浏览器类型
browser = "Firefox"
# 黑方的地址
unbackupIP = "https://10.10.13.197"
login_username = "sys_admin"
login_passwd = "test@2008"
# 代理相关
# 策略名
actime_time = datetime.now().strftime('%Y%m%d%H%M%S')
PolicyName = "AutoTest-SQLServerCDM-Backup-" + actime_time
# 代理名称
hostname = "SqlserverCDM"
# 过滤关键词
keyFilter = "test1"
recTargetPath='C:\\data'