sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42234
Re: [Question #622923]: App.focus stops working in SikuliX 1.1.1
Question #622923 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/622923
Rayhaan Ahmed posted a new comment:
Here is a segment of affected code:
def start(self):
# open terminator
App.open(self.terminator)
App.focus("home@") <---- This line isn't creating issues, but I believe that is because App.open already focuses the app
wait(1.0)
# maximize terminal
doubleClick("maximize.png")
wait(2.0)
# set cleaning plan and robot
type("byobu kill-server" + Key.ENTER)
type("robot -c " + self.planName + Key.ENTER)
AutomationLog("info", "Set cleaning plan")
wait(0.5)
type("robot -r " + self.robot + Key.ENTER)
AutomationLog("info", "Set robot")
wait(0.5)
# start gazebo sim
type("rosrun launch simulation.sh")
ResultsLog("Simulation start time: " + currentTime())
AutomationLog("info", "Gazebo simulation starting...")
type(Key.ENTER)
wait(13.0)
App.focus("home@") <---- This is where it is failing to focus to the terminal
wait(0.5)
The title of the window is 'home@unnamed (localip) - byobu'
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.