Telerik Forums
Test Studio Forum
1 answer
132 views
Hi,

The variable used in extract step is not recognized by WEBUI, The test failed with error on the extract step

"The given key was not present in the dictionary'

Here is the log
Overall Result: Fail
'1/21/2011 12:34:59 PM' - 'Pass' : 1. Wait for '1000' msec.
'1/21/2011 12:35:13 PM' - 'Pass' : 2. Wait for Exists 'AnimatedCommonOuterBorderBorder'
'1/21/2011 12:35:14 PM' - 'Pass' : 3. Desktop command: LeftClick on DropDownMenuButtonRaddropdownbutton
'1/21/2011 12:35:17 PM' - 'Pass' : 4. radmenuitem: 'Add Content' click action.
'1/21/2011 12:35:17 PM' - 'NotRun' : 5. Desktop command: LeftClick on Item0Gridviewrow
'1/21/2011 12:35:17 PM' - 'NotRun' : 6. Click BtnOKRadbutton
'1/21/2011 12:35:23 PM' - 'Pass' : 7. LeftClick on PARTDropDownButtonTogglebutton
'1/21/2011 12:35:23 PM' - 'NotRun' : 8. LeftClick on Item5Grid
'1/21/2011 12:35:24 PM' - 'Pass' : 9. Wait for Exists 'Item71Border'
'1/21/2011 12:35:30 PM' - 'Pass' : 10. Wait for 'CrosstabTextblock' text Same 'Crosstab'
'1/21/2011 12:35:35 PM' - 'Pass' : 11. LeftClick on Item2Checkbox
'1/21/2011 12:35:38 PM' - 'Pass' : 12. Verify Item2Checkbox's checked state is Checked
'1/21/2011 12:35:39 PM' - 'Pass' : 13. Verify 'FilterTextblock' text Same 'Filter'
'1/21/2011 12:35:41 PM' - 'Pass' : 14. Click PARTApplyFilterButtonRadbutton
'1/21/2011 12:35:41 PM' - 'NotRun' : 15. LeftClick on PARTDropDownButtonTogglebutton
'1/21/2011 12:35:50 PM' - 'Pass' : 16. LeftClick on RegionByTextblock
'1/21/2011 12:35:51 PM' - 'Pass' : 17. Click BtnOKRadbutton
'1/21/2011 12:35:53 PM' - 'Fail' : 18. Extract 'RegionByTextblock' text into DataBindVariable $(content)
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
The given key was not present in the dictionary.
InnerException:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors.PropertyVerificationDescriptor.ExtractData(SilverlightApp hostApp, DescriptorValueStore dataStore)
   at ArtOfTest.WebAii.Design.Extensibility.XamlVerificationDescriptor.ExtractData(IAutomationHost targetHost, DescriptorValueStore dataStore)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
------------------------------------------------------------
'1/21/2011 12:35:54 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'1/21/2011 12:35:54 PM' - Overall Result: Fail
'1/21/2011 12:35:54 PM' - Duration: [0 min: 55 sec: 468 msec]
------------------------------------------------------------

Please help me to resolve the issue.

Thanks,
Saima

Cody
Telerik team
 answered on 25 Jan 2011
1 answer
133 views
hi
Hi guyes

i am recorder my silverlight  application this messag will show for me how to resolve prombale
Stoich
Telerik team
 answered on 25 Jan 2011
1 answer
82 views
Hi,
filter text typed in google filtering text box in Rad grid
disappears after filtering, Can any one help on this issue.

Thanks.
Pavlina
Telerik team
 answered on 25 Jan 2011
1 answer
93 views
how to get an image on my scheduler...and not to display appointment.......
Stoich
Telerik team
 answered on 25 Jan 2011
1 answer
116 views

On this page:
http://www.telerik.com/automated-testing-tools/products/webui-test-studio-qa-edition/features/test-maintenance.aspx

Breadcrumb path:
Home > Automated Testing Tools > Products > QA Edition > WebUI QA Features > Test Maintenance

This page says you can run your scripts using IE6 IE7 and IE8, as well as FF Safari and Chrome.  The web application that I am testing is in a corporate environment and it must work on IE6.

I successfully recorded a few scripts in IE 7, which I was able to play back in IE7.  I then uninstalled IE7 and returned to IE6 and tried running the scripts again, and the test fails.  IE6 launches as expected, but it just sits there idling.  The way that I am trying to run them is by loading the Telerik WebUI Test Studio and selecting the scripts I recorded and hitting Execute in the menu bar.

The test case then fails because it can't seem to detect that IE6 is working.

Has anybody been able to get test scripts to run on IE6?  Am I launching the test scripts incorrectly?

Thanks for your help.

If it helps, this is the stack trace that I'm getting:

------------------------------------------------------------
'1/20/2011 4:11:02 PM' - Starting execution....
'1/20/2011 4:11:08 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'1/20/2011 4:11:08 PM' - System.ApplicationException: Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it. ---> System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Int32 timeout)
   at ArtOfTest.Common.Win32.WindowManager.Attach(IntPtr& handle, Boolean findTabWindow, Boolean loadClr, IntPtr& hookId)
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.Initialize(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'1/20/2011 4:11:08 PM' - Test completed!

 

Keaegan
Telerik team
 answered on 24 Jan 2011
5 answers
183 views
Hi,

I am using WebUI QA version. And whenever i select the customize step in code and then exceute the test, it failed to complile with error 'Coded steps failed to compile' and the error log displayed is

Type 'System.Windows.Forms.Keys' is not defined.

Please help to resolve the issue.

Thanks,
Saima

Cody
Telerik team
 answered on 23 Jan 2011
3 answers
98 views
Hi,

I use "Telerik WebUI Test Studio Developer Edition" and I try to record a sample click event on a Silverlight page but I receive this message :

"Enable to connect to Silverlight application"  (See picture on attach....)

My Silverlight page is on a Sharepoint 2007 server and it is secured by Sharepoint so I have to write credentials in a popup windows before accessing the silverlight page. I record steps for the logon part, the username/password are fillin and submit by the steps.  But after that, the page open, but I receive this error message.....

How can I resolve this issue ?

Thank you
Michel
Cody
Telerik team
 answered on 21 Jan 2011
4 answers
110 views
I went to www.telerik.com/help looking for a help manual for WebUI Qa editiion.  I did not find any, but I did find a quick start guide and faq doc at http://www.telerik.com/automated-testing-tools/support.aspx.

This is helpful, but a full users guide would be better, is one available?

Kim
Cody
Telerik team
 answered on 21 Jan 2011
0 answers
58 views
hi i want to develop a silverlight application am using radsheduler and listbox i need drag and drop a selected value from listbox to radsheduler plzzzzzz tell me full details of it or is there any other way to (with out listbox) add values to rad sheduler and related sample applications
anwar
Top achievements
Rank 1
 asked on 20 Jan 2011
1 answer
109 views
Hi Team,
               Im having an issue related to the verification of invisibility of an object.Webaii has a in-built feature Isvisible(),but when i use it in NameofObject.Isvisible property the script fails with the error "object reference not set to an instant of the object".

I have to verify the checkpoint that the object is not visible,please tell me how to do this.

Thanks

Regards
Dev
Stoich
Telerik team
 answered on 20 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?