...
- Go to smartsite
- Click Login
- Enter login: sakaistu1
- Enter password: *******
- Click Login
- Click "Mike's Test Site"
- Click "Chat Room"
- Write 5 static messages (after which click Add Message)
- Write 1 dynamic message (after which click Add Message)
- Click Logout
...
Changes done after recording
What has been done:
- Coded dynamic messgae
- Made login/password combo come from a file
- The Recorded script did some "garbage" at the beginning(went to an unrelated URL, set some useless looking cookies), which has been eliminated
- Base system URLS are hardcoded all over the place. Rather than query/replace them each time, I put in a variable that's defined/set in TInit that has the URL in it. I then validated that two URLS can use it.
- "ThinkTime"(or as i'm gonna probably call it, sleep) is static. I changed one to be random
...