Automating Virtual Desktop using QTP. - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Automating Virtual Desktop using QTP. (/Thread-Automating-Virtual-Desktop-using-QTP) |
Automating Virtual Desktop using QTP. - mag - 04-15-2008 We have an application, in that there is one functionality which makes the real desktop into a virtual desktop(in virtual desktop, the computer name and IP are all same as that of real desktop) Once the focus is on virtual desktop, QTP is not recognising any objects. The remaining scripts will be running in real desktop, but not in virtual desktop. I tried with some Win32 API's, using GetActiveWindow and SetActiveWindow. But it doesn't work either. Please let me know if there are any other way to automate this. I also searched this forum, but didn't find any posting related to this. Thanks in advance. RE: Automating Virtual Desktop using QTP. - stech - 04-15-2008 Did Virtual Object Wizard help? RE: Automating Virtual Desktop using QTP. - mag - 04-16-2008 I also tried using Virtual Objects, but not possible either. Actually, the scenarios is, when I click on the icon (from systray) of real desktop, then it becomes Virtual desktop. Clicking on the icon in virtual desktop switches back to real desktop. And my requirement is, i have to switch to Virtual desktop and create some text file. The problem is after switching to virtual desktop, whatever operation done through QTP are happenning in real desktop. Also I cannot open a new instance of QTP in virtual desktop. Wondering is it possible to automate this steps or not ? Please suggest. |