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


Please Help Members By Posting Answers For Below Questions

i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

1582


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1425


How do client side image and server side image work?

1392


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

1682


How to run a test using quicktest professional?

532






Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

568


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

1509


how to test Web application using QTP software

1571


If I change the property value at runtime is it effect is object repository?

611


I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2

1500


What is the standard timing delay for web based application in qtp?

589


What are the differences between table and db checkpoints?

537


The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)

2804


Where we can use the synchronization?

575


Diff b/w Health care domain and Banking Domain?

4219