WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.
Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund
by Santhosh » Mon May 03, 2010 4:48 am
I have called the setdata method on a few widgets.But the Windows Tester is not recognizing it properly as named widget locator. It generates code as LayoutComposite when clicked on those widgets.What would be the problem here ?Can anybody help me with your valuable suggestions.
Thanks in Advance,
Santhosh
-
Santhosh
-
- Posts: 7
- Joined: Mon Apr 19, 2010 12:53 am
by Phil Quitslund » Mon May 03, 2010 8:24 am
Could you post a sample of the generated code (that be using a NamedLocator but isn't)?
Thanks!
--
Phil Quitslund
Software Engineer
Google, Inc.
-
Phil Quitslund
- Moderator
-
- Posts: 491
- Joined: Fri Apr 28, 2006 6:26 am
by Santhosh » Mon May 10, 2010 8:53 pm
The issue was resolved .The key parameter in setdata(key,value) was found to be case sensitive and should be always "name" to get it recognized by the named Widget Locator
-
Santhosh
-
- Posts: 7
- Joined: Mon Apr 19, 2010 12:53 am
by Phil Quitslund » Tue May 11, 2010 8:22 am
Very good. Thanks for sharing experience!
--
Phil Quitslund
Software Engineer
Google, Inc.
-
Phil Quitslund
- Moderator
-
- Posts: 491
- Joined: Fri Apr 28, 2006 6:26 am
Return to Window Tester
Who is online
Users browsing this forum: No registered users and 1 guest