Forum Discussion

Christian_N_DK's avatar
Christian_N_DK
Contributor
7 years ago

Automation Test flow execution between desktop, mobile, web and soap in TC

Hi,   I am looking into doing some end to end verifications. This means getting some test up, where I need to get some scenarios tuning whitch will function with desktop, mobile, web and soap. ...
  • AlexKaras's avatar
    7 years ago

    Hi Christian,

     

    If I got your question right: you are wondering if it is possible to do something in one (desktop) application and then do something else in another (mobile) application within the same (end-to-end) test, aren't you?

    If my understanding is correct, then this is definitely possible in TestComplete, can be done even on the same test box and does not require any special setup.

    Sample pseudocode test skeleton:

     

    var desktopApp = TestedApps.DesktopApp.Run();

    var mobileApp = TestedApps.MobileApp.Run();

    Browsers.Item(btFirefox).Run('http://www.example.com/testedPage);

    var webPage = Sys.Browser('firefox').Page('*tested page*');

     

    desktopApp.mainMenu.Button('Create Demo Order').Click();

    mobileApp.Layout('').List.Item('Create Demo Order').Button('Approve').Click();

    webPage.Keys('[F5]');

    webPage.Wait();

    VerifyOrderSigned(webPage.ordersTable);

    ...

     

  • tristaanogre's avatar
    tristaanogre
    7 years ago

    The selection of "Generic Windows Application" in the project creation wizard does not lock you into only testing those kinds of applications.  That step in the wizard simply determines what components are added to the test project by default.  

    So... short answer, yes, you can use Generic Windows Application