write a qtp script to see time in windows command prompt?
its urgent....

Answer Posted / raju

set a=createobject("wscript.shell")
a.run "command"
a.sendkeys "time"
wait(5)
a.sendkeys "~"
a.sendkeys "Exit"

i this script working. if at all any quarries please send
me mail
raju.ippali@gmail.com
9823257761

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of parameters are available in quicktest professional (qtp)?

585


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

583


Where we can use the analog mode and where we can use the low – level mode?

564


what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

1490


can u explain relative path architecture framework in qtp?

1561






Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

2202


Explain features of the latest version of qtp/ uft 12.1?

606


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1351


Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........

1579


Shall we add Local Repository to shared object repository,if yes,how we add

5694


How to use setroproperty?

575


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

1478


Explain about datafile/verification of date file when file is not available in local system?

2227


I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.

1741


what is ODC and GDC?

7351