[UFT12.00][Remote] Object recognization (120 Views)
Reply
Occasional Advisor
bchan1357
Posts: 23
Registered: ‎06-04-2014
Message 1 of 1 (120 Views)

[UFT12.00][Remote] Object recognization

[ Edited ]

I write a script to run a test case IN remote desktop [Windows 7 64bit].

(i.e. the local desktop is only used for connection)

 

""""

Set App = CreateObject("QuickTest.Application")
App.Launch
App.Visible = True
App.Open "C:\Users\uft\Desktop\testcase"
App.Test.Run 
App.Test.Close
Set App = Nothing
Set AppResult = Nothing

""""

 

When I was connecting the remote desktop, the test case runs successfully

 

However, when I run the script without connecting the remote desktop, the test case will fail to recognize some of the object [e.g. keyboard object]. And the test case failed.

 

[For IE 9.0] Browser objects are failed to be recognized, like "OK" button of Dialog Message Box

[For FF 27.0] Keyboard objects

 

Why is this happened and how can I solve this?

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.