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

what is database check point, how will you parameterize the database from seperate data table?

2 Answers   JPMorgan Chase,


How can I find out whether a word in a string is existed or not for example "QTP IS A POWERFULL TOOL FOR AUTOMATION" How can i find out whether "powerfull" is existed in the above string or not Could anyone answer it?

7 Answers   Livetek,


What all challenges you have faced during automation and how you have resolved it?

2 Answers   Genpact,


How many ways we can parameterize data in QTP ?

9 Answers  


How do you send email with attachment from outlook using qtp ?

0 Answers  


Can any one please explain hwo to test client/server application using QTP?

3 Answers   Patni, Value Labs,


how u track bugs using Test director in manual testing.

2 Answers   Accenture, FCG,


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

0 Answers  


Give the syntax to load function at run time.

0 Answers  


explain all the check point in QTP?

1 Answers   BirlaSoft,


How to find Operating system information using QTP script?

0 Answers  


What are the versions of qtp,What are the differences b/n them?

1 Answers   TCS,


Categories