Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Local script to make compatible with QC
#1
Not Solved
Hi All,

I have prepared a script in local machine which is working good.
I used below methods/statements for attaching resources/libraries during run time in the start of the script. For this, I used environment variables(GenericLibraryPath = C:\CorpApps\...genericlibrary.vbs) to set the path for resources.

Code:
strConfigFilePath = Environment("TestDir")&"..\..\..\Environment File\Config.xml"
Environment.LoadFromFile strConfigFilePath
GenLibPath = Environment.Value("GenericLibraryPath")
InitLibPath = Environment.Value("InitializationLibraryPath")
AppLibPath = Environment.Value("ApplicationLibraryPath")

LoadFunctionLibrary GenLibPath
LoadFunctionLibrary InitLibPath
LoadFunctionLibrary AppLibPath

Actionname =Environment.Value("ActionName")
RepPath = Environment.Value("Rep")
fnORUpdate Actionname,RepPath


Now I want to run the same script in QC but I need to make changes in Environment variables to make it work in QC. Please help me anything can be done without disturbing the script. If script needs to be modified pls guide me the procedure.

Thanks.
Reply
#2
Not Solved
Any pointers on this??
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to make QTP Script to work when system gets locked? ramkumarad 6 12,474 11-02-2017, 03:37 PM
Last Post: Divv
  Local System Monitor kbhargava505 0 2,522 10-16-2015, 12:52 PM
Last Post: kbhargava505
  How to Create and use local repository Sourabh146 2 2,542 01-28-2014, 10:56 PM
Last Post: jacosta
  How to make QTP take the value of a formula in a spreadsheet? utestqa 1 3,121 07-06-2013, 04:13 PM
Last Post: Ankur
  Can a make Shared OR be made a Local OR sams001 0 1,916 10-30-2012, 03:07 PM
Last Post: sams001

Forum Jump:


Users browsing this thread: 1 Guest(s)