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 to creating an output value using quicktest professional (qtp)?

570


Analyzing the checpoint results?

599


How do you send email with attachment from outlook using qtp ?

565


How to use the object spy in quicktest professional (qtp) 8.0 version?

514


What test you perform mostly? Regression or retesting in your testing process?

579






In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1421


How will you compare keyword and expert view?

541


i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

1582


how can i call function (which has link with excell sheet at a remote location) within another function

1579


What are the advantages of a Hybrid framework?

603


Write a script to customize the test results in PDF and HTML format.

2086


Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work

1446


Plz Explain AUTOMATION REFERENCE MODEL?

1684


How to execute a winrunner script in quicktest professional (qtp)?

521


Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.

1392