Forum Discussion

gshipp's avatar
gshipp
Occasional Contributor
4 years ago

WebUI

Does TestComplete support automation of WebUI browers? We have a Shell UI application that uses WebUUI with Angular. Currently when I try and create automation, it will only run through it within sec's becuase there are no objects to connect to. It seems like the only way to do it is to add timeouts, which are very difficult to predict.

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    WebUI browers [...] Shell UI application that uses WebUUI [...]

    Can you clarify/provide a sample what you are talking about?

    In general, TestComplete supports automation of web pages rendered both in desktop browsers and in web controls of desktop applications. As well as hybrid mobile applications.

    To automate web pages rendered in iOS/native mobile browsers one must use Cross-Platform and Cloud functionality of TestComplete (which requires separate licensing).

     

    • gshipp's avatar
      gshipp
      Occasional Contributor

      Not sure if I replied to your reply or not.

       

      We install a shell that acts like a browser. It uses Electron that run on Angular which is a Java script language. In talking to the Dev, the buttons don't have objects, but they do have names that we might be able to find and click on it that way. Here is a snip-it of our code representing this. (also see attachment)

       


      "name""RemainingBalance",
      "type""message",
      "title""RemainingBalance.title",
      "messageText": [
      "RemainingBalance.accountNumber",
      "RemainingBalance.balanceAmount",
      "RemainingBalance.balanceDate",
      "RemainingBalance.remainingDays"
          ],
      "customNavigation": {​​​​​​​​
      "buttons": [
              {​​​​​​​​
      "buttonName": "Continue",
      "enabled"true,
      "style""kubra-footer-custom-nav-btn",
      "target""PaymentTypeMenuSetup",
      "text""global.continue"
              }​​​​​​​​
            ],
      "style""sbp-custom-navigation"
          }​​​​​​​​,
      "hasCustomNavigation"true,
      "hasNavigation"true,
      "navigation": {​​​​​​​​
      "buttons": [
              {​​​​​​​​
      "buttonName""help",
      "enabled"true,