shnadik / twin

Automatically exported from code.google.com/p/twin
0 stars 0 forks source link

Open Method Parameters #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
app.open("MyApp", null)

What NULL parameters says here. Since I am new in TWIN. When I am trying to 
open my application its throwing error mention below

Please provide any additional information below.

Exception in thread "main" 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)
    at TwinSample.main(TwinSample.java:18)

Please help why ID=NULL is creating problem and what is it solution

Original issue reported on code.google.com by jayantsi...@gmail.com on 4 Nov 2014 at 6:36

GoogleCodeExporter commented 9 years ago
Do you get any errors with common applications the developers can debug 
against? Like notepad.exe, calculator, rather than your custom/proprietary 
MyApp.

Original comment by manga...@gmail.com on 24 Jan 2015 at 12:51

GoogleCodeExporter commented 9 years ago
no, not with common application
my application format is .msappref

Original comment by jayantsi...@gmail.com on 24 Jan 2015 at 11:43

GoogleCodeExporter commented 9 years ago
I am new to TWIN automation framework, do you have any document that can help 
me to automate my application using TWIN ?

Original comment by nikhilag...@gmail.com on 25 Feb 2015 at 5:56

GoogleCodeExporter commented 9 years ago
This tool is being used rarely, its all hit and try rule to be work 
around(according to my experience).

Original comment by jayantsi...@gmail.com on 25 Feb 2015 at 6:09