sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25163
[Question #246604]: hi i am ab
New question #246604 on Sikuli:
https://answers.launchpad.net/sikuli/+question/246604
Hi Sikuli thanks a lot for gr8 tool.
Questions:
1)i am able to import other scripts.But problem is not able to import images from other script so please tell me the method....As earliest......
Displaying this errors.
:- [error] Stopped
[error] An error occurs at line 2
[error] Error message: Traceback (most recent call last):
File "C:\Users\abhishek\AppData\Local\Temp\sikuli-tmp3414251367901272664.py", line 2, in
test2.click_button()
AttributeError: 'module' object has no attribute 'click_button'
=============================================================================================
mycode:-
test1.sikuli file
def click_button():
click("start_btn.png")
print("not clicked")
================================================================================================
test2.sikuli
import test2
test2.click_button()
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.