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:

Need help for generating random number in the Data Cell

Hi,

We have scenario in which I need to enter random number in the field. I want to auto-generate random number in the Data cell in Subtest file.
 How can we auto Generate random number in the data cell in AXE framework?

Please assist.

Thanks and Regards,
Rahul Ingle
Rahul Ingle Send private email
Thursday, January 31, 2013
 
 
Hi Rahul,

The main steps are:

1. Write a custom function to generate the random number. How you do this will depend on what scripting language your test execution tool uses e.g. vbscript for QTP, C/VB.Net for Coded UI etc.

2. Add your custom action to your Axe project's local Action map as a new 'load' action e.g. load.random

3. In your subtest load the random number and enter the value e.g. load.random; set

Sam
Sam Warwick Send private email
Thursday, January 31, 2013
 
 

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

Other recent topics Other recent topics