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

Description changed to:
Hi,

I've a client application called Oracle Capture, in that application
there is a field called "Batch_Num". I want sikuli to populate the field
with the value i'm passing as argument (I'm using Sikulix server here).
But i'm unable to focus the client application window itself and click
on it seems not working. Any idea where i'm messing it up?

WS- http://localhost:50010/scripts/CMD_Test/run?args=456

cmdPath = os.getenv("comspec")
title = "My Command Line"
cmd = 'start "%s" %s'%(title, cmdPath)
os.popen(cmd); 
wait(3)
#paste("Name")
BatchNum=sys.argv[1]
print(BatchNum)
#rightClick(App.focusedWindow())
App.focus("Oracle Webcenter Enterprise Capture")
wait(3)

click(Region(38,928,772,37)) //This is the location of the field
type(BatchNum)

VErsion- 2.0.3
JDK- 1.8

Regards,
Cris

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to