Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem in using importing data sheet value and design table value
#1
Not Solved
I have an local action containing three columns and with 10 rows data.Also I have an excel file which contains 5 columns with 5 rows data.So while running the script I am importing the excel file data into the local action.Here importing is happening successfully but my requirement is to use run time data table value and design data table value with out stopping the test.Can you please suggest me in doing this operation(So if we import excel file into the global sheet then we can use both the values i.e., imported global action value and local action value but we are using global sheet for other purpose)
Reply
#2
Not Solved
Why dont you import it to a action ? You can use Globalsheet for your purpose and make use of the action sheet for the import/export. Read through QTP Help to understand about Global and action sheets and their differences.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Not Solved
Add another sheet to your datatable and import the excel data into the new sheet.
You can do this runtime.
use
Code:
DataTable.AddSheet <<Your Sheet Name>>
Datatable.ImportSheet <<Excel file Path>>,<<Source sheet>>,<<Dest Sheet>>

does this solve your issue.

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Missing Resources, Information Pane, Debug Viewer, Run time Data Table not visible Aurodeepta 3 6,976 05-28-2015, 02:52 PM
Last Post: Aurodeepta
  Data Table in QTP QTPBeginer 1 3,886 08-25-2013, 02:28 PM
Last Post: GregHicks
  [ QC& QTP] issue with Qc design step parameter seritalien 0 1,921 05-29-2013, 06:56 PM
Last Post: seritalien
  Delete Design Time DataTable nomankhanhyd 0 1,979 05-22-2013, 10:32 PM
Last Post: nomankhanhyd
  how to move an array to data table jloyzaga 0 2,789 11-08-2011, 07:52 AM
Last Post: jloyzaga

Forum Jump:


Users browsing this thread: 2 Guest(s)