What is the method for maximize the application while we
using Decriptive programming in QTP?
Answers were Sorted based on User's Feedback
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 |
Answer / neeraj
Browser("PropertyName:= Property Value").FullScreen
for example
Browser("name:= Google").FullScreen
| Is This Answer Correct ? | 2 Yes | 2 No |
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ?
What does it mean when a check point is in red color? what do u do?
How to find the number the number of Links, Brolken Links in a webpage?
give me the code for check point for validating application
WHICH PROCESS U FOLLOW IN COMPANY
How you can decide which type of object repository you have to use?
What is Environment Variable and when we apply this in QTP?
how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script
what is the difference between function and subroutine ....here every one knows theoretically...here my QUESTION IS WHAT IS THE MEANING OF FUNCTION CAN RETURN A VALUE AND SUB CAN NOT RETURN A VALUE .....WHAT DOE'S IT MEAN FUNCTION CAN RETURN A VALUE HOW FUNCTION CAN AND SUB CAN'T ....GIVE A EXAMPLE FOR BOTH ....HOW IT CAN AND CAN NOT...HELP ANDY ONE....
What is the difference between the keyword view and expert view?
You have an application version 1 with 5 combo boxes, Developers develop version 2. Here they replaced bottom 3 combo boxes with each other. While executing the Test script for version1 no errors. When we execute the Test script for version2 that QTP showing the error message "Object not identified" remember no property changed in version 2, ordinal identifier also disabled. Find what properties might change here in this scenario