Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Default.xls is not updated in QTP 11
#2
Solved: 11 Years, 4 Months ago
Every test has its own default.xls
The script inside the external action corresponds to default.xls of external test !
But when you call it as an external action, while execution of that script,qtp will search for default.xls of calling test! so it can actually throw error if same column names are not used in "calling test's default.xls"

Instead of messing up with these default.xls of multiple tests, create an excel file outside both the test folders and inside your integration project.
Use that path of file in the reusable action's code.Now when you call it as external action also, it will always get/set data present in the single excel file in that path!

However i suspect your problem to be not able to update the original file due to not exporting the data and directly trying to change table cell values which are in effect only during the run session!
So make sure you are using Datatable.ExportSheet/Export method after making necessary updates.
Reply


Messages In This Thread
Default.xls is not updated in QTP 11 - by atanu - 07-10-2011, 10:50 AM
RE: Default.xls is not updated in QTP 11 - by rajpes - 07-10-2011, 12:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Invalid file error importing xls file Makhado 0 1,420 10-04-2018, 04:33 PM
Last Post: Makhado
  How to append date to xls file using qtp datatable methods? yona34 1 1,656 05-04-2018, 08:56 PM
Last Post: Ankur
  Default state of new action aparajita 1 2,355 08-25-2015, 12:11 AM
Last Post: aparajita
  UFT 12.02 Launching default home page sureshbl 0 3,308 06-01-2015, 02:15 AM
Last Post: sureshbl
  QTP to default to a path salmankhan20039 19 31,147 09-03-2014, 12:46 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)