Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3 by
sergey.i...@gmail.com: Remote control cannot be attached to
64bit processes
http://code.google.com/p/twin/issues/detail?id=3
I'm testing 64bit application and encountered this issue. I launch
sharpclaws.exe
and ide.jar. When I select Attach in the IDE I get error "Could not find
any process with path C:\path\to\my\app.exe to bind to". The same problem
when I try to get access via my java application.
What steps will reproduce the problem?
1. The application that is being tested is already running
2. Sharpclaws.xml was changed to attach to the application
<param name="
app.my_app.name">my_app</param>
<param name="app.my_app.path">C:\path\to\my\app.exe</param>
<param name="app.my_app.launch-strategy">attach</param>
3. Code snippet from my java application that perform tests
Application app = new Application(new URL("
http://127.0.0.1:4444"));
app.open("my_app", null);
Window wnd = app.getWindow();
What is the expected output? What do you see instead?
Exception occurs:
System.Exception: Could not find any process with path
C:\path\to\my\app.exe to bind to
at Twin.Model.Session..ctor(Unknown Source)
at Twin.Model.SessionFactory.Create(Unknown Source)
at Twin.View.Sessions.Create(Unknown Source)
at Twin.Generic.JSONResponder.Respond(Unknown Source)
at Twin.Generic.JSONResponder.Respond(Unknown Source)
at org.ebayopensource.twin.Application.open(Application.java:147)
at org.ebayopensource.twin.Application.open(Application.java:131)
at org.ebayopensource.twin.Application.open(Application.java:118)
What version of the product are you using? On what operating system?
twin1.0, Windows 7 Home Premium
Please provide any additional information below.
When I launch the application that is being tested rather then attach, the
application launches and the following exception occurs in my java app:
org.ebayopensource.twin.TwinNoSuchElementException: Found no children of
Desktop(id=null)@null matching controlType=Window after waiting 30.0
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.ebayopensource.twin.TwinError.create(TwinError.java:59)
at org.ebayopensource.twin.TwinError.create(TwinError.java:52)
at org.ebayopensource.twin.ElementImpl.getElements(ElementImpl.java:465)
at org.ebayopensource.twin.ElementImpl.waitForChild(ElementImpl.java:414)
at org.ebayopensource.twin.Application.getWindow(Application.java:287)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings