This is a migrated thread and some comments may be shown as answers.

Simple login test on Firefox passes but not really.

1 Answer 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 07 May 2014, 04:54 PM
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!



1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 08 May 2014, 02:08 PM
Hi Justin,

Thank you for evaluating Test Studio.

Just to clarify it,  why do you use Desktop Command for clicking. You can simply click with the mouse, or you don't need to click at all in the fields. Test Studio will fill the data with the text enter step. You can remove those steps.

Please make sure your Firefox browser is properly configured and calibrated. Here is an article on how you can calibrate it automatically.

If the issue persists and since this a recording issue, could you please grant us a direct access to the application so we can reproduce the issue and give you a solution.

Hope to hear from you soon.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Justin
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or