打开文件浏览窗口后,Python脚本停止执行

时间:2019-09-06 03:05:47

标签: python python-3.x selenium selenium-webdriver

按下打开文件上传窗口的按钮后,Python脚本停止执行。

这是我尝试过的:

  1. 我肯定知道在打开文件选择窗口后python脚本会停止。 我只编写了该部分的代码,脚本停止了。

  2. 在我之前的脚本停止执行以检查我的autoIt脚本之后,我通过一个新的python脚本运行了autoIt脚本,并且它按预期运行。

    <table:TreeTable selectionMode="MultiToggle" rows="{path:'Parts>/results', 
    parameters:{arrayNames:['Lots']}}" rowSelectionChange="rowSelected"
    toggleOpenState="rowExpanded" sort="onSortTable">
                                <table:columns>
                                <table:Column id="lot" sortProperty="Lots">
                                    <Label text="Lot"/>
                                    <table:template>
                                        <Text text="" />
                                    </table:template>
                                </table:Column>
                                <table:Column sortProperty="PartNumber">
                                    <Label text="Part number"/>
                                    <table:template>
                                        <Text text="{Parts>PartNumber}"/>
                                    </table:template>
                                </table:Column>......
    </table:TreeTable>
    

我想要的是让脚本继续运行,

Python脚本->打开文件浏览器->运行AutoIt->返回Python脚本

0 个答案:

没有答案
相关问题