Home > Blockchain >  Robot Framework how to maximize windows application
Robot Framework how to maximize windows application

Time:10-10

I searched the web for a certain time but didn't find the important and necessary command of how to maximize a windows application using Robot Framework. What I have up to now is:

*** Settings ***
Library           RPA.Desktop.Windows
Library           RPA.Desktop

*** Test Cases ***
Maximize
    ${app}=    Open using run dialog    calc.exe    Rechner
    RPA.Desktop.Press Keys    alt    space
    RPA.Desktop.Press Keys    x
    RPA.Desktop.Windows.Send Keys    {LWIN up}
    RPA.Desktop.Windows.Send Keys    {%SPACE x}
    Pause Execution

Nothing of this works. So how to maximize a normal application (not bowser using selenium) in windows?

CodePudding user response:

Alt space and x where ok, but calc.exe is problematic. Thank you Hans.

  • Related