Telerik Forums
Test Studio Forum
5 answers
102 views
I'm trying to verify that tool tips exist and that they contain specific language.  I saw the previous posting about tool tips that suggested looking for the title attribute of an element, but that suggestion is not working on my system since the tool-tips were not created using the title attribute. I spoke to one of the developers and was told that the system I am working on uses extjs to create and populate the tool-tip, given this fact do you know if there is anyway for me to get telerik to recognize and verify the tool-tip,
thanks
Stoich
Telerik team
 answered on 28 May 2011
2 answers
148 views
Hi, I'm recording tests for a website that generates dynamic elements. For e.g., the success bar, can be loaded in Div, Div1, Div2 or DivN. And it has other dynamic levels above this Div. My Questions is, how could I identify, to verify these elements?

Rodolpho Dutra
Stoich
Telerik team
 answered on 27 May 2011
2 answers
107 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
88 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
102 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
192 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
161 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
88 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
103 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
144 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
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?