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 to capture screen shots when an error occurs?
Hey friends i m facing a problem when i m running my script in qtp it waits for about 5-10 secs before starting execution why it is so can any one solve my problem .Previously it was running fine
How we test the logo or images in the web page using QTP? For example take google page, they change their logo for new year,christmas etc..How we test that? Plz answer this question... Thanks in advance..
I AM NEW IN QTP,PLZ TELL ME ANY BOOKS FOR QTP, MY COMPANY IS QTP,SO I LEARN QTP,PLZ ANYBUDY HELP ME
If you entered into yahoo mail with your valid user name and password , then you will get " welcome , username " (for example you will see , “welcome, Krishna” ) text on the top of the Inbox page , how can you test the user name is correct or not using QTP?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
Through array we can execute the testcase how ? give me example
Think and Reply.. can we parameterize radio buttons, check boxes? as in flight web site on flight preference page, choosing different flight produces trouble if from port and to port been parameterize, and runs. Try it by own you will get the error.
Output values? i want a practical example
What are the Disadvantages of shared object repository?
Difference between image checkpoint and bitmap checkpoint
Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?