Forum Discussion
mikef
Staff
5 years agoHi Amna
Yes, you can copy the login steps out to a new keyword test (click the plus symbol next to the KeywordTest repository in Project Explorer), paste the operations (or record the operations), then you can drag-and-drop that keyword test into any existing test. Or, you can organise your Execution Plan to perform the login test, then run the subsequent tests.
Hope this helps,
Mike.
Amna
5 years agoOccasional Contributor
But I am using scripts test not the keyword test
- mikef5 years ago
Staff
Hi Amna
Apologies, yes you can also define a script method to perform your login steps then call that from other tests. More information for the specific usage is available here : https://support.smartbear.com/testcomplete/docs/scripting/calling-routines/index.html
Hope this helps
Mike