Ask a Question

Community Day 2021 - Scalable Web Tests

sonya_m
SmartBear Alumni (Retired)

Community Day 2021 - Scalable Web Tests

Scalable tests are a big topic in the QA industry for sure! Enjoy the session and subscribe to the event tag not to miss out on more quality content.

 

Scalable Web Tests

by Igor Staroverov, TestComplete QA Engineer

 

This video session explains the new mode of working with Web Objects in TestComplete. This mode is based on using the Selenium framework. Today, this framework is widely used in web testing and that’s why the transition to TestComplete will be smooth and easy. The new mode is the combination of the two powerful products - TestComplete and Selenium.

 

Become a Community Day Winner!πŸ†

Watch the video sessions, post your questions and give Kudos to get the event points!

Read more about participation rules.

 

Watch the session:

 

Timestamps:

00:00 Speaker's introduction

01:34 Explaining the new mode of working with Web Objects in TestComplete

06:13 Creating a project using the new Web mode

07:01 Recording a simple test

08:30 NameMapping

09:06 Working with Selectors

14:26 Special methods

17:25 Launching a test on a remote browser using CBT

19:36 Launching tests on several remote browsers in parallel using CBT

 

Got questions? We are ready to answerπŸ™‚

 

 


Sonya Mihaljova
Community and Education Specialist

12 REPLIES 12
Lee_M
Community Hero

I notice CBT has a headless option, do you know if local tests have a way of doing this functionality?

 

I would like to be able to lock the computer that is running the tests rather than leaving an active computer session open while I am away

How can we not to be locked to a local workstation for hours just watching tests ?

 

Andrew_Red
SmartBear Alumni (Retired)

Thank you for the question!

Yes, it's possible to run web tests in a headless web browser on a local machine. The complete instruction is here
You can also connect to a remote computer via Microsoft Remote Desktop, run your tests here, and then close the Remote Desktop window following this instruction.

UConnAnnMarie
Contributor

This was a great video!

Can you tell me where else I can find information on this topic on the SmartBear website?

@UConnAnnMarie :

 

I would recommend this section of documentation: https://support.smartbear.com/testcomplete/docs/app-testing/web/cross-platform/index.html

 

 
Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

Thank you for this information.  I will certainly look into it.

nisgupta
Valued Contributor

I have seen when working with CBT , we do have problems with applications when there is basic authentication dialog . Not possible with CBT . Is there any improvement ?

 

Thanks

Nishchal

nisgupta
Valued Contributor

Here is one thing I noticed. To use selenium capabilities in TestComplete and the user want to write brand new script using this capabilities , user need to record the steps using keyword and then analyze the keyword recording and then from there write the scripts ?

 

I do not want to use name mapping when using selenium capabilities and want to create script directly . Do you have this information somewhere ?

 

Thanks

Nishchal

Hi,

 

we do have problems with applications when there is basic authentication dialog . Not possible with CBT .

This is general Selenium limitation caused by the fact that Selenium injects its code into web page and thus has no access to anything but tested web page source. While basic authentication dialog is displayed by the browser itself.

Usual recommended approach in this case is to include authentication info into initial tested web address. E.g.:

http://admin:admin@the-internet.herokuapp.com/basic_auth

 

 
Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Marsha_R
Community Hero

Thank you for the video!  Would you recommend this method just for users who are coming from a Selenium shop or is it useful to add Selenium in if we've only had TestComplete in the past?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β