I'm evaluating Test Studio as a potential automation and load tool as we build out our Quality Engineering team. My first simple login test runs successfully on IE, Chrome, Safari and Firefox. Although the test results state success in FireFox, in actuality it simply loads the login page, cycles through the actions without actually completing them, closes the window and prints the successful run log (see below, with sensitive data replaced).
I wrote the test with element validations as this was the best way to get it working in both IE, Chrome and Safari. When run in debugger mode with annotations it appears that FireFox places the elements in a different location than the others.
Any help would be greatly appreciated. We need these tests to run on all browsers if at all possible.
Overall Result: Pass
------------------------------------------------------------
'5/7/2014 11:31:11 AM' - Executing test: 'Keylight Login 2', path: 'Test Modules\Keylight Login 2.tstest.'
'5/7/2014 11:31:11 AM' - Using .Net Runtime version: '4.0.30319.18444' for test execution. Build version is '2014.1.410.0'.
'5/7/2014 11:31:11 AM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'5/7/2014 11:31:13 AM' - Using 'FireFox' version '28.0' as default browser.
'5/7/2014 11:31:14 AM' - 'Pass' : 1. Navigate to : 'EXAMPLE URL'
'5/7/2014 11:31:15 AM' - 'Pass' : 2. Verify element 'BodyContentBodyContentUsernameWrapperSpan' 'is' visible.
'5/7/2014 11:31:15 AM' - 'Pass' : 3. Desktop command: LeftClick on BodyContentBodyContentUsernameText
'5/7/2014 11:31:19 AM' - 'Pass' : 4. RadInput('ctl00_ctl00_BodyContent_BodyContent_Username_wrapper'): value 'EXAMPLE USERNAME' entered.
'5/7/2014 11:31:20 AM' - 'Pass' : 5. Verify element 'BodyContentBodyContentPasswordPassword' 'is' visible.
'5/7/2014 11:31:21 AM' - 'Pass' : 6. Desktop command: LeftClick on BodyContentBodyContentPasswordPassword
'5/7/2014 11:31:22 AM' - 'Pass' : 7. RadInput('ctl00_ctl00_BodyContent_BodyContent_Password_wrapper'): value 'EXAMPLE PASSWORD' entered.
'5/7/2014 11:31:23 AM' - 'Pass' : 8. Verify element 'BodyContentBodyContentLoginButtonInputSubmit' 'is' visible.
'5/7/2014 11:31:24 AM' - 'Pass' : 9. Desktop command: LeftClick on BodyContentBodyContentLoginButtonInputSubmit
'5/7/2014 11:31:27 AM' - 'Pass' : 10. Wait for '3000' msec.
------------------------------------------------------------
'5/7/2014 11:31:27 AM' - Overall Result: Pass
'5/7/2014 11:31:27 AM' - Duration: [0 min: 13 sec: 830 msec]
------------------------------------------------------------
'5/7/2014 11:31:30 AM' - Test completed!
I wrote the test with element validations as this was the best way to get it working in both IE, Chrome and Safari. When run in debugger mode with annotations it appears that FireFox places the elements in a different location than the others.
Any help would be greatly appreciated. We need these tests to run on all browsers if at all possible.
Overall Result: Pass
------------------------------------------------------------
'5/7/2014 11:31:11 AM' - Executing test: 'Keylight Login 2', path: 'Test Modules\Keylight Login 2.tstest.'
'5/7/2014 11:31:11 AM' - Using .Net Runtime version: '4.0.30319.18444' for test execution. Build version is '2014.1.410.0'.
'5/7/2014 11:31:11 AM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'5/7/2014 11:31:13 AM' - Using 'FireFox' version '28.0' as default browser.
'5/7/2014 11:31:14 AM' - 'Pass' : 1. Navigate to : 'EXAMPLE URL'
'5/7/2014 11:31:15 AM' - 'Pass' : 2. Verify element 'BodyContentBodyContentUsernameWrapperSpan' 'is' visible.
'5/7/2014 11:31:15 AM' - 'Pass' : 3. Desktop command: LeftClick on BodyContentBodyContentUsernameText
'5/7/2014 11:31:19 AM' - 'Pass' : 4. RadInput('ctl00_ctl00_BodyContent_BodyContent_Username_wrapper'): value 'EXAMPLE USERNAME' entered.
'5/7/2014 11:31:20 AM' - 'Pass' : 5. Verify element 'BodyContentBodyContentPasswordPassword' 'is' visible.
'5/7/2014 11:31:21 AM' - 'Pass' : 6. Desktop command: LeftClick on BodyContentBodyContentPasswordPassword
'5/7/2014 11:31:22 AM' - 'Pass' : 7. RadInput('ctl00_ctl00_BodyContent_BodyContent_Password_wrapper'): value 'EXAMPLE PASSWORD' entered.
'5/7/2014 11:31:23 AM' - 'Pass' : 8. Verify element 'BodyContentBodyContentLoginButtonInputSubmit' 'is' visible.
'5/7/2014 11:31:24 AM' - 'Pass' : 9. Desktop command: LeftClick on BodyContentBodyContentLoginButtonInputSubmit
'5/7/2014 11:31:27 AM' - 'Pass' : 10. Wait for '3000' msec.
------------------------------------------------------------
'5/7/2014 11:31:27 AM' - Overall Result: Pass
'5/7/2014 11:31:27 AM' - Duration: [0 min: 13 sec: 830 msec]
------------------------------------------------------------
'5/7/2014 11:31:30 AM' - Test completed!