← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #204164]: Not able to use Key.TAB when using Cucumber and jruby

 

Question #204164 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204164

    Status: Answered => Solved

Shiva Kumar confirmed that the question is solved:
I just used java_import 'org.sikuli.script.Screen' in my env.rd

Inside my step_definitions, which is my jruby file with .rb extension i
was able to access the java class Screen as below and was able to tab
throughout the screen and works fine

keytab =Screen.new
keytab.type ( "\t")

This 2 line did the job.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.