12-29-2009, 08:50 AM
I have a QTP test script to do some operations on my web application. Now here is my business scenario
1-Login in application with User A ( User name becomes part of browser title window)
2-User A do some tasks and allocate others to user B
3-User B should login and check what tasks are allocated to me.
///////////////////////
4-now to accomplish above task i am using SystemUtil.Run, APPURL
method to open my required application
5- QTP opens application login into application ( Becuase login function
have test object descriptions different than base browser which user A used.
6- Next step is User B to open allocated ( Using same reusable function user A used to open allocated task window ) task window, where the problem is that rather than working on new window it goes back to base window i.e. User A window.
Do I need to record this reuable function again for user B. so it dont go on base user A window
I wantQTP to work on newly opened application
If it is difficult to extract the problem please see attached screenshort
Regards,
Umer
1-Login in application with User A ( User name becomes part of browser title window)
2-User A do some tasks and allocate others to user B
3-User B should login and check what tasks are allocated to me.
///////////////////////
4-now to accomplish above task i am using SystemUtil.Run, APPURL
method to open my required application
5- QTP opens application login into application ( Becuase login function
have test object descriptions different than base browser which user A used.
6- Next step is User B to open allocated ( Using same reusable function user A used to open allocated task window ) task window, where the problem is that rather than working on new window it goes back to base window i.e. User A window.
Do I need to record this reuable function again for user B. so it dont go on base user A window
I wantQTP to work on newly opened application
If it is difficult to extract the problem please see attached screenshort
Regards,
Umer