Ask a Question

How does Python work in TestComplete

SOLVED
HD1997
New Contributor

How does Python work in TestComplete

Im new to the TestComplete tool & I have been learning Python (I have basic Python knowledge)

 

I would like to see some example of a test script which include setting an object, using click, verifying etc... to understand how Python works with TestComplete.

 

6 REPLIES 6
Reshail
Contributor

Hi @HD1997,

 

You can search and read the documentation. You will find python tab for most of the snippets that are provided as example.

 

Reshail_1-1587039129835.png

 

Thanks

HD1997
New Contributor

Where do I find the documentations

tristaanogre
Esteemed Contributor

Either you can open the "Help" file directly from TestComplete or you can find the same documentation available online at https://support.smartbear.com/testcomplete/docs/


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

@HD1997,

 

You can go to tutorials and samples to get started.

https://support.smartbear.com/testcomplete/docs/licensing/index.html 

 

Regards,

Reshail

I had a look at the documentation under Script Test > Specifics of Usage > Python. It doesnt have much info Im looking for. Where can I get more detail and see example scripts?

tristaanogre
Esteemed Contributor

AS mentioned, open up any topic on stuff and you'll find samples.

For example...

https://support.smartbear.com/testcomplete/docs/app-objects/simulating/keystrokes.html#Script

Also, installed with TestComplete are numerous sample projects and Tutorials that you can take.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: