Re: How to click OK button in the Confirmation box
I'm not sure I understand the question.
If the confirmation box is part of the application under test, there should not need to be a new process. As it is a new window from what you're already working with, then you will need to reference it seperately.
A standard example would be something like
<font class="small">Code:</font><hr /><pre>function test()
var p = Sys.Process("MyApp")
var w1 = p.VCLObject("MyForm")
var w2 = w1.VCLObject("OKButton")
This is rather simplistic but I think you get the idea...
Automated Testing Evangelists
Definition expert - noun - Unknown drip under pressure