| || |
Using e-Tester in a system independent environment
Can anyone comment on this following roadblock I am encountering. The requirement I have is to insure that the automated test scripts I am creating is platform independent. Therefore I create a new records for each test run rather than just capture / play back using pre-recorded data. I am using the DataBank feature for parameters for newly created records.
My question is because running of the script generates new data. Our web application uses URL’s that passes the record ID of the current record during Editing / Saving / Updating of data. When I record the original script something like this gets recorded:
But on play back I create another record with campaign_id=120 for example. During the save the URL needs to use:
but replaying the recorded script it is still referencing the originally recorded value of campaign_id=118.
I have tried to add user defined code in the “before play” event to recreate the recorded URL to reference the new record id then using the RSWApp.ChangeNavigation method to use this URL.
Has anyone encountered this problem and has any tips on how to resolve this issue? I would ideally like to find a resolution that does not require coding as maintance would be a nightmare as that are many areas of our product that this would be required.
Re: Using e-Tester in a system independent environment
sounds like you need to use some data driven testing (DataBanking in Empirix language)
variables may be specified as <<VARIABLE>>
try to use the databank wizard or contact your support for more help