Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Launch n-times QTP Test with different Excel Files
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi Andrea,

Prabhat's solution is good. But if you find it difficult to create environment variables you can us a simplet for loop.
Please refer the below code:

Code:
For i = 1 to 2
  if i = 1 then
     DataTable.Import("C:\File1.xls")
  else
     DataTable.Import("C:\File2.xls")
  end if
Next

Thanks,
Nandana
Reply


Messages In This Thread
RE: Launch n-times QTP Test with different Excel Files - by Nandana Vijay Kumar - 11-08-2011, 02:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Files comparison using QTP santosh.msr 0 2,178 07-11-2016, 11:38 AM
Last Post: santosh.msr
  UFT taking different script execution timings while comparing 2 excel files. sudheer 0 2,353 06-26-2015, 03:28 PM
Last Post: sudheer
  QTP Should open files(say txt files) it can be n number from a folder. Shiv Y 1 2,784 12-18-2013, 01:45 AM
Last Post: mlkrqtp
  To view log files in QTP sheetal 5 16,760 10-08-2013, 02:27 PM
Last Post: Gurpreet
  "qtp.launch" throwing "class not registered" error auto_tester 0 3,154 08-13-2013, 10:52 PM
Last Post: auto_tester

Forum Jump:


Users browsing this thread: 1 Guest(s)