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

Answer Posted / mythreyi

We can import a file in two ways.

1) In Qtp window -> Go to data table -> Right click on data table select File -> import file

2) In keyword view, write datatable.import "path of the file"

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1461


What are events in the vbscript language?

769


What are the environments supported by vbscript language?

690


Which function is used in the vbscript language to convert the specified expression into a date type value?

693


How to assign a date value to a variable?

777


what is the differance between BYVAL,BYREF?

1987


Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards

2461


Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

1618


what types of bugs will we find out in banking projects for automation testing?

1988


What are class variables?

795


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

661


What is the use of the instr function?

782


Explain the filter expression?

835


How many types of operators are available in the vbscript language?

743


Why to use option explicit in vb script?

800