Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to attach external files to a QTP script?
#5
Solved: 11 Years, 1 Month, 4 Weeks ago
Prabhu - Please read through the forum guidelines and ensure that you do not reopen old posts. Please create a new Post for a NEW question.

Answer :

Yes using the AOM you can do the task.

Code:
Set objQTPApp  = CreateObject("QuickTest.Application")
Set objQTPLibraries = objQTPApp.Test.Settings.Resources.Libraries
If objQTPLibraries.Find("C:\QTP Automation\Library File 1.vbs") <> -1 Then
    objQTPLibraries.Remove "C:\QTPAutomation\Library File 1.vbs"
End If
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
RE: How to attach external files to a QTP script? - by basanth27 - 09-02-2009, 06:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot attach the text file to email arpan 2 3,378 07-19-2013, 12:13 AM
Last Post: arpan
  Download Files from AUT using QTP script qtptest 2 6,635 10-27-2012, 10:21 AM
Last Post: qtptest
Exclamation How to read the contents of external excel sheet qtplearner88 10 10,741 05-25-2012, 12:00 PM
Last Post: supputuri
  programming to use different external file of environment variables bundfromnj 1 3,915 01-19-2012, 05:32 PM
Last Post: SteveS
  Is there any way to store different configurations of our datasheets and attach them advqtpuser 1 2,471 03-19-2011, 04:06 AM
Last Post: tdevick

Forum Jump:


Users browsing this thread: 2 Guest(s)