Originally Posted by
toolz
Hi All,
I am using a .Net application. I have enabled the extension for the application. I am able to identify each .Net object properly. But whenever I write a small script to access those Objects I get "Window is not active" error.
For eg.
I have a window declaration for all the textfields in my application but when I try to run the following script,
WorkBench.BenchmarkInfo.ModelFreeCash.SetFocus()
WorkBench.BenchmarkInfo.ModelFreeCash.SetText("")
I get the following Error
[ ] *** Error: Window '[SwfTextField]Model Free Cash|[SwfTextField]$txtModelFreeCash' is not active
[ ] Occurred in WorkBench.BenchmarkInfo.ModelFreeCash.SetText
P.S. The textfield is active but still it says not active.
Kindly help me with this asap.
Thanks in advance,
2lz (Toolz)