Re: [Sikuli-driver] [Question #185713]: Sikuli X-1.0rc3 and Maven support

2013-03-26 Thread anmol_bagga10
Question #185713 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185713

anmol_bagga10 posted a new comment:
What you can do is make a folder in your project say lib and put the 
sikuli-script.jar in that.
and include this dependency in ur pom file

org.sikuli
sikuli-api
1.0.2
 ${project.basedir}\lib\sikuli-script.jar
system

I have checked this and this works fine.
Regards,
Anmol Bagga

-- 
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 #192009]: How To enter CTRl+A to slect all the text

2012-03-29 Thread anmol_bagga10
Question #192009 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/192009

Status: Open => Solved

anmol_bagga10 confirmed that the question is solved:
type("a", KeyModifier.CTRL)


finally this thing worked for me..

-- 
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 #192009]: How To enter CTRl+A to slect all the text

2012-03-29 Thread anmol_bagga10
Question #192009 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/192009

Status: Answered => Open

anmol_bagga10 is still having a problem:
still its not working

sleep(5)
type("anmol")
sleep(5)
type("a",Key.CTRL,)


i opened up a note pad and run this script on the ide. instead of selecting all 
the text .. it clicked on the start button!!!
Here is the log

[log] TYPE "anmol"

[log] CLICK on (9,642)

[log] TYPE ""

-- 
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 #192009]: How To enter CTRl+A to slect all the text

2012-03-28 Thread anmol_bagga10
New question #192009 on Sikuli:
https://answers.launchpad.net/sikuli/+question/192009

Can somebody help me with selecting all the text.

I am using this, 

type(Key.CTRL,Key.A)

AttributeError: type object 'org.sikuli.script.Key' has no attribute 'A'

My os is windows 7, sikuli X 1.0rc3

Thanks
Anmol Bagga


-- 
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 #185791]: How to run "Sikuli On Virtual Machines"

2012-01-26 Thread anmol_bagga10
Question #185791 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185791

Status: Open => Solved

anmol_bagga10 confirmed that the question is solved:
ha ha.. u got me..

We are using window 7 on our machines , and the VM's os is windows
server 2008.. most of the ports except some(8080 on which we are running
fitnesse server) are blocked..

why we arent using RDP, because the VM gets locked and we cant run our
test from anywhere, except the computer thru which we have taken RDP.

why we are using teamviewer because , then we can run our test from
anywhere as the VM is running fitness server(on port 8080 , web
service)... we can just use the ip+port and run our test from any
machine!!

now what i have done is made a c++ program that will move the mouse pointer a 
pixel to its left after every 15 second..
and found a software that will generate keyboard press after every 59 second.. 
its name is caffeine!!
and extended the session to almost indefinite period..

Thanks
My problem is solved...

-- 
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 #185791]: How to run "Sikuli On Virtual Machines"

2012-01-26 Thread anmol_bagga10
Question #185791 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185791

anmol_bagga10 posted a new comment:
ha ha.. u got me..

We are using window 7 on our machines , and the VM's os is windows
server 2008.. most of the ports except some(8080 on which we are running
fitnesse server) are blocked..

why we arent using RDP, because the VM gets locked and we cant run our
test from anywhere, except the computer thru which we have taken RDP.

why we are using teamviewer because , then we can run our test from
anywhere as the VM is running fitness server(on port 8080 , web
service)... we can just use the ip+port and run our test from any
machine!!

now what i have done is made a c++ program that will move the mouse pointer a 
pixel to its left after every 15 second..
and found a software that will generate keyboard press after every 59 second.. 
its name is caffeine!!
and extended the session to almost indefinite period..

Thanks
My problem is solved...

-- 
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 #185791]: How to run "Sikuli On Virtual Machines"

2012-01-26 Thread anmol_bagga10
Question #185791 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185791

anmol_bagga10 gave more information on the question:
Yes mate, But we are getting complications setting/configuring up VNC
server and VNC viewer due to network policies, firewalls etc..

we have prevented the Virtual machine from going into the locked state
or running any kind of screensaver by generating a hardware level
interrupt in every 59 seconds.

Thus we have used teamviewer but againg the maximum session of the team
viewer(free version) is 30 minutes to 1 hour.. is there any way we can
see(desktop share) the screen of virtual machine 24*7 on our
machine.

-- 
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 #185713]: Sikuli X-1.0rc3 and Maven support

2012-01-25 Thread anmol_bagga10
Question #185713 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185713

anmol_bagga10 posted a new comment:
try this man.
 

 org.sikuli

 sikuli-script 
 0.10.2 

 

can u show me ur pom file..

-- 
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 #185713]: Sikuli X-1.0rc3 and Maven support

2012-01-25 Thread anmol_bagga10
Question #185713 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185713

anmol_bagga10 posted a new comment:
its 1 30 am in india and m not in office other wise  i would have given u the 
right dependency in a flash.. aah m too sleepy also.
good night!!

-- 
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 #185713]: Sikuli X-1.0rc3 and Maven support

2012-01-25 Thread anmol_bagga10
Question #185713 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185713

anmol_bagga10 posted a new comment:
please delete 30, it has been entered wrongly

-- 
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 #185713]: Sikuli X-1.0rc3 and Maven support

2012-01-25 Thread anmol_bagga10
Question #185713 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185713

Status: Open => Answered

anmol_bagga10 proposed the following answer:





 edu.mit.csail.uid.sikuli



 sikuli-script



 1.0-SNAPSHOT


30

  

-- 
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 #185713]: Sikuli X-1.0rc3 and Maven support

2012-01-25 Thread anmol_bagga10
Question #185713 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185713

anmol_bagga10 posted a new comment:
please include the sikuli dependecy for maven in pom.xml in maven
project! i think that should solve your problem

-- 
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 #185791]: How to run "Sikuli On Virtual Machines"

2012-01-25 Thread anmol_bagga10
Question #185791 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185791

anmol_bagga10 gave more information on the question:
thankx RaiMan,  i have also solved the problem.. but it took me almost a
week to fix it!!

what i have observed that when you take rdp of 1 system(Lets suppose
machine A) from another machine(Lets call it machine B, machine A gets
locked!! so even when u release the rdp.. machine A is still locked!! so
our sikuli wont run there!!

NOW install teamviewer 7 in both the machines A and B. and release the
rdp... try to log into machine A from Machine B using teamviewer.. try
it continously...

After some time , u ll see the screen of machine A from machine B in
teamviewer.. unlock it.. and run the scripts.. we can even minimise the
teamviewer windows but still sikuli works fine.. and in my case this
machine A is a virtual and completly "headless" machine having windows
OS...

Now what i have to do is extend this session of teamviewer between
machine A and machine B, by generating some hardware level interrupts
and also I have to prevent them from sleeping or going into a lock
state!!

I ll get back to you with some more inputs.

Best Regards,
 
Anmol Bagga
Software Engineer - Test Automation

-- 
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 #185791]: How to run "Sikuli On Virtual Machines"

2012-01-25 Thread anmol_bagga10
New question #185791 on Sikuli:
https://answers.launchpad.net/sikuli/+question/185791

I know this questions has been asked 10 times.. 

but i am not satisfied with the answer.. 

we are using selenium-web driver and fitness testing framework. 

we have used sikuli extensively to automate flash content that is present in 
our application. when we run it on our end , it runs very fine. but when we 
deploy the code(using rdp) to another system which has a static ip but is a 
virtual machine 

they work fine (till we dont release the RDP) , but when we release the RDP, 
they fail...

i tried team viewer also , but teamviewer does not capture the screen when RDP 
is minimised or RDP is disconnected.. but when i open the RDP , teamviewer 
captures the screen!! 

1) virtual machines have screens or not as i think sikuli is dependent on top 
layer of screen.. !!
---because when we lock the screen , scripts fail..
--- i have tried switching off monitor, but scripts run well..
-- i removed the monitor from the system, sikuli scripts run!!

so i think sikuli is independent of the monitor!!!


2) is there any way we can run our tests on virtual machine, without taking 
RDP!!!

please show me some light!!

thanks 

Anmol Bagga


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