How to Import data from a file (file is on the desktop) to
the data table



How to Import data from a file (file is on the desktop) to the data table..

Answer / swayam.nayak

By Using Datatable.Importsheet

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

We have an application which is built using multiple technologies and are using QTP as the tool for Automating the same. While we spy over a combo box in this application, we get the object name as a "Combo Control" and we are not able to perform any action over this object in either selecting or checking any method for the same like "Exist" etc. Hence we thought of a solution and the same can be found below

0 Answers  


write a vb script to generate fibonnaci numbers

1 Answers  


How can you destroy an object in vbscript?

0 Answers  


what is extension of the file if its saved from recovery manger to some drive

1 Answers  


How will you convert a given number to long in vbscript?

0 Answers  






What is the difference between javascript and vbscript?

0 Answers  


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

0 Answers  


Write a Script for ATM in QTP

0 Answers  


write a vb script to generate 3*3 matrix

2 Answers  


What is the technology used by vb script?

0 Answers  


I want to count the total no of links present in yahoo home page. The script like Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo!India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing But while running the script it is fail (the object not present in the object repository).How to overcome please tell me the detail steps...for QTP9.30

1 Answers  


What are the environments supported by vbscript language?

0 Answers  


Categories