[问题] Robot Framework 上传档案 (MAC)

楼主: stillcolor (鬼艾伦)   2019-05-13 18:24:46
大家下午安,这个问题困绕我一整天,stackoverflow 看起来也没解法,
请大家帮帮忙想办法 >.<
*** Settings ***
Library Collections
Library Selenium2Library
*** Variables ***
${file_path} ${CURDIR}/file/IMG_0738.jpg
*** Test Cases ***
Case
Run Keywords PreconditionLogin
... AND MyKeyword
*** Keywords ***
PreconditionLogin
${chrome_options}= Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument
作者: froce (froce)   2019-05-14 20:55:00
hover?
楼主: stillcolor (鬼艾伦)   2019-05-15 15:16:00
找到原因了,xpath 要用input的locator...而不能用button

Links booklink

Contact Us: admin [ a t ] ucptt.com