Telerik Forums
Test Studio Forum
7 answers
140 views
Am getting error every time while creating script. attached  the error screenshot.and in beta version test list is not running. 
Pranavi
Top achievements
Rank 1
 answered on 29 Jul 2013
1 answer
62 views
I want to automate the silverlight application. But how can i access the elements without XAML? What will be the code need to be written??
Cody
Telerik team
 answered on 25 Jul 2013
1 answer
33 views
I want to automate the silverlight application. But how can i access the elements without XAML? What will be the code need to be written??
Cody
Telerik team
 answered on 25 Jul 2013
14 answers
98 views

Hi,

I have an asp gridview that display users, I want a test to add a user then for example edit the user by changing the password. The problem I have is that the gridview contains upwards of 80 users and the pagesize is set to 15. Is there a way to get test studio to loop/iterate through each row (including changing to page 2, 3 etc) until it finds the username I have specified?

Any help on this would b great because I have quite a few gridviews I need to test which I foresee having similar problems

Thanks

Jo

 

Joseph
Top achievements
Rank 1
 answered on 25 Jul 2013
3 answers
1.0K+ views
I am receiving this error when trying to run tests on the VM.

Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Thank you in advance,
- Jessica
Cody
Telerik team
 answered on 24 Jul 2013
1 answer
61 views
Hi,

I got "time out" error on execution test step which was successfully performed (as I can see directly in browser and loaded next step), but current step show failed status even I did not add assertion in it.

I have searched some relevant threads, there is a solution is changing the click step's "SimulateRealClick" property value as 'true', but I think this is for the recording steps, so what about the step in code, I noticed there is no "SimulateRealClick" property in the right panel within code step?

Also I saw a bunch of properties can be modified according to the http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/modifying-tests/change-test-step-properties.aspx link, is there any detail document or page that I can refer to, cause some of them just don't know how to invoke, like "FireKeyEvents", "SimulateRealClick" and so on?

Could you help me? Thanks in advance!

Regards,
Fion
Boyan Boev
Telerik team
 answered on 23 Jul 2013
9 answers
196 views
Hi, 

Having recorded and converted it to data driven of my script, I want to disable the Simulate Real User feature, so the text show up at once. So I set SimulateRealUser to false, but only to find that my data driven script is broken. 

This is the latest test studio. Please verify. 

Thanks
Mario
Telerik team
 answered on 22 Jul 2013
5 answers
180 views
I am trying to use relative path in identifying my elements because the absolute path is vulnerable to breaking my scripts. Please I need suggestion on how to write the following absolute path in relative path:

XamlPath=/itemspresenter[0]/stackpanel[0]/contentpresenter[7]/contentcontrol[name=FilterContentControl]/contentpresenter[0]/button[0]/grid[name=ControlGrid]/contentpresenter[name=contentPresenter]/grid[name=LayoutRoot]/textblock[name=FilterCount]

I trid the following and it didn't work:
XamlPath=//grid[name=LayoutRoot]/textblock[name=FilterCount]
or
XamlPath=//*grid[name=LayoutRoot]/textblock[name=FilterCount]

Thanks,

Michael
Velin Koychev
Telerik team
 answered on 22 Jul 2013
7 answers
198 views
Hi,

i'm testing a silverlight application, that pops up when the browser closes, at the end of the test. 
This dialog asks if I want to stay or leave the page.

When I record the test, that dialog was recorded as a OnBeforeUnload dialog, and a handler was put as a step. But, when running the test, it fails on that step

'03-07-2013 14:51:29' - 'Fail' : 2. Handle 'OnBeforeUnload' dialog.
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Timed out waiting '15000' msec. for any dialog to be handled '1'
InnerException:
System.TimeoutException: Timed out waiting '15000' msec. for any dialog to be handled '1'
   at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilAnyHandled(IEnumerable`1 dialogs, Int32 handleCount, Int64 timeoutMilliseconds, Boolean resetHandleCount)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)


i disabled this recorded step, and added a new one, manually through the dialogs menu, but the result was the same.

in order to workaround this issue, I created a code step, and put inside of it the following code:
public void Logout_CodedStep1()
{
    OnBeforeUnloadDialog dialog = OnBeforeUnloadDialog.CreateOnBeforeUnloadDialog(ActiveBrowser, DialogButton.OK);
    Manager.DialogMonitor.AddDialog(dialog);
}


My question is, shouldn't that onbeforeUnload Handler work, instead of have to create a new code step with those two lines?
Ivaylo
Telerik team
 answered on 22 Jul 2013
1 answer
37 views
In our application, we have a dashboard view with couple of charts powered by HTML5/Javascript. The charts are basically bar charts where I need to make sure when dragging the bar , non-selected bars become transparent and tooltip shows up on the selected bar. The title on the tooltip changes dynamically as user drags to new intervals.I can verify drag and drop of any bar using your tool which inserts a desktop command during verification.This is as user clicks and drags the bar before dropping onto new location. Is there any way to verify this change in bar appearence and tooltip while dragging or is it already captured in drag/drop verification?

Thanks,
Mamata.
Cody
Telerik team
 answered on 19 Jul 2013
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?