Hi All,

I faced a qn in an interview

1. There is some data(array.....etc..)
2. I want to export in to datatable
3. Here i am using below code , result displays only last value

How to handle...



str="ABC DEF GHI"
d=Split(str," ")

For i=lbound(d) to Ubound(d)
msgbox d(i) '
Datatable.Value("Test_Column",dtglobalsheet)=d(i)
Next

*Result*


[image: Inline image 1]

-- 
Vamsi Reddy
*
*

* *

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

<<image.png>>

Reply via email to