Code:
Set oWindow=Description.Create()
oWindow("micclass").Value="Window"
oWindow("text").Value=ReportName&".*"
Set obj=Desktop.ChildObjects(oWindow)
msgbox obj.count|
How to close a Window obj with a "text:="& ReportName
|
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
How to close a Window obj with a "text:="& ReportName - by mv8167 - 02-02-2012, 11:19 PM
RE: How to close a Window obj with a "text:="& ReportName - by rajpes - 02-03-2012, 08:20 AM
RE: How to close a Window obj with a "text:="& ReportName - by mv8167 - 02-03-2012, 09:10 PM
RE: How to close a Window obj with a "text:="& ReportName - by rajpes - 02-03-2012, 10:08 PM
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| How to close/restart UFT in "Not responding" status with AOM script | CharlieMadrid | 0 | 1,829 |
05-21-2020, 08:46 PM Last Post: CharlieMadrid |
|
| Object doesn't support this property or method: 'window(...).window(...).winobject' | senthil5683 | 1 | 4,111 |
07-04-2016, 07:08 PM Last Post: venkatesh9032 |
|
| Dynamic obj rep - get text in the class (html) | marcio cravo moreira | 0 | 2,422 |
05-26-2015, 06:58 PM Last Post: marcio cravo moreira |
|
| Read text from text file and save it into a variable in qtp | arpan | 3 | 14,075 |
06-19-2013, 08:34 PM Last Post: arpan |
|
| Need to compare two text files - ignoring some text | nelly27281 | 2 | 5,127 |
09-09-2012, 12:09 PM Last Post: freeboynil |
|