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:

Delay execution Wait(time) set up

I have added the 'wait' action into my workbook and when I click on 'build' the following error appears in the Output:

*ERROR*: Cannot map action 'Wait5000' (object = 'Refresh') (class = 'WebElement')

It seems to expect the 'wait' command to have an object mapped.

I have mapped the 'Refresh' and successfully built and run tests but am now attempting to add a five second wait after Refresh by using the following:

Refresh    
action    data
Wait5000
Paul Rolfe Send private email
Friday, April 26, 2013
 
 
Hi Paul,

As a general guide, you should really try and avoid hard-coded delays/waits in your automated tests. However, if you really need to do this then you have a few different options, based on the example you provided:

1. Remove the class entry from the action map. Then the wait action will apply to any object type.
2. Pass the time as a parameter e.g. Wait(5000)
3. Pass the time as data e.g. action=Wait data=5000

See the Axe Technician Guide for more information on creating custom actions, including adding parameters to actions.

Sam
Sam Warwick Send private email
Monday, April 29, 2013
 
 

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

Other recent topics Other recent topics