Ask a Question

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

SOLVED
Amytav
Occasional Contributor

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?

 

7 REPLIES 7
Marsha_R
Champion Level 3

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
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
Champion Level 3

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.  

Amytav
Occasional Contributor

Hi Marsha,

This test has a step which invokes BuiltIn.InputBox method. It is stuck there in the video under the crossbrowser test log. In that case, we need to modify our tests.

Tried one more test with accessing google.com > search with some text > navigate to web page. That test is working in cross browser test utility but the option to test in Android, IOS browsers is not present (image 1_1). How can we add those options within Testcomplete cross browser utility?

@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.

Best,
Justin Kim
Amytav
Occasional Contributor

Hi Marsha, Justin

Thank you for your replies.

I have a question: If we purchase the device cloud add on, is it emulating the Mobile devices or tests are being run on the actual android, IOS hardware platform? I ask because sometimes the emulation available within Chrome for different mobile devices does not capture all defects or user actions effectively as in the actual device.

sonya_m
SmartBear Alumni (Retired)

Thanks for helping Community!

 

As for the follow-up question about the emulators, I see it was answered in another thread. Leaving it here for reference.


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: