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

How to test fly out menu in qtp?

0 Answers  


. My application is updating the user information in the application. Every time it is Adding on record in my application and Validating the information like “Record has added successfully”. Which Check point I have to put in this situation? Why?

5 Answers   Polaris,


How to run a test using quicktest professional (qtp)?

0 Answers  


Give me some real time point of way where exactly we can conduct audits?

0 Answers   CTS,


Up to how much VB scripting knowledge and what type of VB script knowledge is required for a QTP test engineer for real time to work ?

3 Answers  






What is smart identification in QTP?

0 Answers   HCL,


How open an excel sheet in QTP(not a run time )?

4 Answers   Tech Mahindra,


What is the Diff between Image check-point and Bit map Check point?

4 Answers  


how to use import and export sheet methods in qtp

1 Answers  


What is the parameterization?

0 Answers  


we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?

6 Answers   Cognizant, Covansys,


Definationions for keyword view and tree view?

1 Answers  


Categories