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
What is keyword view in qtp?
How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If
Without using gui map editor we can recognize the application in winrunner ?
if our qtp vb Script may be Currepted then What we want do?
What is the Command used to start the QTP
What the differences are and best practical application of Object Repository?
What are the challenges you faced during you entire life automation ?
What is RTM (require ment tracebulity marix) fromate?
What are the advantages of qtp?
What is a recovery scenario?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
what is supply chain management?
how will you load the test cases in ddt?
What are the different types of recording modes in qtp? Which will be used when?
is it possible to add sheets to excel at runtime