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:

Alternative to TestAbort to get screen capture link on Results

Hi,

I'm searching for text on a page using selenium.isTextPresent and an else clause that captures the screen and TestAbort if text not found.

Obviously the TestAbort stops the test but makes the results documentation contain the screen capture link.

Q. Is there another way to have the screen capare link appear on the results without aborting the test (SubtestEnd) or get the test to continue on.

I've looked through the API but can't find anything obvious.
I think I did this in the past  i.e set the results to contain a screen shoot on subtest failure but can't remember how.

Thanks
Russ
Russell Ball Send private email
Thursday, January 5, 2012
 
 
Hi Russell,

You can use the save.screen action at any point in your test to capture a screenshot, which will be linked in to the web test results.

You can also use the Axe runtime api method SaveScreen() at any point in your own custom actions.

Sam
Sam Warwick Send private email
Thursday, January 5, 2012
 
 
Thanks Sam,

I'll give a go

Russ

Sunday, January 8, 2012
 
 

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

Other recent topics Other recent topics