0
私は穏やかなWebサービスからデータを取り戻そうとしています。キーワードを実行する場合
単語Aを含むテキスト値を取得した場合は、このSQLを実行して、別のSQLを実行する必要があるかどうかを確認する必要があります。
このキーワードを実行すると、キーワードは実行されますが、Queryステートメントは変数で始まります。
これは私が試したものです:
${typeA} Set Variable ${rowValues["TypeA"]}
${foundValue} Get Lines Containing String ${typeA} Speical
${lineCount} Get Line Count ${foundValue}
${resultValue} Set Variable If ${lineCount} > 0 ${True} ${False}
${idvalue} Set Variable test
Run Keyword If ${resultValue}
... ${idvalue} Query Select max(id) from test where 1 =1;
... ELSE
... ${idValue} Query Select max(id) from table 2 where 1 = 1;
私はこのエラーを取得:
FAIL : No keyword with name 'test' found.