Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get more than one Local DataTable sheet for one Action?
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi,
I have a 6 Pages in Excel and I have 3 Actions,so QTP gives 3 sheets in the local data table.
1 Page details are used by Action1.
2 Page details are used by Action2.

The another 4 Excel Pages are used by Action3.It has more than 25-30columns.
So I want to use 4 different Pages in the local dataTable.[Again I dont want to divide this as a 4 Actions,because all these data needs to work together.]
Is it possible?or QTP will provide only one Page for one Action?

Any help?
Thank you,
Uma
Solved by using following,
DataTable.AddSheet("xyz")
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
As i gave a hint to your previous problem, you can dump any sheet from excel at any point of run time

Datatable.importsheet filename,4,action3
work with it

Datatable.importsheet filename,5,action3
work with it

***************
or better you create workbook objects through excel com (createobject("excel.application"))
Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
Thank you,
It am dumping the sheet from excel..
Uma
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading Global Sheet's DataTable Value Bhuvana 0 1,640 01-05-2020, 10:03 PM
Last Post: Bhuvana
Question QTP not performing iterations based on local data sheet Breaker 18 56,762 01-25-2016, 04:32 PM
Last Post: arunshuklainbox
  Local System Monitor kbhargava505 0 2,526 10-16-2015, 12:52 PM
Last Post: kbhargava505
  How to Create and use local repository Sourabh146 2 2,556 01-28-2014, 10:56 PM
Last Post: jacosta
  export data from one sheet to another sheet in data table raaj123 1 2,351 05-21-2013, 02:21 PM
Last Post: Shahzaad

Forum Jump:


Users browsing this thread: 1 Guest(s)