How to get All Text in robot framework ?

后端 未结 6 950
走了就别回头了
走了就别回头了 2021-02-06 15:01

Consider the following source code,

    <
6条回答
  •  难免孤独
    2021-02-06 15:21

    @Velapanur

    I had another similar requirement where in i have to enter the texts into textareas in a page. The below i wrote with the idea in reference to what Todor had suggested, and it worked. Many thanks to Todor, Velapanur

    @{Texts}=    Get WebElements    ${AllTextboxes}
    
        :FOR    ${EachTextarea}    in    @{Texts}
    
    \    Input Text    ${EachTextarea}    ${RandomTextdata}
    

提交回复
热议问题