Terminal Not Connected

uiautomation
studio
terminal

#1

Scenario:

i have to make 300 or Upto 300 Nos of entry In IBM Mainframe System

Steps to reproduce:

Gathered the data from a excel and loop through the data and created the sequence to enter the data. this for loop is works inside the terminal session. so, only single terminal session variable is used. (As per the UiPath Recommendation).

Current Behavior:

nearly 30 records was processed correctly. after that or near to 30 records terminal session get closed.

Expected Behavior:

have to run continuously without getting error.

Studio/Robot/Orchestrator Version:

Studio : 2016.2.6274

Last stable behavior:
Last stable version:
OS Version: Windows 7
Others if Relevant: (workflow, logs, .net version, service pack, etc):

Error Screenshots

approval error

approval error3

IBM Client Version

ibm client version


#2

Hi @ddrdushy1,
May i know the provider details and the mode you are choosing to connect with the terminal based application?


#3

hi @jibanjyoti, please find the below screenshot

image

connection string
"{'AttachExisting':false,'ConnectionType':0,'EhllBasicMode':false,'EhllDll':null,'EhllEnhanced':true,'EhllFunction':'hllapi','EhllSession':'A','Host':null,'Mode':1,'Port':23,'Profile':'UiPath_Test.WS','ProviderType':1,'ShowTerminal':true,'TerminalType':0}"


#4

HI @ddrdushy1,
You have to create a session using IBM Session Manager. The profile should be saved inside “C:\Users\your_username\Documents\IBM\Client Access\Emulator\private”. Then Use an existing profile, browse and choose the .ws file under IBM Personal Communication.
Note: You have to handle the first popup using GUI Automation and after that you should start your terminal activity.

Regards,
Jiban


#5

i done that, its working nearly 30 records and get closed


#6

@ddrdushy1,
By default, the connection timeout is set to 60 minutes. After that it disconnects / terminates the session automatically.
You can use the output connection property and re-use that in the field of Use Existing Connection property in next session initialization.

Hope you understood.


#7

thanks @jibanjyoti, I found the issue. to speed up my process I set the delay value to 30ms, this is the cause to the error, now I reset it to the default 300ms. now It’s working fine,

@badita , may I know recommended Delay value for the terminal activities like send key ,get Text and set text ?


#8

How will we use the connection string without opening the terminal window…

And one more thing i need to ask is how can we get the session name because it will changed.