What is the method for maximize the application while we
using Decriptive programming in QTP?

Answer Posted / deven

hWnd = Browser("browser_name").GetROProperty("hwnd")
Window("hwnd:=" & hWnd).Maximize

The same can be used for Minimize as well. Just select the
Browser window you wish to trap the handle property for.

Incase you are trying to use Descriptive Programming with
the browser window in question, try the below code -

sTitleMask = "Name of Window - *"
Window("regexpwndtitle:=" & sTitleMask).Minimize

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why you have standardized functions? plzzz guys with real time exp. do answer

1431


What is checkpoints for quicktest professional?

543


How can you send user defined messages to test report?

577


What is smart identification in QTP?

618


If I give some thousand tests to execute in two days what do you do?

576






Explain calling sub procedure.

618


write the vb script for call to new action in qtp?

1853


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1421


What is file database?

1686


What are the types of data tables in qtp?

577


whare exactly we have to use functions and sub routain

1840


can any one say that where we can download the QTP trail version ??????????

1358


banking domain description for software tester for interview

3465


Which functionalities of QTP used in banking project?

1911


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

1565