05-07-2009, 11:05 AM
I have a Web Application and am using internet explorer. I am opening application in two webclients , in the first webclient iam logging in as user1,in the second web client iam logging in as user2. iam able to identify the webclient in QTP using window handles through descriptive programming.when i perform the operations on webclients
in the given order ,i am facing a problem where in data related to to webclient2 is being set to webclient1 although operation happens in correct webclient
order of operation
1. open webclient 1- login as user 1
2. open webclient 2- login as user 2
3. perform some action on webclient 1 ---webclient2 data is being set to webclient 1
4. perform some action on webclient 2 --- webclient2 data
i am not getting this problem when i do the operations in following manner
1. open webclient 1- login as user 1
2. perform some action on webclient 1
3. open webclient 2- login as user 2
4. perform some action on webclient 2
i tried using webutil.deletecookies but it did not help
in the given order ,i am facing a problem where in data related to to webclient2 is being set to webclient1 although operation happens in correct webclient
order of operation
1. open webclient 1- login as user 1
2. open webclient 2- login as user 2
3. perform some action on webclient 1 ---webclient2 data is being set to webclient 1
4. perform some action on webclient 2 --- webclient2 data
i am not getting this problem when i do the operations in following manner
1. open webclient 1- login as user 1
2. perform some action on webclient 1
3. open webclient 2- login as user 2
4. perform some action on webclient 2
i tried using webutil.deletecookies but it did not help