Odin Technology - Automated Software Testing

Axe Test Automation Platform

General discussion relating to the Axe Test Automation Platform from Odin Technology

Posts by Odin employees marked:

attributeConstraint

while executing the test case in Axe it was showing the error .i.e Method not found: 'WatiN.Core.IE WatiN.Core.IE.AttachToIE(WatiN.Core.AttributeConstraint
srikanth Send private email
Monday, February 23, 2009
 
 
Hi,

Please could you provide some more information on what exactly it is you are trying to do e.g. class of the web object, Axe action, object map entry, line of code that is producing the error etc.
If you could also state which versions of Axe and WatiN you are using that would be helpful.

Sam
Sam Warwick Send private email
Monday, February 23, 2009
 
 
Hi,
I have new user of this tool.
I have using versions Axe2.0 and WatiN-2.0.
I have set up everything for Google web site to search Text WatiN and configure Watin.Core.dll file in visual studio.
I have mapped all Objects in WatiN.ObjectMap.xml file.
Name         Class         Properties
Google        Page        title=Google
Google.Text    TextField        name=q
Google.Search    Button        name=btnG
I have mapped all  Actions in Watin.Actiomap.xml file.

Class     Action  Command     
 Page      set    ie.AttachToIE("&properties&"),
TextField set     ie.TextField("&properties&").TypeText("%DATA%"),
Button     set     ie.Button("&properties&").Click()
I have written a test case for Enter WatiN in Google Search field for this I used Basestate = Restart.Home its status Pass after this the subtests Result was Fail it’ s showing error in AXE Result window like.
Step Object Action Data Start Finish Time Result Expected Actual Error No. Error Msg. Image
1 [] Google set    2/25/2009 6:43:43 AM 2/25/2009 6:43:43 AM 0 1               1        View 
> Method not found: 'WatiN.Core.IE WatiN.Core.IE.AttachToIE(WatiN.Core.AttributeConstraint)'
Please have a look and if there any changes are required to solve the problem, please inform me and give a solution for the same.
Please let us know if you have any issues.
Thanks & Regards
Srikanth
srikanth Send private email
Wednesday, February 25, 2009
 
 
Hi Srikanth,

Axe does not currently support WatiN 2.0, which is still a CTP release. Please see the Axe release notes for a complete list of all the test tool versions supported. The version of WatiN supported by the current release of Axe (2.0.1) is 1.2. WatiN 1.3 support has been completed and will be released in Axe 2.0.2 very soon.

When you have installed the correct versions I also suggest that you run the OdinPortal sample to ensure everything is setup ok. Then try your Google sample again. Note that you should not need to create your own WatiN ActionMap as this is already provided with Axe.

If you still have problems then I suggest you email Odin support with further details.

Sam
Sam Warwick Send private email
Wednesday, February 25, 2009
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics