Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

RobotFramework: Switching window

Options
  • 28-06-2017 10:30am
    #1
    Registered Users Posts: 5,542 ✭✭✭


    Is there a way to adjust the focus (i.e bring to front) the second window after a click a link that goes to this second window in RobotFramework? I have some code that does screenshot after click and it only shows the first window
    Click link  xpath=//*[contains(., "Download certificate")]
    sleep  20
    Select Window    Title=Certificate
    Page Screenshot  Completion-Certificate
    

    I know that the title of the popup window is Certificate but i get error
    ValueError: Unable to locate window with title 'Certificate'
    
    Tagged:


Advertisement