0
googleで簡単な検索を行うためにrobotframeworkのスクリプトを設定する方法を理解できません。robotframeworkを使用してgoogle内のアイテムを検索してください
これは私のスクリプトです:私はミスを犯したところ
*** Settings ***
Documentation This is a basic test
Library Selenium2Library
*** Variables ***
${url} https://www.google.com
${browser} chrome
${text} xpath=//*[@id="lst-ib"]
*** Test Cases ***
User can open page
[Documentation] As a user I can open the
google page
open browser ${URL} ${BROWSER}
wait until page contains ${url}
close browser
User fill in the Search text box
[Documentation] The user search 'Test
Definition'
open browser ${URL} ${browser}
wait until page contains ${URL}
input text ${text} Test Definition
click button btnK
wait until page contains Test
あなたは私を助けることができますか?
このテストを実行するとどうなりますか、どのように期待どおりに違いますか? –
私はこのエラーがあります:\t WebDriverException:メッセージ:不明なエラー:要素 is点(516,411)でクリック可能ではない。
エラーはあなたが便利語っている他の要素は、クリックを受け取ることになります情報 - 何かが入力ボックスの上にあること。 –