Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

SilkTest 2006 Error : Window is not Active

This is a discussion on SilkTest 2006 Error : Window is not Active within the SilkTest forums, part of the Software Testing category; 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 ...

Go Back   Geeks Talk > Software Testing > SilkTest
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 09-05-2007
Junior Member
 
Join Date: Sep 2007
Location: Singapore
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
toolz is on a distinguished road
Question SilkTest 2006 Error : Window is not Active

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)
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-27-2007
Junior Member
 
Join Date: Dec 2007
Location: New Delhi, India
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
rajesh_jakhal is on a distinguished road
Re: SilkTest 2006 Error : Window is not Active

Quote:
Originally Posted by toolz View Post
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)
Hi dear Toolz,
you are going to set text of a control which is non-changeable like 'static text' control or 'label' control's 'settext' is not available this is ready only.
I think it will help you.

With regards,
Rajesh Jakhal (New Delhi, India)
Reply With Quote
  #3 (permalink)  
Old 12-27-2007
Junior Member
 
Join Date: Dec 2007
Location: New Delhi, India
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
rajesh_jakhal is on a distinguished road
Re: SilkTest 2006 Error : Window is not Active

Hi Toolz,
You are going to change the readonly properties of a control. Here this control is a 'static text' or 'label' control whose caption is ready only.

With regards,
Rajesh Jakhal (New Delhi, India)
Reply With Quote
Reply

  Geeks Talk > Software Testing > SilkTest

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Retrieveing the title of the currently active window Geek_Guest QTP 7 07-06-2009 02:37 AM
Actual Window Menu is the unique extension of standard window menu that provides adva JobHelper Geeks Lounge 0 04-25-2007 08:30 AM
Script is not running properly getting Window was not found error Geek_Guest SilkTest 1 04-18-2007 08:16 AM
How to capture text from message/error popup window Geek_Guest WinRunner 0 04-03-2007 02:25 PM
Hide Window Plus is a tool that allows you to hide any window from the screen and the JobHelper Geeks Lounge 0 03-31-2007 03:30 PM


All times are GMT -4. The time now is 09:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved