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
What is QTP’s model for test creation?
What is Unicode Compatibility?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
How can you close the second opened browser?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
What is object spy in quicktest professional?
What are the different recording modes?
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
How many types of recording modes in the qtp?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
What VBScript operators, functions, and statements do you use in QuickTest Professional?
Define Environment Variable in UFT and its uses?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
Is any limitation to xml checkpoints?