This is a migrated thread and some comments may be shown as answers.

Questions about Test Studio

2 Answers 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jake
Top achievements
Rank 1
Jake asked on 09 Oct 2013, 01:06 PM
Hi all,

I have a few questions about digging further into Test Studio.

Here are my questions:

1. Are you able to run external applications when creating coded tests? I was wondering if I would be able to call a PowerShell or Console Application and have it return a value in which I could pass that step or not.
2. Using the Visual Studio plugin, am I able to put the project in Source Control and once the tests have been created, to link them to test cases in TFS to be run on a remote machine?
3. Is there any support for automating tests in Outlook? If we were to use some of Teleriks custom controls in an add-in would I be able to automate this?

Thanks all in advance.

2 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 14 Oct 2013, 02:59 PM
Hello Jake,

Please excuse me for the delayed reply.

I'll be answering the questions in the way you asked.

For your first query you are able to launch an external application using coded step in Test Studio. There are a few ways to proceed, you can take a look at this article on how to invoke an application. You can also use LaunchNewApplication method, please find the code example below on how to open a notepad:

string appPath = @"C:\WINDOWS\system32\notepad.exe";
Manager.LaunchNewApplication(appPath);

However you cannot pass/extract value from that external application to Test Studio. In this case I don't think this is useful for you.

On your second question you can use our scheduling functionality and run tests on remote execution machines and get the latest project from the TFS server. Please check section 3 from this article.

Regarding testing Outlook, please note that Test Studio only supports WPF desktop application automation. Test Studio does not support testing against WinForms applications. When testing an application you need to ensure the application under test is 100% WPF and contains no non-WPF components. The only workaround here is if you use Outlook Web App. You can use this link in order to create your Outlook Web App.

Thank you for your understanding.

Regards,
Ivaylo
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Jake
Top achievements
Rank 1
answered on 14 Oct 2013, 03:11 PM
Thanks for the reply Ivaylo.  The answer to the first question was what I was looking for.  
Tags
General Discussions
Asked by
Jake
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Jake
Top achievements
Rank 1
Share this question
or