New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Absent Member.
Absent Member.
284 views

QTP is throwing the following error Activex Component cannot create object "socket.tcp"

QTP is throwing the following error on the usage of set obj = createobject("socket.tcp")

Activex Component cannot create object "socket.tcp"

 

Can anyone please help me in resolving the issue

0 Likes
1 Reply
Highlighted
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Seems you don't have the COM library which you can use to create object. Refer this thread and find it.

http://www.visualbasicscript.com/Script-Telnet-m38306.aspx

Accept as solution/Give Kudos to the author if the piece of information answered/helped you to solve your problem.
All the thoughts here are mine not related to my employer nor anyone.
Test Automation Ecstasy
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.