Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a global variable in QTP
#2
Not Solved
Hi Glastar,

I think you are doing wrong when writting value to datatable.

Can you please try to use Datatable.SetCurrentRow(i), rather than using setnextrow.
Code:
Datatable.SetCurrentRow(i)
No need to use the Datatable.GetSheet(i), as it is not at all useful in this contest.
Thanks,
SUpputuri
Reply


Messages In This Thread
RE: How to create a global variable in QTP - by supputuri - 08-04-2010, 07:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading Global Sheet's DataTable Value Bhuvana 0 1,485 01-05-2020, 10:03 PM
Last Post: Bhuvana
  Error as Global Not defined while trying to retrieve value from Datatable siddharth1609 0 865 09-11-2019, 02:52 PM
Last Post: siddharth1609
  cannot create java virtual machine on QTP 12.02 version richa5685 0 1,861 02-23-2016, 11:18 AM
Last Post: richa5685
  On Saving Script in QTP 11 my Global Data Sheet data is removed M Adnan Iftikhar 0 2,062 06-02-2015, 09:19 PM
Last Post: M Adnan Iftikhar
  global object which can be called in any action excellentpawan123 2 2,600 04-01-2015, 07:34 PM
Last Post: babu123

Forum Jump:


Users browsing this thread: 1 Guest(s)