cancel
Showing results for 
Search instead for 
Did you mean: 

Executing Test Via python scripts takes more time

Highlighted
Contributor

Executing Test Via python scripts takes more time

Dear Community members,

 

I am trying to execute firmare test via Roboter and wrote script in PYthon.

But python takes more time to execute the test, is any one have idea How to  improve the speed performance ?. 

 

Thanks and regards

sivaKartheek Sreeram

3 REPLIES 3
Highlighted
Community Hero

Re: Executing Test Via python scripts takes more time


@sivakarthik wrote:

Dear Community members,

 

I am trying to execute firmare test via Roboter and wrote script in PYthon.

But python takes more time to execute the test, is any one have idea How to  improve the speed performance ?. 

 


Compared to what?  Do you have something that is running similar tests with a different language?

 

Also, it would be helpful to see what you have written in your code.  It might be useful to understand why it's taking long to execute.


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
Highlighted
Contributor

Re: Executing Test Via python scripts takes more time

 

yes in Delphi, I am Converting Delphi Firmare project to python in test complete.

 

the  project is a series of script files.

I have even updated the script as per some performance tipps in some websites like one given below

 https://wiki.python.org/moin/PythonSpeed/PerformanceTips.

 

I am not allowed to share the file. Sorry for that

may be can you suggest me some perfomance tipps so that it will speeup the process

 

Thanks and Regards

SivaKartheek 

 

Highlighted
Community Hero

Re: Executing Test Via python scripts takes more time

TestComplete runs code as interpreted code, similar to the way a web page does so.  There are no compiled files or executables so the code is executed as it's interpreted.  This is, generally, slower than what you're going to get in Delphi which, if I understand things correctly, compiles the code into some sort of executable.  


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
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to pass custom command-line arguments as a test parameter for the TechCorner tag!

Will you dare to take the challenge?


Top Kudoed Authors