Tell me the Script to close winrunner from the script
itself..

Answer Posted / uday

load_dll ("user32.dll");
extern int PostMessageA (in long, in long, in long, in
long);
win_get_info (" {class: window, label: \"!
WinRunner.*\"}", "handle", hWnd);
PostMessageA (hWnd, 16, 0, 0);

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What actually happens when you load GUI map?

826


How to check property of specific icon is highlighted or not?

627


Could you anyone share me the path to download the automation tools which are having trial license version?

1756


What is the purpose of gui spy?

858


How do you configure gui map?

761






What is the difference between writing a function and writing a script?

833


What is the use of virtual object wizard and how it is used?

690


What is tsl? What 4gl is it similar too?

816


How to have winrunner insert yesterdays date into a field in the application?

650


What is the purpose of set_window command?

788


What are the three modes of running the scripts?

633


Name the two modes of recording?

671


Which are default codes winrunner generates when we start the application?

1663


How do you select multiple objects during merging the files?

751


Hi iam a begginer or rather new stsrter to QTP and strugling to start as i have to start writing the automated scripts for the existing manual testing could some one send me some tips ans tricks for a jump start. Any help is greatly appreciated

1897