Author Topic: TDConnection Object response Late - 2minutes  (Read 1784 times)

Offline joseph

  • Newbie
  • *
  • Posts: 42
  • QTP Professional
    • http://
TDConnection Object response Late - 2minutes
« on: May 06, 2009, 02:41:54 pm »
Hi all,

I am experiencing late connection to Quality from Vbscript. I have used TDConnection object to connect to QC server from offshore. The QC server is there in onshore. It is taking me 2 minutes to get connected. I think it is very late. Can we improve the performace on TDConnection. Please let me know. It is very crucial. The code is below:

Set tdc = CreateObject("TDApiOle80.TDConnection")

qcServer="..."
tdc.InitConnectionEx qcServer

tdc.Login "uname", ""

msgbox tdc.LoggedIn ' It is coming after 2 minutes nearly..



qcDomain="TEST"

qcProject="TEST"

tdc.Connect qcDomain, qcProject

MsgBox tdc.ProjectName ' It is coming after 2 minutes nearly..


MsgBox tdc.ProjectConnected

Offline Tarun Lalwani

  • Administrator
  • Hero Member
  • *****
  • Posts: 3037
    • KnowledgeInbox
Re: TDConnection Object response Late - 2minutes
« Reply #1 on: May 06, 2009, 09:38:37 pm »
You should sort that out with your network folks. This has nothing to do with the code you are writing. The issues is more related to network.
Regards,
Tarun
KnowledgeInbox Administrator

KnowledgeInbox" style="border:0