Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to write on IBM personal communication session #2

Open
sabari-karthik opened this issue Dec 8, 2016 · 1 comment
Open

unable to write on IBM personal communication session #2

sabari-karthik opened this issue Dec 8, 2016 · 1 comment

Comments

@sabari-karthik
Copy link

I am using butler-mainframe to automate IBM personal communication. I am able to open the application and scan the screen, get the cursor location successfully but not able to write on the screen. The weirdness here is, i am not getting any error on the script. So not sure what the issue is? is there any settings i need to change in application for the script to write on the screen or do i need to pass any additional arguments from my script?
All i am trying to do is, open the screen and enter username and password and hit enter.

steps i followed,

  1. gem install butler-mainframe
  2. updated config.rb file to use pcomm session B
  3. host = ButlerMainframe::Host.new
  4. sleep 5 seconds
  5. �host.write 'username', :y => 6, :x => 30
    host.write 'password', :y => 7, :x => 30

i appreciate any help on this at the earliest. Thanks in advance

@marcomd
Copy link
Owner

marcomd commented Dec 9, 2016

Hello,
if the screen scan works, the connection was established, so you should be able to write text on the screen.
If you try to use the session A, it works? If yes you should check your config file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants