Forum Discussion
Hi,
You can do it if you have installed both TC modules - Desktop and Web.
- DavidRedmayne8 years agoOccasional Contributor
OK thanks - that's promising. Yes we have both of those modules installed. What's the process please?
Thanks
David
- tristaanogre8 years agoEsteemed Contributor
No real "process"... just create your test, calling the functions, methods, etc., against the appropriate applications in the appropriate order.
Prime example from my own work history: eCommerce website + Windows Service to "poll" the site for new orders + desktop application for order fulfillment, all in the same TestComplete project. Basically, created a test to place an order on the website, check the SQL database for the order retrieval by the web service, then go through the fulfillment process. Now, I modularized each piece but I just called them in sequence in the same automation project and it worked just fine.
Perhaps you can tell us what you've tried and we can give pointers on how to make it work?
- AlexKaras8 years agoChampion Level 3
Hi David,
As Robert replied - no real process, just scripting as usual :)
TestComplete references tested objects using the Sys.Process.Object1.Object2... hierarchy.
So, for your desktop application you will have something like Sys.desktopApp.mainForm.textBox1 call and for the web application this will be the Sys.Browser("chrome/ie/firefox/...").page.form.panel1.textBox1 call. And there is no problem to use both these objects within one test in TestComplete.
So, no problem with your scenario.
I would suggest you to record some sample test scenario for both your applications with TestComplete to get an idea of how test code will look like.
Related Content
- 11 months agosanket2799
- 3 years agoMichal_Ignaczak
- 4 years agoprekar
- 4 years agoStevan
Recent Discussions
- 20 hours agojstaehlin
- 2 days agoAivanitskiy