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

Using Regular expression method some particular value is not present in given value. HOow do use regular expression? Forexample password all number,character ,special character are accepted but (_',)underscore,comma are not used. How do write regular expression.

1 Answers  


What is the extension for Recovery scenario?

2 Answers  


what properties do use to identify a browser and page while using descriptive programming?

3 Answers   TCS,


I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action 1 for the two iterations only after which i want to exceute the next Action2. How is this possible?

4 Answers  


What types of testing comes under functional testing or in other word what will you test in functional testing?

3 Answers   Infosys,






Username field having some string mistake like"user naem".what type of testing i prefer to test spell check.

6 Answers   GE,


What are output values and why they are used ?

0 Answers  


What does VBS file contain..? what is VBS file.?

4 Answers  


In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?

2 Answers   Wipro,


what is the diffrence between script and Language ? (Chandana)

6 Answers   Cognizant, Wipro,


What is the difference between a Test and a Business Component? Is it necessary to use Business Component while testing an application in the real time?

2 Answers  


i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it need some title of pop up but i want that it should handle all the pop up even i don't give the title of that pop up in recovery scenario is there any general way to handle all the pop up please help

3 Answers  


Categories