Hi Rajeshwar,
i have written a test with 3 actions in QTP 11, merged all objects to one repository (test.tsr) stored in ALM 11. I can see the 3 actions in my repository when i go in my test to Object repository > Associate Repositories > Associate Actions.
Now i want to reuse this action an another test with the same objects and the same script because "Login" is necessary for every test case. When i create another test an associate the shared repository, i can only find an "Action 1" in my fresh uploaded shared repository in ALM 11. I thought that i can now reuse the written action "Login" to my new created test. What i am doing wrong?
What i wanna do is modularize the tests in 3 pieces or actions: 1 is login, 2 is navigate and 3rd is the specific test case. So i want to write 1 and 2 only once. They will get Parameters from the Global Data Sheet. The 3rd is unique for all tests.
I thought that i can add action 1 and 2 to all my new tests and write only the 3rd part for every test case. I also thought that 1 shared repository can manage n actions. Am i right or not? i need an advice :/
Regards,
Stefan
i have written a test with 3 actions in QTP 11, merged all objects to one repository (test.tsr) stored in ALM 11. I can see the 3 actions in my repository when i go in my test to Object repository > Associate Repositories > Associate Actions.
Now i want to reuse this action an another test with the same objects and the same script because "Login" is necessary for every test case. When i create another test an associate the shared repository, i can only find an "Action 1" in my fresh uploaded shared repository in ALM 11. I thought that i can now reuse the written action "Login" to my new created test. What i am doing wrong?
What i wanna do is modularize the tests in 3 pieces or actions: 1 is login, 2 is navigate and 3rd is the specific test case. So i want to write 1 and 2 only once. They will get Parameters from the Global Data Sheet. The 3rd is unique for all tests.
I thought that i can add action 1 and 2 to all my new tests and write only the 3rd part for every test case. I also thought that 1 shared repository can manage n actions. Am i right or not? i need an advice :/
Regards,
Stefan