GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  QTP

 Print  |  
Question:  I m setting the excel sheet path in QTP for importing as : datatable.importsheet "C:Qtpabc.xls"
but if the location of excel sheet path changes to for eg:"D:Data"...the script fails as proper excel sheet path is not given..can u plz suggest how to use a environment variable/xml file to remove data path hard coding??




July 07, 2007 01:07:44 #2
 Deepa   Member Since: Visitor    Total Comments: N/A 

RE: I m setting the excel sheet path in QTP for import...
 
I didn't get what you are trying to explain. Can you Plz explain it with an Example. My Prob is that I want to import data from an excel sheet into a database. ie to implement the insertion Process.
     

 

Back To Question