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:

Absolute Path Reference and Data sheet Import at Run Time

I am able to successfully upload the AXE 3.5.1 scripts to QC 11.

If the Scripts are uploaded from QTP, the scripts can have a relative reference to the Object repository, library files, data sheets and scripts. All the files are stored in the QC itself.

However with AXE, once the scripts are uploaded, there is an absolute path reference because of which the scripts are referencing to the Object repository, library files and data sheets from the local.  Is it possible to do a relative reference in AXE so that all the files can be mapped directly from QC?

In AXE 3.5.1, all the data sheets are imported to the QTP’s Global sheet on build. The same is uploaded to QC 11. If the data needs be changed, the script needs to be built again in Axe and re upload to QC.

Is it possible to import the sheet at the run time from the data sheet so that only the data can be changed instead of re-building the scripts and upload again to QC ?
Naveen Raghunath Send private email
Monday, July 29, 2013
 
 
Hi Naveen,

Yes, when Axe-generated QTP scripts are uploaded to ALM/QC the scripts reference the Object Repository in QC. Unless the Axe (Excel) format object map is being used, in which case the descriptive programming strings are defined in the script. All other Axe project assets (e.g. library files) are downloaded from QC to the local QTP client at runtime. So there is no need for Axe to reference the assets direct from QC itself. Dont be fooled by the hard-coded paths in the QTP scripts, because these get overridden with the path to the local downloaded Axe project at runtime. See the methods in AxeMain.vbs for more technical detail on this.

Regarding the data-driven tests, you do not need to rebuild the scripts, just re-provision the data. However, I believe you are correct that you would need to upload the QTP script again in order for the Default.xls file to be updated. It may be that Axe needs an 'upload data only' option in AxeManager.

regards,
Sam
Sam Warwick Send private email
Wednesday, July 31, 2013
 
 
Hi Sam,

If i upload the Axe generated qtp scripts in QC and run them will it work fine. So before uploading the scripts i need to do a sample run in Axe to generate the QTP script. Other than this is there any other way to run the scripts from QC without uploading the Axe generated QTP scripts.

Thanks,
Goparaju.
datla Send private email
Tuesday, August 20, 2013
 
 
Hi Goparaju,

You need to generate (Build) the QTP scripts with Axe so that you can upload them to QC but you do not need to run them from Axe first. The code-generation phase (Build) is distinct from the test execution (Run) phase.
You cannot run QTP scripts from QC unless they have been uploaded to QC first.

Sam
Sam Warwick Send private email
Tuesday, August 20, 2013
 
 
Hi Sam,

I am retrieving data from excel using the load.datafield but i am getting an error "The retrieve DataTable.Value operation failed. The column does not exist." But i have the column in the datasheet. I have mentioned the path in the datasource column of the subtest file and used load.datafield(password) under the password column i am getting the error mentioned above. I am not understanding where did i go wrong. Kindly guide me in doing so.

Thanks,
Goparaju.
datla Send private email
Monday, September 23, 2013
 
 
Hi Goparaju,

Can you confirm:

1. That the test runs OK outside of QC using just Axe
2. When the QTP script has been imported to QC the Default.xls has been uploaded and attached to the test with the columns you expect?

Sam
Sam Warwick Send private email
Tuesday, September 24, 2013
 
 

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

Other recent topics Other recent topics