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
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 |
Answer / krishnateja muppalla
Simple and direct answer to the question.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is test object model in quicktest professional (qtp)?
How you can make an action as re-usable action?
In a webpage how to check the dynamic links that re changing regularly?( without using regular expressions.)
any one can send me the concepts of qtp
How to create a Runtime property for an object in QTP?
what is runmodes in QTP
If I want to run more than one test (With different functionality) with in one script, then what i do? plz. explain with any example.
After running scripts how you report results ,there is any specific report form
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
what are the metrics in general we use in testing.
QTP Query: Hello to all, I'm getting an error (as below) when I perform descriptive programming on any Web application. "The test run cannot continue due to an unrecoverable error.The "myvar_0" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object " But I do not have any problem when I perform the same descriptive programming on a Windows application such as Sample Application - Flight. Previosly , I had prepared a lot of scripts - both via creating the properties collection object and by giving the description in string arguments and implemented them on Flight and they're working perfectly fine.I'm using QTP Version 9.2 The sample script I have used for Web application is as below : Set myvar_0 = Description.Create 'Setting property collection object for Browser myvar_0("class").value = "Browser" myvar_0("name").value= ".*" 'Setting property collection object for Page Set myvar_1 = Description.Create myvar_1("class").value = "Page" myvar_1("name").value= ".*" 'Setting property collection object for Text box Set myvar_2 = Description.Create myvar_2("class").value = "WebEdit" myvar_2("name").value= ".*" 'Setting property collection object for Button Set myvar_3 = Description.Create myvar_3("class").value = "WebButton" myvar_2("name").value= ".*" SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe" Browser("myvar_0").Page("myvar_1").WebEdit("myvar_2").Set ("hello how are you ?") Browser("myvar_0").Page("myvar_1").WebButton ("myvar_3").Click Browser("myvar_0").Page("myvar_1").Sync Browser("myvar_0").Close As our application is a Web based application, I was planning to make a few changes in regards to the object names, but unfortunately I am getting the above mentioned error. Could anyone please advice me, whether it could anything to do with the run setting or anything else.I am getting the same error even while implementing on our Sample Application - Mercury Tours website. I would be grateful to anybody who can solve my problem !!
Hello Everyone, I have a problem. QTP is capturing no action on a particular page in the application that I am trying to automate. But on the same side its working fine on other pages of the same application. Can someone please help me understand the reason behind this inconsistency.