Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Compliments on a fantastic web site. I have learned so much from my threads and even if sometimes I cannot solve the problem, it gives me the reassurance that I am not the only one putting up with it!..."

Geography

Where in the world do Tek-Tips members come from?

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

0302821275 (Programmer)
9 Jun 08 8:21
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!
 

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!

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