Telerik Forums
Test Studio Forum
2 answers
116 views
Hi Telerik Team,

I've encountered this error today.

ArtOfTest.Common.Design.Exceptions.ExecutionException: Unable to determine the type of 'raddatepicker' element. Check the log for details. ---> System.ArgumentException: Unable to determine the type of 'raddatepicker' element. Check the log for details.
   at ArtOfTest.WebAii.Silverlight.FrameworkElement.CastAs[T]()
   at Telerik.WebAii.Design.Translators.Xaml.DatePicker.DatePickerStringPropertyVerification.GetValueByProperty(String name)
   at Telerik.WebAii.Design.Translators.Xaml.Common.RadControlPropertyVerificationDescriptor.ExtractData(IApplication hostApp, DescriptorValueStore dataStore)
   at ArtOfTest.WebAii.Design.Extensibility.XamlVerificationDescriptor.ExtractData(IAutomationHost targetHost, DescriptorValueStore dataStore)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
   --- End of inner exception stack trace ---


ArtOfTest.Common.Design.Exceptions.ExecutionException: Unable to determine the type of 'radrichtextbox' element. Check the log for details. ---> System.ArgumentException: Unable to determine the type of 'radrichtextbox' element. Check the log for details.
   at ArtOfTest.WebAii.Silverlight.FrameworkElement.CastAs[T]()
   at Telerik.WebAii.Design.Translators.Xaml.Documents.RichTextBoxSetTextAction.Execute(IApplication appHost)
   at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
   --- End of inner exception stack trace ---

The test where this step belongs to is a Test as Step for my Main Test. So when I run my Sub Test it passes successfully but when its inside the Main Test it fails. It also happens to radrichtextbox. Also the Main Test passes successfully in the past.

The raddatepicker is a Extract step and the radrichtextbox is Entering a value. Also when I validate the element it is located.

Thanks
Mariko
Top achievements
Rank 1
 answered on 27 Jan 2012
2 answers
70 views

Hi,

I was trying to record when a user clicks to play a youtube video from a Pop up window.  There is a way to record this action?

In the attachment is the image of the page I tried to record.  The connection with Pop-up is OK, but I need to test when user clicks on the Youtube video.

Thanks

 
Karla
Top achievements
Rank 1
 answered on 27 Jan 2012
9 answers
199 views
Hello,
         Is there a way a I can set a project wide variable that I can access from all the tests in the project? I would like to be able to use the same string throughout all of the tests in the project.
Anthony
Telerik team
 answered on 26 Jan 2012
1 answer
60 views
Hello, I need to verify that item1 or item2 are selected from a drop down. I can only figure out how to verify one selection from a drop down from Advance Verification. I need to plug this verification into an If then else statement.

So for example, if item 1 or item 2 are selected then do something. When item3 or item4 are selected then do this other thing.

Thank you - Mallory
Anthony
Telerik team
 answered on 25 Jan 2012
1 answer
73 views

I'm recording steps within a browser panel, which requires that I scroll during recording in order to enter data into a field. Upon playback, because of this need to scroll, I'm getting an outside bounds of browser window error:

Point (515, 1345) outside bounds of browser window: (0, 162, 1920, 855)InnerException:System.InvalidOperationException: Point (515, 1345) outside bounds of browser window: (0, 162, 1920, 855) at ArtOfTest.WebAii.Silverlight.SilverlightApp.ValidateMouseLocation(Point point) at ArtOfTest.WebAii.Silverlight.UserInteraction.Click(MouseClickType clickType, Point offsetPoint, OffsetReference reference) at ArtOfTest.WebAii.Silverlight.UserInteraction.Click(MouseClickType clickType, Int32 x, Int32 y, OffsetReference reference, ActionPointUnitType unitType) at ArtOfTest.WebAii.Silverlight.UserInteraction.Click(MouseClickType clickType, Int32 x, Int32 y, OffsetReference reference, ActionPointUnitType unitType, Keys modifierKeys) at ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors.SilverlightClickActionDescriptor.Execute(IApplication hostApp) at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost) at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

I don't know how to work around this issue.

Cody
Telerik team
 answered on 25 Jan 2012
1 answer
106 views
hi,
I want to ask how to handle login dialog if am using windows 98..?
Anthony
Telerik team
 answered on 25 Jan 2012
2 answers
96 views
I created project A, someone else created project B. Both projects are in TFS.

In Test Studio, when I select project B, and Get Latest, I don't get the files from project B but I do see folders. The same occurs for the creator of project B when they try to Get Latest from project A.

I'm wondering if the folder structure within TFS is an issue.
It's like this:

Project A
    ProjectA_Folder1
    ProjectA_Folder2
    ProjectA_Folder3
    ProjectA_Folder4
    ProjectB_MainFolder

Project B is just a test project and can easily be moved or deleted.
Chris
Top achievements
Rank 1
 answered on 24 Jan 2012
1 answer
89 views
is this tools can be used also to test software created in flash? I hope somebody can help me about this. thanks in advance! 
Plamen
Telerik team
 answered on 24 Jan 2012
1 answer
100 views
Hello,

I have some Web UI tests set up where there is a list of links in a Telerik MVC grid all with the same name 'Edit', that point to different URLs. 

The test must always click the top 'Edit' link, but it will fail because the top 'Edit' link URL is always changing.

How would I set it up so that It will always click the top link in a grid? 

Cheers, 
Stoich
Telerik team
 answered on 23 Jan 2012
2 answers
89 views
I need to check page status by if...else statement.
I use following way:http://screencast.com/t/Lgs2YIJlg2l
If "logout" link is visible I click it to logout user.
But if "logout" is absent I shouldn't do anything, but this test is failed
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
 (Html): [id 'Exact' header_0_ctl00_ctl02_logout] AND [tagname 'Exact' a]
 
Unable to locate element. Search failed!
algot
Top achievements
Rank 1
 answered on 23 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?