INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

What to do "Terminal emulator has been disconnected from the server"

What to do "Terminal emulator has been disconnected from the server"

(OP)
Hi I am looking for a solution to a problem that has troubled me so much I can't even say!
I have made a test in QTP that runs through number of rows in a terminal emulator screen and checks that every thing is in order.

But I get a run error from time to time, it is not consistent in when it appears but there is a tendency that it comes in the same tree lines of code.
The error states "The terminal emulator has been disconnected from the server" and if I hit the retry button it starts again.

I'm looking for an explanation to why it disconnects, or a solution to go around it.

I've tried to manage it with recovery scenarios but can't get it to work, think that it is because it is QTP it selves who cast the error (I think).  

The code where it , most of the times, fails is :

Do until Totalrowcount < DataTable.GetCurrentRow
TeWindow("TeWindow").TeScreen("Menu Utilities Compilers").TeField("Command").Set "1"
TeWindow("TeWindow").TeScreen("Menu Utilities Compilers").SendKey TE_PF8
Linecounter = TeWindow("TeWindow").TeScreen("Menu Utilities Compilers").TeField("Totallinecounter").GetROProperty("text")

But i am not sure that it is the problem, cant see why it should make the emulator fail, but i would love to be wroung smile
Hope that someone have an answer, because the test I made is useless if it can't run several hours without attendance!

Looking forward to you replies!
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close