if there r 10 windows open in QTP write a command to close
all 10 windows at a time ?
Answer Posted / a
By using "micclass", we should create Description object.
Then using For loop we count the Dialog objects, and close
it.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to use reporter.report event in qtp ?
What is a data driven test in qtp?
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
How to remove the associated function library?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
i can done the project with QTP in that time i can say how many members in my team size?
what is the difference btn risks & Therads in the Test plan documentation?
how to create flat file datasubmission in qtp
What are private functions in QTP? How they can be called from the function library?
after initiating one project for testing, when exacltly QTP tester role starts?
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
in a web page How to check and display a particular word from a paragraph?
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
What is a recovery scenario?
What do you to script when objects are removed from application?