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:

How to add QTP recovery scenario in AXE

I saved the recoveryscenariofile under the lib folder of the project.
In the run configuration file i gave the following
Option-AXE
Value-ToolArguments
Property-/recoveryscenariofile:scenariofilename.qrs/recoveryscenario:scenarioname

The build is successful. But when i run the test, i get the following error.

Error Initialising Run: Invalid Run Configuration Property


Please help me on this
Revathy
Friday, November 23, 2012
 
 
Hi,

The third column in the RunConfig file should have a heading of 'value', not 'property'.
See the example in the HP Tool Integration Guide under the section 'Using QTP Recovery Scenarios with Axe'.

If you still cant get it working then please send your BuildConfig file to support and we will take a closer look.

Sam
Sam Warwick Send private email
Sunday, November 25, 2012
 
 
I changed the Run config file. But still i get another error."No Recovery Scenario file --C:\Documents and settings\user\My Documents\Axe Projects\ProjectName\Scripts\debug\..\..\lib\scenariofile.qrs/recoveryscenario:scenarioname.

PFB the Build config file:
option    value
TOOL    QTP
ACTIONMAP    AxeHarnessAPI
ACTIONMAP    QTP
ACTIONMAP    QTPNative
ACTIONMAP    Project
LIBRARY    ProjectLib.vbs
OBJECTMAP    Project.tsr


Run Config File:

category    option    value
Axe    Tool    QTP
WEBSITE    Home    http://www.google.com
Browser    Name    IE
Axe    ToolArguments    /recoveryscenariofile:recoveryscenario.qrs/recoveryscenario:scenario
Revathy
Monday, November 26, 2012
 
 
Hi,

The qrs filename in the error message does not match the one in the RunConfig. Are you sure you have saved the updated RunConfig file and/or selecting it from the Axe UI?

i.e. the error message has a file called scenariofile.qrs yet your config appears to be loading recoveryscenario.qrs
I also noted in your error message that a space is missing between the recoveryscenariofile and recoveryscenario arguments, which again leads me to suspect you are not using the RunConfig entry defined above.

Sam
Sam Warwick Send private email
Monday, November 26, 2012
 
 
Hi,

Thanks a lot. I made a mistake in the run config file. Now it is working fine.
Revathy
Monday, November 26, 2012
 
 

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

Other recent topics Other recent topics