Hi,
Our team is currently evaluating Test Studio and we were wondering how to go about creating a login test that can accept a user/password and be reused in other scripts?
I've read a few forum posts on this subject and believe the approach is to use the Test as Step / Data Driven approach, however I'm not 100% sure which of our tests I need to modify in Test Studio to achieve this :-) I've attached a picture of the current project structure.
Currently I have a _LOGIN test (with a hardcoded user/password) that is called via Test As Step by both the CreateStringFilter and ViewDashboard tests. I'd like to modify it so CreateStringFilter can use a username & password of admin/admin and ViewDashboard QA/12345.
Is anyone able to outline the steps based on our test structure to set this up?
Cheers,
Brett
Our team is currently evaluating Test Studio and we were wondering how to go about creating a login test that can accept a user/password and be reused in other scripts?
I've read a few forum posts on this subject and believe the approach is to use the Test as Step / Data Driven approach, however I'm not 100% sure which of our tests I need to modify in Test Studio to achieve this :-) I've attached a picture of the current project structure.
Currently I have a _LOGIN test (with a hardcoded user/password) that is called via Test As Step by both the CreateStringFilter and ViewDashboard tests. I'd like to modify it so CreateStringFilter can use a username & password of admin/admin and ViewDashboard QA/12345.
Is anyone able to outline the steps based on our test structure to set this up?
Cheers,
Brett