Object Identification issues with Reflection Sessions
If you are using QTP and Reflection sessions for the first time
What you will notice:
- Whenever you open Reflection Sessions using QTP, it stops recognizing the objects viz. TEWindow, TEScreen etc.
- But when we open Reflection Sessions manually and then spy, QTP recognizes objects correctly
- We open reflection before launching QTP (yes thats an exception)
- To connect/disconnect the reflection session you can use below statements:
Set objReflection = GetObject("H:\Sessions\REF2011-PersonalCommunicationsIcons\TSYS.rd3x") ‘the path will change as per your scenario
objReflection.Connected = 0
objReflection.Connected = 1 - Additionally we keep only one session open in reflection window
Hi Aditya,
ReplyDeletee too have same problem in identifying the objects with QTP11 for reflection,
[ While recording objects were identified with TE but in playback they are not identified ]
And we could not be able to follow the steps provided,
Please help us in knowing the process and if possible provide me your phone no, so that I can call you.
Thank you:
Vasu Cheemakurthi