Ask a Question

Problem Running Test using TestComplete

frogen_hyourinm
Occasional Contributor

Problem Running Test using TestComplete

Hi, 

I am using TestComplete trial version hoping to opt for the company. 

When i create my first test 'Project Suit-> Keyword Test-> Test1'. It worked very fast and correctly verifying object checkpoint. 

These were the steps: 





Then goes my second test2, it opens the browser but doesnot type in URL or select URL. The process gets too slow and wrong. Even when i create a completely new project. It works well only when i delete all projects and start a new one. 

 

Has it something to do with 'Object checkpoint' or something else?
8 REPLIES 8
tristaanogre
Esteemed Contributor

What is your Test2?  What are the steps being executed there?  This isn't expected behavior for TC.  If something worked with Test 1 it should work with Test 2.

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
frogen_hyourinm
Occasional Contributor

The test2 was 

-open browser

-login

-checkpoint (logout button)

-logout

-click yes

-close browser

-stop recording



http://prntscr.com/3l8a6v



When i run test for this, it would never type in url even. I'm using internet explorer version 11. 
tristaanogre
Esteemed Contributor

I don't think it has anything to do with the checkpoint, no... 



Perhaps, what's happening, is that there's something different about your actual page in the second test.  Namemapping Criteria for the page itself may need to be adjusted so as to account for differences.  That's my best guess at the moment.  



Can you post a screenshot of pageRedowLoginPage in the NameMapping panel to be able to see the criteria?

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
frogen_hyourinm
Occasional Contributor

frogen_hyourinm
Occasional Contributor

There is another issue i'm facing now- I had a property checkpoint that will verify the inner text but it failed the checkpoint during test. 



http://prntscr.com/3nybgb
hsdhillon
Occasional Contributor

I am experiencing  the same issue while recording the web testing.

 

 

https://community.smartbear.com/t5/Functional-Web-Testing/TestComplete-11-31-After-window-force-upda...

 

After recording a test, I am unable to record or run another test. Mobile recording is working fine, though. 

 

 

mgroen2
Super Contributor

did you close the browser prior to test execution? You have to close all browser windows because all browser windows have different process number. It should match the recorded process id.

hsdhillon
Occasional Contributor

Thanks for your response mgroen2,

Yes, I have tried to close the browsers. After restarting the TC, it works fine for once. During the recording it brakes and after that when I am trying to run my recorded test, it takes lots of time to process one step (such as: Entering a text in the username field, it enters one by one character slowly)

cancel
Showing results for 
Search instead for 
Did you mean: