Forum Discussion

mokuma93's avatar
11 years ago

Following Tutorial -- Help!

Hi,



http://support.smartbear.com/screencasts/testcomplete/creating-your-first-test-set/



I'm following this tutorial and I have a question.



I have (currently) 2 automated tests, a login script and another script that runs after login.

I have it placed in the order of login > afterlogin.



When I run the project, the login script works, and I get logged into the system. However, it errors after that, and tells me that I tried to login again (Tried entering username into field again, and field was not found since I'm not in the login page anymore).



Do I need to end the function with some specific line? I run login script once (Count = 1) only!



Thanks!
  • rickh_28's avatar
    rickh_28
    Occasional Contributor
    It's hard to tell for sure without seeing your project... is is possible that the steps from your login test got copied to the afterlogin test?  Or that the test got put into the project twice?