Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
set data from excel file in vbs
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
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
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,
Simple way is to import that sheet in your test's datatable. Then you can access the file as a part of datatable.
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
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.

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Search and import data from excel under some rules. nwpulele 2 2,905 02-19-2015, 04:10 AM
Last Post: supputuri
Sad Save data from pdf file to a word doc Amar 0 2,623 12-12-2013, 12:29 PM
Last Post: Amar
  How to populate data in weblist using excel vijifun 1 3,298 12-05-2013, 12:06 PM
Last Post: basanth27
  how to find Excel file exist or not in vbscript code sree.85 3 11,236 08-22-2013, 11:42 AM
Last Post: akhandesh
  .vbs script error when trying to insert a value in a sapguitable frebuffi 5 6,835 07-18-2013, 03:04 PM
Last Post: Staff

Forum Jump:


Users browsing this thread: 1 Guest(s)