cancel
Showing results for 
Search instead for 
Did you mean: 

Taking time to object identification in testcomplete 14.4 through chrome browser

SOLVED
Highlighted
Contributor

Taking time to object identification in testcomplete 14.4 through chrome browser

Sys.Process(g_strBrowserType).Page("*") we are using but it checking all process for chrome and identifying object taking time.same script will run in ie 2 minutes but in chrome more than 15 minutes. Chrome Version is 80

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Taking time to object identification in testcomplete 14.4 through chrome browser

And Page('*') means that you're searching, basically, all pages....  which, if you have a bunch of tabs open, can take a bit.

And Find and XPath logic do a search, scanning the object tree... which can take some time.  That's why TestComplete has NameMapping.  The engine for NameMapping is much more processor efficient that those other methods and can speed up your work.  So, yes... why not NameMapping?


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

View solution in original post

7 REPLIES 7
Highlighted
Community Leader

Re: Taking time to object identification in testcomplete 14.4 through chrome browser

Hi,

 

Did You try t use NameMapping instead of directly access Sys memory vaules?

Highlighted
Community Leader

Re: Taking time to object identification in testcomplete 14.4 through chrome browser

In addition to @Wamboo  question,  which kind of check do you make ? TC xpath or TC specific ?  Xpath is very slow and especially on Chrome.

 

Un sourire et ça repart

Highlighted
Community Hero

Re: Taking time to object identification in testcomplete 14.4 through chrome browser

And Page('*') means that you're searching, basically, all pages....  which, if you have a bunch of tabs open, can take a bit.

And Find and XPath logic do a search, scanning the object tree... which can take some time.  That's why TestComplete has NameMapping.  The engine for NameMapping is much more processor efficient that those other methods and can speed up your work.  So, yes... why not NameMapping?


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

View solution in original post

Highlighted
Community Manager

Re: Taking time to object identification in testcomplete 14.4 through chrome browser

Thanks everyone for helping here.

 

@Babulu Did you resolve the issue? Please update us on your progress, and we will see how we can help. Thank you.


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Contributor

Re: Taking time to object identification in testcomplete 14.4 through chrome browser

I got the solution for chrome browser . Because of Chrome version 80 and TestComplete 14.4 version is not working for Xpath, Its working for fullname. Xpath is taking time to identifying the object.But fullname is very fast to identify the objects very fast

Highlighted
Contributor

Re: Taking time to object identification in testcomplete 14.4 through chrome browser

same chrome browser we are using another appliation. That application is very fast to identify the objects and execution but related to flex  and java related application is very very slow to idnetify the obects.

Highlighted
Contributor

Re: Taking time to object identification in testcomplete 14.4 through chrome browser

yes soniya i got the solution for that. Thanks for sending reply my message

New Here?
Join us and watch the welcome video:
Top Kudoed Authors