Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
set data from excel file in vbs
03-08-2010, 06:27 PM
Post: #1
set data from excel file in vbs

hi all
can any friend help me to write the VBS code in qtp to get the the data from excel file from my computer or other and insert into the text fields on forms. suppose i have a form with 3 fields like username, email,and phone. this information is saved in excel file according to the field's name in column.


thanks
Find all posts by this user
Quote this message in a reply
03-08-2010, 06:30 PM
Post: #2
RE: set data from excel file in vbs
Hi,
Simple way is to import that sheet in your test's datatable. Then you can access the file as a part of datatable.

Thanks & Regards,
Manoj
Find all posts by this user
Quote this message in a reply
03-08-2010, 06:31 PM
Post: #3
RE: set data from excel file in vbs
hi devang,

have you tried searching this forum, there are many threads on the same topic discussed earlier.
you will definitely get help from there and can try yourself.

let me know if that does not help you.

Thanks,
~Saket Kumar
[Linkedin][pdf Api for QTP]
It's so hard when I have to, and so easy when I want to...
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  QTP file compare - ignoring file structure Fede 3 540 02-17-2012 02:48 AM
Last Post: Parke
  Send Data from MSWord document 2 Excel File kisskasa 0 488 01-10-2012 01:51 PM
Last Post: kisskasa
  VBS to DLL to QTP ssco77 5 3,122 12-16-2011 01:21 PM
Last Post: prashants1
  it is possible import from excel to table with expected data of checkpoint database i sarcastic 0 460 08-05-2011 04:42 PM
Last Post: sarcastic
Exclamation how to Pass Optional Parameters in VBS? ShrikantBiradar3449 1 1,400 06-13-2011 03:12 AM
Last Post: Skepsis

Forum Jump:


User(s) browsing this thread: 1 Guest(s)