Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » How to loop through a data which is generated on the fly(Looping through data generated on the fly)
How to loop through a data which is generated on the fly [message #1097396] Thu, 29 August 2013 16:59 Go to next message
Bala P is currently offline Bala PFriend
Messages: 1
Registered: August 2013
Junior Member
Hi,
My scenario is this - Say I would like to 200 records (entities) to be created in Eclipse. But I dont want to give 200 records in the Data sets - would like to generate the names on the fly - for say using now function and format combination - will be generating entity names.
Is there a way in Jubula to achieve this - TC is going to have only one record saying Entity?now() something like this - but I want to loop the TC 200 times.

Any help in this regard would be highly appreciated.
Currently using Jubula 1.3.00071.
Thanks in adavnce
Re: How to loop through a data which is generated on the fly [message #1097792 is a reply to message #1097396] Fri, 30 August 2013 06:51 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

You could probably manage to generate the data using functions, yes. As for looping without specifying how many loops, two things come to mind:

1. You might be able to use retry event handlers (there's a cheat sheet on them and an example on the portal here (look at the "Deal with occasional dialog" example). If there's something that you can check that is e.g. true before all entries have been looped and false afterwards (or vice versa), then this could help.

2. The other way would indeed to be to enter 200 data sets.

Best regards,
Alex
Previous Topic:Building an extension for a custom component
Next Topic:Autrun.exe not starting
Goto Forum:
  


Current Time: Fri Apr 19 20:49:44 GMT 2024

Powered by FUDForum. Page generated in 0.02780 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top