Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing the Column name in Global Sheet
#1
Solved: 11 Years, 4 Months ago
Hi,

How can i change the Column name in the Global/Local DataTable Sheet?
By default their names are like A,B.. but i would like to change them as name,ID...

Thanks
Ramesh
Reply
#2
Solved: 11 Years, 4 Months ago
Hi,
Would you like to change in design time or runtime..
1)Design time
If you double click on column A then you get a pop up window then enter the required datatable column name.

2)Run time
Code:
Datatable.GlobalSheet.AddParamater "name","Value"
DataTable.LocalSheet.AddParameter "name","Value"
Hope it helps for you..
Reply
#3
Solved: 11 Years, 4 Months ago
Hi somi,
It worked Fine
Thanks You very much for the help

Thanks
Ramesh
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading Global Sheet's DataTable Value Bhuvana 0 1,634 01-05-2020, 10:03 PM
Last Post: Bhuvana
  Error as Global Not defined while trying to retrieve value from Datatable siddharth1609 0 958 09-11-2019, 02:52 PM
Last Post: siddharth1609
  Page element keep changing chong67 4 4,620 11-08-2016, 09:17 PM
Last Post: Paul Rammone
  [UFT] Get column name from SfwObject felino 0 3,013 12-02-2015, 04:07 PM
Last Post: felino
  On Saving Script in QTP 11 my Global Data Sheet data is removed M Adnan Iftikhar 0 2,173 06-02-2015, 09:19 PM
Last Post: M Adnan Iftikhar

Forum Jump:


Users browsing this thread: 1 Guest(s)