Egg
4 years agoFrequent Contributor
Login using Test Complete Keyword test
Hello, I wanna question How I create 'web site login test' using Test Complete Keyword test.
I tried below steps..
1. I recorded Login test using keyword test on a website. (error: zero-sized window. (In my opinion current Test Complete couldn't find Username window. I thought that problem comes from remembered website ID&password. So I wonder How do I handle remembered ID and password.or any other needed solution.. ) )
2. I was create variables Username and password. and I setup 'test setup' value: variable.
Thank you, ...
1)This archived thread explains zero-sized windows
2) You are correct that TestComplete couldn't find the full window but that doesn't have anything to do with the username and password variables.
- 1) It is considered best practice to save values like id and pw in variables in case they need to be changed later. You can change the variable value in one place instead of one or many places in the code.
2) If you use the Password type for a variable, it will be encrypted and not automatically visible to everyone. - Using the box to login will also prove that the server can be accessed. If it was me I wouldn't do both.