ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class Windows10.Windows10(system, config)
expand_program_menu()

Assuming the Start Menu is already open, expand the All Programs menu.

Return: True if the menu is expanded, False otherwise

name_hint = 'Win10'

This class can be inherited from for anything which will run on Windows 10. It provides some common functions which can simplify tasks that many things may need to do.

Parameters:

  • system: a <no title> object which can be used to interact

    with the target system

  • config: a <no title> object defining the current user

open_menu(*args, **kwargs)

Given an region that marks the region to click to expand the menu and the region that can be used to validate that the menu did expand, expand the desired menu.

Parameters:

  • menu_region: the <no title> that is the “button” to click to expand the menu

  • validation_region: the <no title> that will be seen when the menu is expanded

Return: True if the menu is expanded, False otherwise

open_run_dialog(*args, **kwargs)

This is provided to share a common-er interface with WindowsXP in Win 7 we can accomplish the same thing (generally) by just opening the start menu and typing.

open_start()

Open the start menu (typically in the bottom left of the screen)

Return: True if the Start Menu is open, False otherwise