windows - Is there an automatic 'mouse clicking' library that can interact with a GUI? -
i disguising real project giving similar project due paranoia of getting fired.
i have task following: open program gui. gui has 3 fields numbers (age, height, weight) , 3 buttons (‘ok’, ‘print’, , ‘clear all’). program following. user enters 3 numbers 3 separate fields, clicks ‘ok’, , program spits out number of people in america fit description.
my boss has asked me make sure program working correctly. said following ‘go through each possible combination, click ok, click print. collect printed out numbers, , make sure add 350,000,000 (the entire population of america). doing next few months: * click ‘clear all’ * enter age: 1 (month) * enter height: 1 (cm) * enter weight: 1 (ounce) * click ‘ok’ * click ‘print’ start next loop: * click ‘clear all’ * enter age: 1 month * enter height: 1 cm * enter weight: 2 ounce * click ‘ok’ * click ‘print’
i have each possible combination. question is: there kind of python library can use ‘select field clicking here, enter number x, select field, enter number y, select field, enter number z, click on area of screen (the area signify ‘ok’ button), click area (the area on ‘print’ button). click ‘clear all’ , enter x, y, , z+1.
ideally, want go through every possible loop while away computer.
sikuli this, , uses python scripting language.
Comments
Post a Comment