Micro Focus QTP (UFT) Forums
QTP issue mainitaining session data - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: QTP issue mainitaining session data (/Thread-QTP-issue-mainitaining-session-data)



QTP issue mainitaining session data - meetvenuhere - 05-07-2009

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