Telerik Forums
Test Studio Forum
2 answers
123 views
I have a page with several RadDockZones and I am trying to automate the test to verify that RadDocks can be moved from one zone to another and rearranged. For the test I am dragging a dock from one zone to another, then dragging it back. The only problem is that when running the test where it should be dragging the dock back to its original position, its trying to move an element from the original zone instead of the selected element. The test passes, but in the end the elements are in the wrong places and it will mess with the manual testing. Please help.
Graham
Top achievements
Rank 1
 answered on 26 May 2011
2 answers
100 views
When executing a previously recorded test calling the tree view to select a company, site or meter the 'ok' button does not get enabled to add the meter in. I have tried quick tasks for elements and mouse events for clicks. At the time of recording the 'OK' button did become enabled and was recorded.
darren
Top achievements
Rank 1
 answered on 26 May 2011
2 answers
117 views
Hi

I am creating a custome code which looks for a Data driven value in the list box. The code is as follows:

pages.BORWL08D63186Wmservice.SilverlightApp.LstProcessOrdersListbox.Find.ByText(Data(

 

"Process Order").ToString())
The above codes works fine.

 


Now i try to highlight the record, using following code:

pages.BORWL08D63186Wmservice.SilverlightApp.LstProcessOrdersListbox.Find.ByText(Data(

 

"Process Order").ToString()).User.Click()

 

I get following exception:

Exception thrown executing coded step: '[Main_Step_CodedStep] : New Coded Step'.InnerException:System.NullReferenceException: Object reference not set to an instance of an object. at Main_Step.Main_Step_CodedStep() in C:\....\Test Studio Projects\Original Code\Main Step.tstest.vb:line 70


Note: The above code used to work perfectly Fine in previous release. Please advice how should i rectify the above issue.

Regards

Akbar
 
Akbar
Top achievements
Rank 1
 answered on 26 May 2011
1 answer
214 views
I'm getting a timeout error that I think is associated with an unexpected dialog. It's actually difficult for me to tell from the log if that's the cause of the failure. Can you help me track down where the problem is occurring and how I can resolve it?

Overall Result: Fail
------------------------------------------------------------
'5/25/2011 11:47:51 AM' - Starting execution....
'5/25/2011 11:47:51 AM' - Detected a Silverlight Test. Setting EnableSilverlight=True
'5/25/2011 11:47:55 AM' - Detected custom code in test. Locating test assembly: TrendBrowserLoad.dll.
'5/25/2011 11:47:55 AM' - Assembly Found: C:\Users\user\Documents\WebUI Test Studio Projects\TrendBrowserLoad\bin\TrendBrowserLoad.dll
'5/25/2011 11:47:55 AM' - Loading code class: 'TrendBrowserLoad.COM_018_A'.
------------------------------------------------------------
'5/25/2011 11:48:00 AM' - 'Pass' : 1. Navigate to : '/TrendTestPage.aspx'
'5/25/2011 11:48:08 AM' - 'Pass' : 2. Desktop command: HoverOver on Item0Zoomcanvas
'5/25/2011 11:48:09 AM' - 'Pass' : 3. Desktop command: LeftClick on Pin icon to pin Flyout Pane open
'5/25/2011 11:48:09 AM' - 'Pass' : 4. Desktop command: LeftClick on LoadChartTextblock
'5/25/2011 11:48:15 AM' - 'Pass' : 5. Handle 'FileUpload' dialog.
'5/25/2011 11:48:16 AM' - 'Pass' : 6. Wait for '1000' msec.
'5/25/2011 11:48:17 AM' - 'Pass' : 7. Desktop command: LeftClick on ApplyTextblock
'5/25/2011 11:48:22 AM' - 'Pass' : 8. Desktop command: LeftClick on LegendLocationCombobox
'5/25/2011 11:48:24 AM' - 'Pass' : 9. Desktop command: LeftClick on TopTextblock
'5/25/2011 11:48:25 AM' - 'Pass' : 10. Click Legend Location Combo Box
'5/25/2011 11:48:26 AM' - 'Pass' : 11. Select "Top" from the dropdown
'5/25/2011 11:48:27 AM' - 'Pass' : 12. Click Apply
'5/25/2011 11:48:31 AM' - 'Pass' : 13. Click SaveButtonButton
'5/25/2011 11:48:34 AM' - LOG: Unexpected dialog encountered. Taking no action.
'5/25/2011 11:48:42 AM' - 'Fail' : 14. Handle 'Download' dialog.
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Timed out waiting '10000' msec. for dialog to be handled '1'
InnerException:
System.TimeoutException: Timed out waiting '10000' msec. for dialog to be handled '1'
   at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilHandled(Int32 handleCount, Int32 timeout, Boolean resetHandleCount)
   at ArtOfTest.WebAii.Win32.Dialogs.DownloadDialogsHandler.WaitUntilHandled(Int32 timeout)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DownloadDialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
------------------------------------------------------------
'5/25/2011 11:48:42 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'5/25/2011 11:48:42 AM' - Overall Result: Fail
'5/25/2011 11:48:42 AM' - Duration: [0 min: 47 sec: 165 msec]
------------------------------------------------------------
'5/25/2011 11:48:42 AM' - Test completed!

 



Thanks,
TomB
Cody
Telerik team
 answered on 25 May 2011
2 answers
176 views
When I create a test list and check the "Recycle Browser" property, the test will work. I then returned to the test list to add another test, and upon running the third test in the list acts as though the Recycle property is turned off.
Matt Walters
Top achievements
Rank 1
 answered on 25 May 2011
1 answer
106 views
I'm trying to verify the background color of a menu bar.
The problem is the menu bar consists of roll downs.
They start out blue and turn dark gray when I hover over them and drop down roll out.
When I use the verification builder I set it to background color.
No matter what way I set it, I get white as the detected color. #FFFFFF.
I tried it on some red text that was not on a roll down and I got the correct HEX number#CC0000 (red).
I think it is detecting the color behind the roll down, the page background, white.
Can I check the color of the background before and after/during the hover, two colors?
Stoich
Telerik team
 answered on 25 May 2011
4 answers
120 views
when recording I delete the default date from a date field and type a new date, when executing the test it simply adds the new date in the field alongside the default existing date, how can I ensure the date field is blank before entering a new date range?
darren
Top achievements
Rank 1
 answered on 25 May 2011
2 answers
171 views
Hi,
I've currently installed the trial latest version (2011.520) of Test Studio, but probably won't be purchasing it.
Can I re-install the last 2010 version?

Thanks

Clive
Clive
Top achievements
Rank 1
 answered on 25 May 2011
3 answers
108 views
I am creating a vast number of tests and want to be able to bridge them to one another. In other words, I don't want to have to go through the login in process on each individual test. Currently when I put the tests in a test list and execute the test list, a new "auto-blank" comes up rather than picking up where the last test left off. Is there a property or setting I'm missing?

Thanks!
Matt
Daniel Djambov
Telerik team
 answered on 25 May 2011
7 answers
143 views
I have a test requiring two browsers be open at the same time? How is that accomplished using Web UI. I tried recording the step of launching IE twice, but that didn't execute two browser launches.
Cody
Telerik team
 answered on 24 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?