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

Answer Posted / shashikala

Dim s
set s=createobject("WSCript.Shell")
s.run "cmd /k date"
set s=nothing

Using The above code we can get the date in command prompt

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Plz Explain AUTOMATION REFERENCE MODEL?

1681


Whether qtp 9.0 supports Test director8.0

2120


what is review

1611


Explain sub procedure of vbscript.

590


i have asked earlier only one question how to test web application using QTp plz send me the answer quickly

1657






How you calling actions in qtp?

630


regular expression in qtp standar check point for months from accepting months from january to december only

1475


can the activities of test case design be automated?

1454


what is test scheduleling?

2013


How we can import data from database?

644


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

1671


Mention what are the different types of recording modes in qtp? Which will be used when?

559


Explain the parameter in qtp?

579


How many types of parameters are there?

547


Can launch two instances of qtp on the same machine?

581