Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP connection to QC
#1
[/i]Hi,
good morning,

when i am connecting qtp to qc through scripting code written below .when am running the script it is opening qtp but it is giving error msg "connection is not available"

plz any one help .

Code:
set qtplch=createobject("Quicktest.application") qtplch.launch qtplch.visible=true on error resume next qtplch.TDConnection.connect"http://193.178.1.200/qcbin","CERNATECH","EDUTRACKER","kiran.goud","kiran123",true msgbox(err.description)
Reply
#2
Hi,
Could you please use this:

Code:
Set qtApp = CreateObject("QuickTest.Application") ' Create the Application object qtApp.Launch ' Start QuickTest qtApp.Visible = True ' Make the QuickTest application visible If not qtApp.TDConnection.IsConnected Then qtApp.TDConnection.Connect"QC-Link","domain","project","login","password",False End If

Regards,
Sankalp
Reply
#3
thanq i got it.
Reply
#4
Does this work 4 U?????
Reply
#5
yes, am learning Qtp and Qc integration.
thanq
sankalp
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question JDBC connection for UFT Anjali09 0 4,028 10-05-2016, 02:19 PM
Last Post: Anjali09
  Need help with QTP SQL ADO connection, value retrieved is different charanbc 0 3,055 09-21-2012, 04:27 PM
Last Post: charanbc
  QC-QTP Connection failure uma87 1 4,175 02-28-2012, 03:48 PM
Last Post: inborntester
  SQL Connection String with DSN geethwind 0 6,313 10-05-2011, 05:10 AM
Last Post: geethwind
  Connection to Salesforce Objects nipa1984 0 4,151 09-22-2011, 09:55 AM
Last Post: nipa1984

Forum Jump:


Users browsing this thread: 1 Guest(s)