Is it possible to access one Modal dialog's text by scripting? Any opensource tools or APIs are availble to do this task?
i have never seen bugs sleeping
There's a very good scripting language around which supports the functionality you are looking for: AutoIt
Knowing this scripting language is really a plus in my opinion.
Anyway, you will need following function when using AutoIt:
WinGetText ( "title" [, "text"] )
Success: Returns a string containing the window text read.
Failure: Returns numeric 0 if no title match.
$text = WinGetText("Untitled -", "")
MsgBox(0, "Text read was:", $text)
Autoit can do a lot more, I even created a bejeweled bot using this language :-)
Function and example were copied from the AutoIt help file...
TestingMinded - A Software Testing Information blog