Telerik Forums
Test Studio Forum
2 answers
133 views

I executed my test without a problem, then I attempted to use the "customized code in step" option to allow me to test the date on screen against the current date.

I had trouble compiling the code I added and at the time I did not want to fuss with it, so I removed the code and then I deleted the step.  Now when I go to run the script none of the steps run and I get the following message:

------------------------------------------------------------
'5/31/2011 3:36:56 PM' - Starting execution....
'5/31/2011 3:37:02 PM' - Detected custom code in test. Locating test assembly: Lending.dll.
'5/31/2011 3:37:02 PM' - Assembly Found: X:\Akcelerant Software\Operations\QA Testing\Automation\Framework\Lending\bin\Lending.dll
'5/31/2011 3:37:02 PM' - Loading code class: 'Lending_Calclator'.
'5/31/2011 3:37:02 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'5/31/2011 3:37:02 PM' - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: That assembly does not allow partially trusted callers.
   at Lending_Calclator..ctor()
The action that failed was:
LinkDemand
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   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(Test test, Settings settings, String deploymentFolder, String binariesFolder, ExecutionType exeType, Guid firstStepGuid, Guid lastStepGuid, IntPtr existingBrowserHandle, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'5/31/2011 3:37:03 PM' - Test completed!

 


Any help you could give would be appreciated.

Thanks
S
Top achievements
Rank 1
 answered on 01 Jun 2011
3 answers
129 views
Hi,

I am facing one Issue while running script from Telerik TestStudio Web UI for silverlight application . I have used Wait for Element Visibility to verify Some Text Menu after Loading URL to browser for my silverlight application.
This script is running fine With IE.
But same script when i run through Firefox and Chrome , Text Menu is visible in browser , still this Wait for Element Visibility step is not pass in both browsers. And when i stop this script in Firefox , Firefox is giving me error like "Proxy server refused Connection."

Please Help me on this.

Thanks in Advance,
Gargi
Anthony
Telerik team
 answered on 31 May 2011
7 answers
507 views
Environment is VS 2010, Win 2008 Standard 64-bit

I have opened "Visual Studio Samples" from "Telerik" --> "Test Studio 2011.1"

Solution opens fine. I double-click on DataDrivenTestBuiltInGrid.aii, it opens a window asking about trial. I click OK with trial and the file opens fine. I close the file and then try to open it again, I get the following error.

The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

This is repeatable with the above steps.

Thanks
Stoich
Telerik team
 answered on 31 May 2011
1 answer
110 views
I am using VSTS 2010 Coded UI for automated Test.

While I am recording actions from our program window, telerik rad Toggle Button is recorded as win button but when I re run the script It throws below error.

Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException: The playback failed to find the control with the given search properties. Additional Details:
TechnologyName:  'MSAA'
ControlType:  'Window'
Name:  'Open'
ClassName:  '#32770'

I had also tries to locate the tab by manually searching for the control withing specific container but it throws the error that windows control could not find.

I tries to resolve it every possible way to locate the control but VSTS 2010 Coded UI not able to locate the control.

Please help me resolve the issue ASAP.
Vladislav
Telerik team
 answered on 31 May 2011
1 answer
66 views
Hello,

We use  Hudson ver. 1.366 to CI Builds

Could someone please tell me the steps to take their Web UI Tests and integrate them into something like this. Or a similar product.
So each time they build the run the Web UI Tests

Thanks
Stoich
Telerik team
 answered on 28 May 2011
5 answers
105 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
155 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
114 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
93 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
109 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?