Telerik Forums
Test Studio Forum
1 answer
161 views
Hello Telerik team,
I have to record a script that captures  iframe. Is there any special handler for Iframes or just using normal recording?
I've tried to just record that step but the problem is that window ID is changing every time. Can you suggest any solution for my problem.
All the steps i record after opening the iframe fail. I cant continue further. System that i test is full with hidden windows and iframes.
Any good practice with Iframes will be welcome.
I am using Webui QA edition Q3. Not a trial version.
I will highly appreciate your help.




Best regards,
Alex
Alex
Top achievements
Rank 1
 answered on 27 Jan 2011
3 answers
178 views

Is there any way to parameterize(data driven) mouse hover over?

I’m using QA Edition Q3 release.
In my Silverlight application tons of menus and sub menus required mouse hover over.

Your valuable help save my time, Thanks in advance...

Madhu.

Stoich
Telerik team
 answered on 26 Jan 2011
46 answers
311 views
Hi,

On upgrading the automation framework to design canvas 2.0 we encountering issues which were initially working fine using Design canvas 1.1 version.Below are details of the issues:

Issues encountered
The some of the objects identified using design canvas 1.1 were automatically deleted on upgrading the automation framework to design canvas 2.0.

Steps we followed to upgrade Design canvas 1.1 to 2.0
1. Uninstall the design canvas 1.1.
2. Restart the machine.
3. Installed the design canvas 2.0 & Restarted the machine.
4. Update the dll's artoftest.webaii, artoftest.webaii.design with respect Design canvas 2.0.
5. During building the framework we have found that some of the objects were deleted which was initially identified the using Design canvas 1.1 .

Kindly provide your feedback as it would be highly helpful.

Regards,
Dev









Cody
Telerik team
 answered on 26 Jan 2011
4 answers
166 views
I have a Silverlight 4.0 application. In this app. I have a form that display data in a RadGridView and it is paged.  The user can click a button on the form that display a new form. In this one, he can fillin fields and submit it, this will create a new record on the database. The form is automatically close and the firt form is show again to user with a RadGridView that show the data, the GridView first page is loaded.

My question is, since I can have more than 1+ pages of data in my gridview and this one is set on the first page when the form load, how can I validate that my new entry is display in the gridview ? Can I do this by code ? Or does exist a validator for that kind of scenario ?

Thanks
Michel
Stoich
Telerik team
 answered on 26 Jan 2011
1 answer
103 views
Hi guys,

I need to display a message box with the following information in WEBUI QA Edition.

1) No. of passed Steps and no.of failures steps and total Count of steps in a test case

Please let me know the process, so that i can acheive the above scenario.

Thanks
Ranganath
Stoich
Telerik team
 answered on 26 Jan 2011
1 answer
134 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
136 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
83 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
96 views
how to get an image on my scheduler...and not to display appointment.......
Stoich
Telerik team
 answered on 25 Jan 2011
1 answer
117 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?