- 博客(2)
- 收藏
- 关注
原创 python+selenium 自动化测试--完成的第一个查询功能测试用例
self.driver.find_element(By.CSS_SELECTOR, "input[placeholder = '请输入关键字搜索']").send_keys("测试")MethodName:为方法名)self.driver.find_element(By.XPATH, "//span[text() = '登录']").click()self.driver.find_element(By.XPATH, "//span[text() = '查询']").click()
2024-07-09 16:23:09
1174
原创 decode函数的用法
DECODE(value, if1, then1, if2,then2, if3,then3, . . . else ) SQL测试: decode(1,2,‘双数’,‘单数’)-----测试结果为单数 应用 1、使用decode函数比较大小 Select decode(sign(var1-var2),-1,var1,var2) from dual ---取较小值 Select de...
2019-04-22 14:34:30
10032
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅