Could some one explain me how to create folder on the
desktop from QTP?? This is an interview question

Answers were Sorted based on User's Feedback



Could some one explain me how to create folder on the desktop from QTP?? This is an interview quest..

Answer / king

set a=createobject("scripting.filesystemobject")
set b=a.createfolder(Path of the folder)

i think this is working properly
if u have any quarries plz mail me
raju.ippali@gmail.com

Is This Answer Correct ?    4 Yes 1 No

Could some one explain me how to create folder on the desktop from QTP?? This is an interview quest..

Answer / krishnateja muppalla

Simple and direct answer to the question.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Hi Friends, I'm new to QTP. I want to write a function in QTP for below senario. In an Excel sheet column B, I Have 10 Url/Links, and in Colum A there is a Flag as Y and N. My test should run only on those iterations which are flagged as Y. Please help, Thanks

6 Answers  


Is manual Testing replacement of automation testing?Which types of testing we can not do in automation testing but can do in manual testing?

1 Answers   Hewitt, Wipro,


who is the best faculty in Hyderabad for QTP?

47 Answers   IBM,


How will you handle the situation when object is not captured during record?

12 Answers   AZTEC,


How i can test the background color of the records displayed in a Table. Eg i have a .net desktop application and there is a Table(swftable) with records displayed in the grids. i have to validate whether the 1st record is displayed in white background color and 2nd record in light blue background color...But the constraints is that once user click on the first record...the background color changes to grey.......Plze let me now how to validate this with QTP 9.2.

9 Answers   Accenture,






How to pass a variable in Dos Command using QTP? Eg: Dim path1, path2 path1 = "C:\Test\sample1.doc" path2 = "C:\Test\sample2.doc" How can we pass these path1 and path2 inside the "copy" dos command? I tried like this. this is not working. oShell.run "cmd /K copy" &path1 &path2

1 Answers  


anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example

2 Answers  


Is it possible to merge two object repository files in qtp?

0 Answers  


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

0 Answers  


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

0 Answers  


How you test the object which is dynamically changes its location?

7 Answers   Wipro,


In Object Repository, two actions r there. Action1 name is A.tsr, Action2 name is B.tsr. Is it Possible? if Yes, what is the out put of A+B? if No, why?

2 Answers   Kanbay,


Categories