If there are 10 notepads opened on desktop. how can we
close a particular 2nd notepad using script
Answer Posted / girishkumar
CreationTime is best for it
While Browser("CreationTime:=0").Exist
Browser("CreationTime:=0").Close
Wend
http://motevich.blogspot.in/2008/06/qtp-descriptive-programming-browsers.html
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is the default object synchronization timeout in qtp?
How to test background color and dynamic images during run time can you put the check point for moving objects?
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
What is qtpro? What is quick test pro?
In what occasion we can specify global sheet and action sheet?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
how u will evaluate the tool for test automation?
Key word driven framework
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.
assume i have few url link how will i dynamically call then using descriptive programming?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What are the various types of Actions in UFT?
What is the difference between the keyword view and expert view?
How many ways is to parameterize the value?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?