Question #689756 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689756
Pritam Biswas posted a new comment:
Hi Raiman,
Tried with the approach you've suggested. Program is able to focus on the
client application screen. Got another problem, when i'm running the WS through
a browser, it's pulling the client application in front and typing the argument
in the desired field.
but when i'm calling the same URL through a js keystroke of the client
application it's able to focus the screen but not able to type the argument
value in desired field.
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]
#type(BatchNum)
print(BatchNum)
#rightClick(App.focusedWindow())
App.focus("Oracle WebCenter")
wait(4)
click(Pattern("1586330376130.png").similar(0.70))
wait(3)
type(BatchNum)
--
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