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

WPF and Web testing in one script

3 Answers 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Enoch
Top achievements
Rank 1
Enoch asked on 01 May 2012, 11:27 PM
Forgive me if this has been asked before, but how could I use both WPF and Web commands in one test case? For instance, I'd like a code step that would open a web browser and check something after performing an action in a WPF application. Could I just use LaunchNewBrowser()?

3 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 02 May 2012, 05:20 PM
Hello Enoch,

There currently isn't an easy way to do this. Web and WPF tests are intentionally kept separate. You can, however, put Web and WPF tests into the same Test List so they execute sequentially. Will that suit your needs?

If not, can you share more details about your desired automation scenario and what you're trying to accomplish?

Kind regards,
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Enoch
Top achievements
Rank 1
answered on 02 May 2012, 11:50 PM
Well, what I need to do is open a Windows application that communicates with a server, then open a web page that retrieves data from that server. The Windows application needs to stay open while I am communicating with the web page, and some of my tests would need to switch between them, such as changing a setting in the Windows application, then going back to the web page to make sure that the change is reflected there.
0
Anthony
Telerik team
answered on 03 May 2012, 04:31 PM
Hello Enoch,

This is possible, however it requires a complex coded solution. This is beyond the scope of standard Test Studio support. 

Support that comes with Test Studio is limited to:
  • Product upgrades
  • Product not behaving as expected
  • Directions, guidance, and instructions on how the product can and should be used
  • The limitations of Test Studio

Test Studio support does not include:
  • Writing a significant amount of custom code
  • Detailed consultative services on how to automate a complex scenario

Your request enters the world of Professional Services. Your custom solution will have to be done on a paid consulting basis. If you wish to pursue this route, please see our Professional Services page and follow the link to obtain a quote for service. Or try one of our training packages available to you.

All the best,
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Enoch
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Enoch
Top achievements
Rank 1
Share this question
or