Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to close a Window obj with a "text:="& ReportName
#4
Not Solved
Code:
Set oWindow=Description.Create()
oWindow("micclass").Value="Window"
oWindow("text").Value=ReportName&".*"
Set obj=Desktop.ChildObjects(oWindow)

msgbox obj.count
Reply


Messages In This Thread
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,059 05-21-2020, 08:46 PM
Last Post: CharlieMadrid
  Object doesn't support this property or method: 'window(...).window(...).winobject' senthil5683 1 3,490 07-04-2016, 07:08 PM
Last Post: venkatesh9032
  Dynamic obj rep - get text in the class (html) marcio cravo moreira 0 2,037 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 12,084 06-19-2013, 08:34 PM
Last Post: arpan
  Need to compare two text files - ignoring some text nelly27281 2 4,370 09-09-2012, 12:09 PM
Last Post: freeboynil

Forum Jump:


Users browsing this thread: 1 Guest(s)