Selenium robotframework的运行机制是什么?为什么不执行代码呢?

Selenium robotframework的运行机制是什么?为什么不执行代码呢?,selenium,robotframework,Selenium,Robotframework,我正在运行robot脚本,当它运行到单击按钮btn\u submitFile时,robotframework不再执行下一条语句。 Robotframework保持运行,既不引发异常也不终止 我做了以下工作: Execute Javascript openSetGmjj() Select Frame id=selectFareScope SeleniumLibrary.Input Text search As109 Execute Javas

我正在运行robot脚本,当它运行到
单击按钮btn\u submitFile
时,robotframework不再执行下一条语句。
Robotframework保持运行,既不引发异常也不终止

我做了以下工作:

    Execute Javascript    openSetGmjj()
    Select Frame    id=selectFareScope
    SeleniumLibrary.Input Text    search    As109
    Execute Javascript    getSortedTrade()
    Click Element    levelCk3_6052
    Click Button    btn_submitFile    
    Unselect Frame
    Execute Javascript    next('s2')
openSetGmjj()
将在HTML文档中插入ID为
selectFareScope
的iframe。单击按钮
btn\u submitFile
将删除此iframe

日志如下:

INFO : Clicking button 'btn_submitFile'.
DEBUG : GET http://localhost:22400/session/18730e1d-1883-4c90-90fe-d3ebb25ca98a/url {}
DEBUG : Starting new HTTP connection (1): 127.0.0.1:22400
DEBUG : http://localhost:22400 "GET /session/18730e1d-1883-4c90-90fe-d3ebb25ca98a/url HTTP/1.1" 200 154
DEBUG : Finished Request
DEBUG : POST http://localhost:22400/session/18730e1d-1883-4c90-90fe-d3ebb25ca98a/elements {"using": "xpath", "value": "//input[(@id='btn_submitFile' or @name='btn_submitFile' or @value='btn_submitFile' or @src='btn_submitFile' or @src='http://localhost:2600/businessRegistration/gtgsh/btn_submitFile')]"}
DEBUG : Starting new HTTP connection (1): localhost:22400
DEBUG : http://localhost:22400 "POST /session/18730e1d-1883-4c90-90fe-d3ebb25ca98a/elements HTTP/1.1" 200 111
DEBUG : Finished Request
DEBUG : POST http://localhost:22400/session/18730e1d-1883-4c90-90fe-d3ebb25ca98a/element/32f7546b-3d6e-49b3-ae0a-3c09293195d4/click {"id": "32f7546b-3d6e-49b3-ae0a-3c09293195d4"}
DEBUG : Starting new HTTP connection (1): localhost:22400
程序正在这里等待。当我实际单击页面上的按钮时,程序将继续执行。
为什么会发生这种情况?我怎样才能避免呢