Adding Window get attributes functionality check program