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 can we know the program is testing by multiple test data in data driven frame work?

1 Answers   CTS,


Shall we add Local Repository to shared object repository,if yes,how we add

4 Answers  


what is option explicit?

5 Answers  


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,


Limitations in QTP?

0 Answers   CIL,






describe some problem that u had with automation testing tool?

3 Answers  


Without using gui map editor we can recognize the application in winrunner ?

0 Answers  


Can we record using all the modes in a single script? Explanation with example is appreciated

0 Answers  


How to call actions in QTP?

2 Answers   Wipro,


If there are 10 notepads opened on desktop. how can we close a particular 2nd notepad using script

3 Answers  


How we can do Batch testing in QTP?

6 Answers   Kanbay,


What is the use of "Registeruserfunc" when should we use it? Note:Please do not copy paste the date from QTP help. I tryed it.But I don't Understand where should we use exactly.

5 Answers   Livetek,


Categories