Telerik Forums
Test Studio Forum
1 answer
154 views
I have been having trouble with this issue for quite some time now. We have Test Studio's standalone version for QAs running on a server through remote access. 2 QAs including me work on capturing tests using test studio on the server and the server has around 6 gigs of RAM. So, that provides a brief background of infrastructure I am dealing with here.

Now, while running the test cases and especially running them as test lists we face a strange scenario; TEST STUDIO doesn't close the browser after a test case has been run and after 10-15 such instances there are almost 10-15 browsers open (this I saw when I opened the task manager and saw the Processes).

This for some reason clogs the RAM or something and doesn't allow the browser to open when another test case needs to run.
Now, there is an option which says CloseBrower (its a drop down and can be set to true or false).  I used this option on the last steps of some of my tests, but even this was not helpful.

So, what I am saying here is - Is there some option to forcefully close the browser after the test case is completed?

KUMAR
Plamen
Telerik team
 answered on 30 Jan 2012
1 answer
135 views
I am trying to test my Silverlight app and I need to select multiple items by both ctl + and shift + . I need to do this programmatically and I can't figure out how to do this. I tried with the recorder to see how it might be done and I see that when I record multiple selections, they play back as single selections. This is a major blocker for my company to accept Telerik testing, so I am trying to figure out what to do about this. I saw a post of bug fixes from some recent drop and I noticed that modifier keys were no longer being recorded. Why would this be removed if it is necessary for basic functionality? Is there another way to accomplish this programmatically? I tried to access the SelectedItems property but it comes back as the datatype (as in the .ToString()) of the backing collection, not as the actual value itself, so I can't set this to get around the single user click.

UPDATE!!!
My mistake. Temporarily forgot the overloads to click that allow for modifier keys. Keys.Control seems to work just fine. No need to responsd with same info.
Stoich
Telerik team
 answered on 30 Jan 2012
1 answer
69 views
I recorded test with recorder for Silverlight elements. It successfully passed. But if I try to "Edit Element" from Element Explorer element can't be found by Telerik.

Following find string was used by Recorder
XamlTag=stackpanel,name=WonOppPanel,|,XamlPath=/grid[2]/complexmoneytextblock[0]/textblock[automationid=MainTextBlock]
http://screencast.com/t/Ehr8deZDc
http://screencast.com/t/3kg0KXur
Anthony
Telerik team
 answered on 27 Jan 2012
4 answers
132 views

Hi,

I had a test that clicks on a button from a pop up window, that opened a new pop up window. When I tried to close the second pop up window, then is closed the first one and the test fail.

In the attachment is the zip generated from Web UI with more details.

the connection with both pop ups look good, but when close second pop up, looks like is not read correctly.

How can I  resolve this?


Thanks,
Cody
Telerik team
 answered on 27 Jan 2012
2 answers
150 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
93 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
229 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
79 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
91 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
141 views
hi,
I want to ask how to handle login dialog if am using windows 98..?
Anthony
Telerik team
 answered on 25 Jan 2012
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?