Application crash if I use sikuli
Hi
I am trying to automate a windows application ( in Windows 10). Application has a login dialog ,upon success a security question dialog will be shown. Once success, will show the application's main window. Everything works properly when I do manually.
If I try to automate through sikuli, able to process login screen, but upon hitting submit in the security question form ( ie when about to open the applications main window ) the program crashes. The first two windows are looks like dialog, can't maximize..
simplified code:
def process_
region = myapp.window()
wait(5)
#necessary code to fill the login textbox and hit submit. No issues, next form comes up
region = myapp.window()
wait(5)
#necessary code to fill the security answers textbox and hit submit. Program crashes
def open_myapp(
myapp = App.open(
wait(5)
if not myapp.window():
return False
else:
#program start
open_myapp(
Error dialog - Microsoft .NET Framework:
Unhandled exception has occured in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.
Could not find file 'C:\sikuli\
in Details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.
File name: 'C:\sikuli\
---
To debug, I opened the application through sikuli but done everything else manually ( ie filling forms, hit submit etc ) .. again program crashes upon hitting submit button in the security questions form, with the above said error.
Code:
myapp = App.open(app_path)
Pls help, whats going wrong. Thanks
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: