Observer looking for patterns during while an application is running
Hi,
I want to add addictionary or observer to the following code. The vdict or observer is used to respond to events such as an error message
I want to add a check for a specifc image before the following executes and call it as a function.
So, is there a code example that shows how to include a vdict that I could include with the function?
What about configuring an observer() I'm using win7 and recall this is a problem?
The simple function I'm working with is below
BTW, good to be back to work. Raimund, I owe you a revised MHT of the netbeans doc.
def DPILogin96():
loginuser = input ("Please enter your user login")
password = ("skyroom") #input ("Please enter your password")
wait(2)
wait(2)
click (Pattern(
wait(5)
if exists(, 0): # waiting for new user Eula display
click (Pattern(
wait(5)
if exists(, 0):
exit()
exit()
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask surfdork for more information if necessary.