Telerik Forums
Test Studio Forum
1 answer
64 views
Hi there,

I have a question regarding an error message that my QA team is frequently running into when playing back tests.  The issue happens when either a manual or coded step has been added to a test.  One example is when we created a test which uses other tests as steps.  This test will initially pass up to the point where we need to create a manual step.  After creating the manual step we received the following error:

------------------------------------------------------------
'4/29/2013 10:34:51 AM' - Using .Net Runtime version: '4.0.30319.296' for test execution. Build version is '2012.2.1425.0'.'
4/29/2013 10:34:51 AM' - Starting execution....'
4/29/2013 10:34:57 AM' - Detected custom code in test. Locating test assembly: USBank Test Cases - Sara.dll.'
4/29/2013 10:34:57 AM' - Failure detected during execution. Details:
------------------------------------------------------------
'4/29/2013 10:34:57 AM' - System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
 at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
 at System.Reflection.Assembly.LoadFile(String path)
 at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureAssemblyExists(String assembly, String folder)
 at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result, String binariesFolder)
 at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
 at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
 ------------------------------------------------------------
 '4/29/2013 10:34:57 AM' - Test completed!


The test is no longer able to run and becomes useless even when removing the manual step.  This same behavior happens when either intentionally or accidentally adding a coded step to a test.  The tests don't appear to load successfully and the same MSN link is given for more information.

I'm attaching a snipet of the log file associated to this error message in the ticket.

What exactly does this error message mean and what, if anything, can be done to circumvent this problem?

Thank you,
Isaiah
Cody
Telerik team
 answered on 29 Apr 2013
9 answers
185 views
hello,
it's been one year that I work on your tool of the autommatisation tests (Web UI test Studio), and I see the benefits and inconvénnients, but it has a major inconvennient of execution on remote server that prevents us from planning the execution of autommatic tests, ie tests that do not run in a way on a remote server when the server session is not open or if it is idle.

in other words, when we plan a job who must crawl one page, and , if we got a Jascaript window.confirm box, Telerik is not able to fired the click on this box if the screensaver is enable or when the remote session is diconnected.


So, I would like to know if you can find me a sollution for this prebleme before renew  of my license ?

best Regards
samir
Plamen
Telerik team
 answered on 29 Apr 2013
1 answer
69 views

Hello,

I am using WatiN to run some UI automated tests on my application.  I have been able to interact with most of telerik controls, except RadAsyncUpload.

Currently I am unable to upload a file using WatiN.  I understand that telerik uses another testing platform, but I am looking to see if maybe someone in your team can help me figure out how to use WatiN to uplad a file via the RadAsynUpload control.

<telerik:RadAsyncUpload ID="upAttachment" runat="server" AllowedFileExtensions=".pdf,.jpg,.jpeg,.gif,.png,.bmp" TabIndex="9">    

<Localization Select="Select File" />

</telerik:RadAsyncUpload>


Cody
Telerik team
 answered on 29 Apr 2013
1 answer
38 views
Is there such a process for Test Studio feature requests?

I would like to submit that the Run-time have the configure browsers option like we see in the Project settings in the Test Studio IDE.

Thanks.
Boyan Boev
Telerik team
 answered on 29 Apr 2013
3 answers
137 views
We are testing an application that uses the Telerik.Windows.Controls.RadGridView registers.

I want to retrieve the values in the column headers.  Presumably I iterate through the gridview in some way getting the values.  I have tried a number of different methods with no luck.

In the tree I can see that there is a GridViewHeaderRow and within that a Selective Scrolling Grid.  Then below that is a DataCellsPresenter wiht a number of Grid View Cells in a panel - the text value of hte headers are within these GridViewCells.

I am struggling to work on the correct object in order to get the column header texts.  The objects I have attempted to use throw an error in the foreach statement to say that getenumerator has not been exposed.

Has anyone successfully iterated through a selective scrolling grid?

thanks


[CodedStep(

 

@"readHeaders")]

 

 

 

public void requisitionScreen_CodedStep()

 

{

 

 

// read through the grid

 

WpfApplication app = Manager.ActiveApplication;

Assert.IsNotNull(app);

 

Telerik.Windows.Controls.GridView.GridView grid = app.MainWindow.Find.ByName<Telerik.Windows.Controls.GridView.GridView>(

 

"GridView");

 

 

Telerik.Windows.Controls.GridViewHeaderRow row = grid.HeaderRow;

 

 

int index=row.HeaderCells.Count;

 

Log.WriteLine(

 

"count "+index.ToString());

 

 

 

 

for (int i=0;i<index;i++){

 

row.HeaderCells[i].ToString();

 

}

 

Plamen
Telerik team
 answered on 29 Apr 2013
4 answers
317 views
Hey there,

Let's say I have two sites...

http://shopping.mycompany.com/ - Shopping Site
http://admin.mycompany.com/ - Administers Shopping Site

And I have many environments...

http://devshopping.mycompany.com - Developer
http://uatshopping.mycompany.com - UAT
http://shopping.mycompany.com - Released

I want to schedule a test list on a remote machine for the DEV environment to run every night.
I want to schedule the same test list on the local machine for the RELEASE environment to run every night.

Obviously, I want to avoid copy pasting each test for each environment. I created a step to extract text from an input box (either dev, uat, or nothing) and run coded navigation steps. Thus, I must change a test step in this "Environment" test each time I want to run my tests in a different environment. The issue is that I can not simultaneously run my tests at night in multiple environments.

This sounds like a great job for the Base URL option. I'll create a test list for each build and set a different base URL each time. However, i'm experiencing an issue with Base URL.

The base URL for my dev test list is "http://dev" for example. I expect this to then append to "~shopping.mycompany.com" to create... "http://devshopping.mycompany.com". Instead, it attempts to navigate to "http://dev/shopping.mycompany.com", adding a slash.

Is there a way to get rid of that slash?
Rodney
Telerik team
 answered on 26 Apr 2013
3 answers
66 views
Does anyone know a way of exporting a test or a number of tests in order to create Test documentation.
I'm preferably looking for a way to create Test plans from an existing test in Microsoft Word format. I know rival products have this functionality.
Thanks.
Cody
Telerik team
 answered on 26 Apr 2013
4 answers
61 views
Exception thrown executing coded step: '[Test_Product_Overwiew_Complete_Check_Paging_Buttons_Enabled] : Check Paging Buttons disabled or enabled'.
InnerException:
When trying to get the selected value, i often (not always) get this error.
i used the selectedoption value and i run the the options collection. in both cases i often get this error

We are geting more and more frustrated!!

System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.InvokeScript(String script)
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.InvokeScript(String script)
   at ArtOfTest.WebAii.ObjectModel.Element.GetValue[T](String propertyName, T defaultValue)
   at ArtOfTest.WebAii.ObjectModel.Element.GetValue[T](String propertyName)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlOption.get_Selected()
   at _
Plamen
Telerik team
 answered on 26 Apr 2013
1 answer
63 views
Hi Telerik Team,

we have the following error in a Silverlight web application:

There was an error deserializing the object of type ArtOfTest.WebAii.Silverlight.SilverlightResponse. The token '"' was expected but found 'Ã'.

We need a hint, where we should look for to find the error.
I tested the Testxml like the hint in :http://www.telerik.com/automated-testing-tools/community/forums/test-studio/general-discussions/runtime---name-cannot-begin-with.aspx#2429462

But did not find an answer for my case, it seems everything is fine.
Do you have something information for me?

Best regards
Adriane
Plamen
Telerik team
 answered on 26 Apr 2013
1 answer
46 views
please provide code sample to access radmultipage and radpageview using test framework.
Mario
Telerik team
 answered on 25 Apr 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?