[Sikuli-driver] [Question #255473]: cannot load Java class org.sikuli.script.Settings (NameError)

2014-10-07 Thread Nirmala Sakthi
New question #255473 on Sikuli:
https://answers.launchpad.net/sikuli/+question/255473

I have a Mac and tried pretty much all the suggestions for the Name error 
problem: I am trying to develop cucumber with Sikuli. I am trying the example 
under https://github.com/chaslemley/cucumber_sikuli/tree/master/features

which cucumber yields: ~/.rvm/gems/jruby-1.7.16/bin/cucumber
which jruby yields: ~/.rvm/rubies/jruby-1.7.16/bin/jruby

I keep getting the following: Can you please help?

cucumber features/example.feature
cannot load Java class org.sikuli.script.Settings (NameError)
org/jruby/javasupport/JavaClass.java:1286:in `for_name'
org/jruby/javasupport/JavaUtilities.java:34:in `get_proxy_class'
file:~/.rvm/rubies/jruby-1.7.16/lib/jruby.jar!/jruby/java/java_package_module_template.rb:4:in
 `const_missing'
~/.rvm/gems/jruby-1.7.16/gems/sikuli-0.3.0/lib/sikuli/config.rb:42:in `logging='
~/Documents/PFH/Automation/Sikuli_Cucumber/features/support/env.rb:6:in `(root)'
~/.rvm/gems/jruby-1.7.16/gems/sikuli-0.3.0/lib/sikuli/config.rb:61:in `run'
~/Documents/Automation/Sikuli_Cucumber/features/support/env.rb:4:in `(root)'
org/jruby/RubyKernel.java:1081:in `load'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/rb_support/rb_language.rb:1:in
 `(root)'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/rb_support/rb_language.rb:95:in
 `load_code_file'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/runtime/support_code.rb:180:in
 `load_file'
org/jruby/RubyArray.java:1613:in `each'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/runtime/support_code.rb:83:in
 `load_files!'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/runtime/support_code.rb:82:in
 `load_files!'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/runtime.rb:184:in 
`load_step_definitions'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/runtime.rb:42:in 
`run!'
~/.rvm/gems/jruby-1.7.16/gems/cucumber-1.3.17/lib/cucumber/cli/main.rb:47:in 
`execute!'
org/jruby/RubyKernel.java:1081:in `load'
~/.rvm/gems/jruby-1.7.16/bin/cucumber:23:in `(root)'

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #255473]: cannot load Java class org.sikuli.script.Settings (NameError)

2014-10-07 Thread Nirmala Sakthi
Question #255473 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255473

Nirmala Sakthi posted a new comment:
Let me try with the older version first to see if everything works
together.

Is there any example available with latest Sikuli and Cucumber Ruby?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #252331]: Capturing numbers displayed dynamically on a webpage?

2014-07-30 Thread Nirmala
Question #252331 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252331

Nirmala posted a new comment:
Alright, let me try as per your comments. Thank you very much for
responding.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #252331]: Capturing numbers displayed dynamically on a webpage?

2014-07-28 Thread Nirmala
New question #252331 on Sikuli:
https://answers.launchpad.net/sikuli/+question/252331

Hi,
We want to automate our regression tests. Basically, our application is a web 
app and we need to capture an ID that would be generated on the webpage for 
each action. I wanted to know if Sikuli can:
a) Capture the ids that are generated
b) Verify the status for the id generated on the webpage
c) Depending on the status provide pass/fail test results

For example:
I have used sikuli to automate and generate the ID successfully. For example I 
have the below text on my web page:
Workflow generated successfully and the id is . Till then I am happy in 
using Sikuli.
For every process the id generated would be 
Upon id generation, if the status(this is a column in the page) is error then 
the test should fail
and if the status = 'Processed or Loaded then the test would be complete or 
end and test result should be PASS

This is what all our regression is about. Getting the id e.g 1234(unique 
sequence but dynamic) and see if it fail or processed.  I tried with onappear 
but i am not able to capture the id, but just the text. Also, its so hard to 
map the id with the status on the web page and i dont know how to do it.

Please provide help. I wanted to know if this is possible at all with Sikuli. 
Thanks



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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp