Forum Discussion

Amytav's avatar
Amytav
Occasional Contributor
5 years ago

Running existing Test Complete scripts/keyword tests in Cross Browser Testing through Test Complete

Hello All,

We have a requirement to run existing Test Complete scripts/keyword tests in multiple browsers and mobile devices (android and IOS) 

Currently have a license for Cross Browser Testing. We are unable to run due timeout issue in the cross browser testing utility. 

Questions:

-How can we perform test execution in Cross Browser Testing utility? Are any changes to existing scripts required?

-The Cross browser utility does not include mobile devices in the drop down. How can mobile devices be also added?

 

  • Amytav In order to get the mobile browser options on CBT (android, ios etc) you would need to get a device clouds add on for TestComplete. Then you can create a new project where the scalable web tests are enabled. Afterwords, you can simply record your tests the way you would, and modify your workspace after the recording with a "run remote browser" operation. That operation will give you access to the full list of browsers, including the mobile ones. 

    However, it is to my knowledge, that the mobile browser options are not offered within the older cbt-tc integration panel within the project explorer.

  • We need some more information -

     

    What is the test you are running in CrossBrowser?  Seeing the code helps more.

    Exactly where in the test does it stop?

    Does it stop in that same place every time?

    Does it stop in the same browser every time?

    Does that test run in TestComplete without CrossBrowser without getting the error?

     

    • Amytav's avatar
      Amytav
      Occasional Contributor

      Hi Marsha,

      Please find details below:

      What is the test you are running in CrossBrowser?  Seeing the code helps more.

      -Please see image 1

      Eactly where in the test does it stop?

      Does it stop in that same place every time?

      Does it stop in the same browser every time?

      -It stops due to timeout issue. Please see image 2

      Does that test run in TestComplete without CrossBrowser without getting the error?

      Yes, when run in local environment with Chrome/IE browsers

       

      • Marsha_R's avatar
        Marsha_R
        Moderator

        Okay, that helps some.  Now if you look in the log, you'll see options for Video and Run Live Test.  Please take a look at those and tell me what the test is trying to do when that timeout occurs.