class UI_0002:
name = 'MPS_CU_商品管理-编辑表单 UI_0002'
def teststeps(self):
wd = GSTORE['wd']
STEP(1, '点击商品管理菜单')
wd.find_element_by_xpath('/html/body/div/div[1]/div[1]/div[3]/ul/li[10]/a/div/div/label').click()
sleep(1)
STEP(2, '点击表单管理按钮')
wd.find_element_by_xpath('/html/body/div/div[2]/section/main/div/div/div[1]/div[3]/button[2]/span').click()
sleep(1)
STEP(3, '点击编辑按钮')
wd.find_element_by_xpath(
'/html/body/div[1]/div[2]/section/main/div/div/div[2]/div/div[2]/div[2]/div/div/div[3]/div/div[3]/table/tbody/tr[3]/td[4]/div/div/button[1]/span').click()
sleep(1)
STEP(4, '点击保存按钮')
wd.find_element_by_xpath('/html/body/div[4]/div/div[3]/div/button[2]').click()
sleep(1)
SELENIUM_LOG_SCREEN(wd, width='70%')