Answer Posted / deven mehta
First you should add the Task Manager dialog box in the
object repository. This is not a modal dialog box so you
can add it to repository easily.Then use following simple
code.
If Dialog("Windows Task Manager").Exist Then
Dialog("Windows Task Manager").Close
Reporter.ReportEvent micPass "Task Manager" "Successfully
closed task
manager"
Else
Reporter.ReportEvent micFail "Task Manager" "Task Manager
is not open"
End If
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to modify object property in qtp ?
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
How QTP support all types of applications (platforms)?
What are the different types of qtp test assets and their extensions?
How you can find length of array in qtp?
what r the main attributes of test automation?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
What is data driver in qtp? Where we use it?
How can you exit from an action?
give me the code to save all messages of inbox of gmail into a folder and notepad
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
how to write xml output check point bu useing descriptive programing .means without useing output check point
What is the file extension of the code file in qtp?
What is expert view and keyword view?
What is the virtual object?