Answer Posted / king
Hi Bathi,
dim app
set app=createobject("QuickTest.application")
SystemUtil.run "cmd.exe" 'the command prompt open
app.sendkeys "cd\"
app.sendkeys "~"
app.sendkeys "cd Foldername"
app.sendkeys "~"
app.sendkeys "dir *.xls"
app.sendkeys "~"
i think this is working properly accoring to my knowledge.
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What are the properties you would use for identifying a browser and page when using descriptive programming?
How does qtp recognize objects in aut?
Why we load add-ins in qtp?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
QTP script is not working on other's machine..
How to write business scripts using object repository with different scenarios
when will you do debug your script? and explain that process?
What is Port testing. Whhen will you perform?
How to test the login page in different ways in automation testing and i need code?
What are the key elements available in test result window?
How to find the path of folder in which the test is saved in qtp?
Object repositories types, which and when to use?
What are the different types of recording modes in qtp? Which will be used when?
Explain in brief about the quicktest professional automation object model?