What is the method for maximize the application while we
using Decriptive programming in QTP?
Answer Posted / 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 |
Post New Answer View All Answers
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
why you have standardized functions? plzzz guys with real time exp. do answer
Which functionalities of QTP used in banking project?
What are the types of environment variables in qtp?
How do you test DLL files using automation Tool QTP?
What is the descriptive programming?
What is test object?
write the vb script for call to new action in qtp?
which type of testing process are you following in ur company? how to recognize a qtp page?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
What is CMMP and CMMH?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
What are the 3 main stages involved in testing with qtp?
How you are developing the script? Using record and play back or manual?