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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / raj.qtp

object.maximize

Is This Answer Correct ?    2 Yes 2 No

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

Answer / neeraj

Browser("PropertyName:= Property Value").FullScreen
for example

Browser("name:= Google").FullScreen

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More QTP Interview Questions

Where we write the FUNCTIONS, in Expert view (or) in any textfiles like Notepad and save it in Library functions folder? How to cal that functions to our script? How to save that functions to Function generator?

3 Answers  


what is the code in QTP to take screen shot?

4 Answers   TCS,


If the objects hierarchy is changing from build to build, then how you will handle that condition?

0 Answers  


Hi I am working with QTP.If I want to write a certification exams,Which one is the best one suggest me friends!!

2 Answers  


can anyone tell me from where i can download qtp demo or crack version

0 Answers  






w is active screen

2 Answers   GCI, Wipro,


Is QTP supports Unix. If yes, then how the test automation is done?

0 Answers   iFlex,


To which environments does QTP supports ?

1 Answers  


In a web page when we enter the city name corresponding zip code is coming in the required field.Can any one please write how to test using QTP,whether this code is coming from Database or not.

1 Answers  


Hi Guys, I am very new to QTP tool , In real time environment how to test the application with this tool, 1. How to load application in QTP tool 2. How to write test script in QTP. 3. In manual testing we test login box (user id , password) how can we test this kind of testing with QTP tool with examples . Please guys put some focus on my questions , real time ecperienced answers would be appreciate, advance thanks ,please guys i am expecting ur answers as soon as posible

1 Answers   IBM, INCA,


when do we write a script in qtp?(plz give me more then 2 reasons)

1 Answers  


How to use transactions in qtp?

0 Answers  


Categories