Telerik Forums
Test Studio Forum
1 answer
75 views
I'm sure there is a command in Visual Basic, but I'm not sure what it is.

I have this VB code that builds a command but while I can get the command to display in the console, I can not figure out how to get the code to execute in the code behind file.

Here is the code:
Dim intMonth As DateTime = DateTime.Now.AddDays(-1)
Dim format As String = "m"
Dim strMonth as String
strMonth = (intMonth.ToString(format))
strMonth = strMonth.Replace(" ", "")
Console.WriteLine("Pages.OrchidTest0."+strMonth+"Link"+".Click(false)")

and what I want to execute (for today for example) would be:

Pages.OrchidTest0.November30Link.Click(false)

Thank you in advance
Chris
Anthony
Telerik team
 answered on 02 Dec 2011
1 answer
102 views
Hello,

I would like to use Test studio to record some of my tests; however, what I need to figure out is that I need to be able to, when TestStudio starts, get my database into an initial state of data for the test; essentially, as I run my tests, everytime I need to start the test project, I need to have the database at a particular state.  Have you guys got any tips for accomplishing this?  I'm using the MS test framework for unit tests.

Thanks.
Anthony
Telerik team
 answered on 30 Nov 2011
1 answer
40 views
Can i test Dot Net 3.5 Framework developed application in Telerik test studio, I have developed application using telerik windows control too. When i use Standalone WPF test it opens the Dot net frame work application and throws an exception.
Plamen
Telerik team
 answered on 30 Nov 2011
5 answers
167 views

Hello,

I’m evaluating Test Studio to check if it is the right testing tool for my company.

Last Friday I made a test case against our corporative web application, and it worked properly after running in IE and Firefox. I had the 928 build of Test Studio. To check another problem (in other thread of this phorum) I installed the latest build (1103). After this my test case is not working anymore:

In one of the steps a text is set; I had to put SimulateRealTyping to make it work. Now with this new version the text is not set. I have tried changing some of the parameters, but it does not work.

I have come back to the 928 and got the backup of the project, and it works again.

My question is, is this 1103 an stable version? In the future if we acquire Test Studio and we install a new version could we have these kind of problems when updating the product?

Regards

Plamen
Telerik team
 answered on 30 Nov 2011
5 answers
218 views
Hi

I am trying to run the sample test code (here) on a testing machine.
I get the following error - see below.

This computer does not have the testing framework installed on.
I added the relevant WebAii dlls to the application I created so they are included in the bin folder.

What am I missing 

Thanks





ee the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.


************** Exception Text **************
System.ApplicationException: Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it. ---> System.TypeInitializationException: The type initializer for 'ArtOfTest.Common.Win32.Connector' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtOfTest.Common.Win32.Connector..cctor()
   --- End of inner exception stack trace ---
   at ArtOfTest.Common.Win32.Connector.Start(ConnectorEntryPoint entryPoint, IntPtr windowHandle)
   at ArtOfTest.Common.Win32.Connector.Attach(IntPtr& handle, Boolean findTabWindow)
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser()
   at WindowsFormsApplication3.Form1.btnLoginT_Click(Object sender, EventArgs e) in ...\WindowsFormsApplication3\WindowsFormsApplication3\Form1.cs:line 283
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.225 (RTMGDR.030319-2200)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
WindowsFormsApplication3
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/dudib/Desktop/Debug/WindowsFormsApplication3.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
imageClient
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/dudib/Desktop/Debug/imageClient.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ArtOfTest.WebAii
    Assembly Version: 2011.1.712.0
    Win32 Version: 2011.1.712.0
    CodeBase: file:///C:/Users/dudib/Desktop/Debug/ArtOfTest.WebAii.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
UIAutomationClient
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClient/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationClient.dll
----------------------------------------
UIAutomationTypes
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
UIAutomationProvider
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
UIAutomationClientsideProviders
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClientsideProviders/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationClientsideProviders.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
ArtOfTest.InternetExplorer
    Assembly Version: 2011.1.712.0
    Win32 Version: 2011.1.712.0
    CodeBase: file:///C:/Users/dudib/Desktop/Debug/ArtOfTest.InternetExplorer.DLL
----------------------------------------


************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.


For example:


<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.




Plamen
Telerik team
 answered on 30 Nov 2011
1 answer
49 views
Hello everyone. A colleague of mine created and successfully ran a test on a remote desktop. When I go to the same desktoip and try to execute the test I get a compilation error that reads as follows:

: Line 132: (CS1061) 'Fulfillment_Request.Pages.Name' does not contain a definition for 'SilverlightApp0' and no extension method 'SilverlightApp0' accepting a first argument of type 'Fulfillment_Request.Pages.Name' could be found (are you missing a using directive or an assembly reference?)

for every line of code that uses "SilverlightApp0" The compilation problems are only occuring on the coded steps, specifically those conatining silverapp0.

Does anyone know what might be causing this issue, and how to fix it?

Thanks,

Anthony
Telerik team
 answered on 29 Nov 2011
1 answer
111 views
Hi,
i want know if test studio support multiple projects from one PC to connect schedule server. i opened two projects with two test studio client in my local pc which is configured as schedule server, and connect this two projects to schedule server, then schdule test for both projects to different execution servers, actually it succeed to execute in ES and reload result in both projects.
Stoich
Telerik team
 answered on 29 Nov 2011
4 answers
224 views
Hello,


I am trying to automate my UI tests on my Silverlight App.


I have a datePicker where I can choose one date (but only from "today").


For example, today I recorded a test and I choose the date of tomorow (24-11-2012). To months for now if I play this test, the date od 24.11.2012 won't be available for Test Studio to choose and Test Studio simply ignore this step.
How can I solve this problem?


Thank you.


Best regards,
Maria
Anthony
Telerik team
 answered on 28 Nov 2011
4 answers
141 views

Hi ,

I tried to record a data grid in my application.But the tool is not recognizing the same.Instead it gets recognized as a table. Kindly suggest me how could I proceed with my testing for data grid.



Thanks,
Raji Vijay
Stoich
Telerik team
 answered on 25 Nov 2011
5 answers
138 views
I have noticed that neither Microsoft nor Telerik seems to have a testing framework suitable for testing SharePoint applications either in the browser or out of the browser--particularly things such as InfoPath Forms.

It would be great if Telerik Test Studio were to offer testing for SharePoint applications as well as InfoPath Forms since we have largely had to rely on manual test cases for our SharePoint applications thus far.  Being able to automate the regression testing of our applications within the SharePoint framework would benefit us tremendously.

Are there any current or future plans to offer this functionality?
Stoich
Telerik team
 answered on 24 Nov 2011
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?