Conditional looping. How to refer to the previous result s of looping?

Hi,
I'd like to repeat a sequence for second time only if the sequence failed first time. To do that I'd like to use the Looping feature from step properties. Question: how should I build the Loop Status Expression refering to the Step Staus (Pass/Failed) of first loop?
Solved!
Go to Solution.

In the Looping properties in Loop Type select Pass/Fail count.  Then set the Stop after to 1 and iterations to pass.  You can set the maximum number of iterations to whatever value you desire (in your case it sounds like 2).  You can play with the numbers to fit your scenario.  As you play with the numbers you'll see the expressions values changing.
I could give you a better answer if I understood exactly what you wanted but this will probably do what you want.
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • How can I get the previous record's field value in a VO

    Hi I would like to know how can I get the previous record's field value in a VO
    For example : I have a VO porequisitionlinesvoimpl, and it contains 5 records (porequisitionlinesvoimpl.getRowCount() = 5). How can I search all records in the VO and get the field (attribute3) for all records?
    Many thanks anyone can help
    Lawrence

    Hi ,
    U can loop through the VO to get the value of attribute3,
    need to extend the controller ,use below code
    OAViewObject vo = (OAViewObject)oawebbean.getApplicationModule (VO1);
    OARow row = null;
    int fetchedRowCount = vo.getFetchedRowCount();
    RowSetIterator Iter = vo.createRowSetIterator("Iter");
    if (fetchedRowCount > 0)
    Iter .setRangeStart(0);
    Iter .setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++)
    row = (OARow)Iter .getRowAtRangeIndex(i);
    String value = (String)row.getAttribute("Atrribute3");
    Thanks
    Pratap

  • Before the recent updates to Firefox, clicking on the back button always brought me back to the same place on the page where I had been, but now it brings me to the top of the page. How do I restore the previous feature?

    Before the recent updates to Firefox, when I would go to another page in the same window and then clickon the back button, Firefox used to bring me back to the same place on the page where I had been, but now it brings me to the top of the page, meaning that I have to laboriously scroll down to the old place. How do I restore the previous feature?

    That change was made in Firefox 4, 6 months ago.
    Click-hold the unified Back / Forward button <br />
    or <br />
    right-click it to get the Back / Forward history for that tab.
    Or install this extension to get the old "drop-marker" button restored. <br />
    https://addons.mozilla.org/en-US/firefox/addon/backforedrop/

  • I HAVE AN IPHONE 5S AND WANT TO USE SOFTWARE 7.0.2 BECAUSE IT IS COMPATIBLE WITH MY VEHICLE FOR UCONNECT. I CURRENTLY HAVE SOFTWARE 7.0.3 ON MY DEVICE. HOW WOULD I GET THE PREVIOUS SOFTWARE BACK ON MY PHONE

    I HAVE AN IPHONE 5S AND WANT TO USE SOFTWARE 7.0.2 BECAUSE IT IS COMPATIBLE WITH MY VEHICLE FOR UCONNECT. I CURRENTLY HAVE SOFTWARE 7.0.3 ON MY DEVICE. HOW WOULD I GET THE PREVIOUS SOFTWARE BACK ON MY PHONE

    Forum Tip: It is generally considered inappropriate to type all in uppercase letters in Internet discussions, as text that is typed all in uppercase is by convention considered to be shouting.  Uppercase is also more difficult to read, so please use all uppercase sparingly and only when you really mean to shout, which we hope you won’t need to do here .
    Regards.

  • How do I remove the previous owner's Apple ID from my 2nd hand iPhone, and replace it with my Apple ID?

    How do I remove the previous owner's Apple ID from my 2nd hand iPhone, and replace it with my Apple ID?

    settings - appstore - view id - log out and log in with your id.

  • How can i remove the previous icloud acount from my iphone4?

    I recently purchased a second hand iphone4 not jailbroken and i already restored it to factory settings but i can't log in to icloud using my account because it states that  "The maximum number of free accounts have been activated on this iPhone". How can i remove the previous icloud acount from my iphone4? Hope someone could help me on this. Cheers! :)

    Hi,
    My dad gave me his old iphone as he got an upgrade. I can't seem to change his icloud account to mine. I'm getting his updated calender and his mail - and there seems to be some confusion between both our accounts. He seems to be acquiring some of my contacts - some of which have names which have led to some probing questions... So basically this needs to be sorted out! How can i delete his account from the iphone but not his whole icloud account? he would not be happy if i did this...
    Sophie

  • I accepted/installed an update for iMovie and it turns out that this version is not compatible with my graphics card. So now I can no longer open or use iMovie.  Any ideas on how to get around this - how to revert to the previous version.

    I accepted/installed an update for iMovie and it turns out that this version is not compatible with my graphics card. So now I can no longer open or use iMovie.  Any ideas on how to get around this - how to revert to the previous version??

    Look in your Applications folder.  If your system behaved as expected, you should have an iMovie 9.0 folder in your Applications folder.  Apple moved the old version there as even they suspected the new versions was a train wreck.

  • How can I restore the previously bought apps after I have formatted my computer without backing up any of my files for iTunes?

    As titled.
    I bought many apps from iTunes at the end of last year, and then my computer had got problem that I had to format and reinstall everything.
    I just want to know how can I restore the previously bought apps once if I forgot to backup any of my files on the computer??
    Would be really grateful if someone can show me how to. Thanks!!
    FYI: At that time I was using iPad 1 and the OS was still 3.1.x. Now I am using iPhone 4 and would like to restore the apps at least those that are compatible to my phone.

    How to redownload purchased apps from the App Store

  • Is iTunes 11.1.5 compatible with Mac OSX 10.6.8? If not how can I restore the previous iTunes version?

    Problem: Recently when I open iTunes it doesn't work; the little pinwheel just keeps spinning.
    I have tried leaving it on, as suggested by another user, for over 12 hours. I didn't work.
    I think the new iTunes version, 11.1.5, is not compatible with the operating system; Mac OSX 10.6.8. If this is so, how can I restore the previous iTunes version?

    You need to be updated to iTunes 11.2.2.
    You might want to consider running the combo updater over your install to refresh your files.
    Combo updater: Mac OS X 10.6.8 Update v.1.1 - 1.09 GB
    http://support.apple.com/kb/DL1399
    After running the combo updater, select Software Updater and update iTunes.
    If iTunes fails to open after updating, hold down the Option key when launching iTunes. It will ask you to locate your iTunes Library.
    Note: I've seen users with their iTunes Library on an external drive spin like this when the drive was failed to be seen in Disk Utility. Run Repair Drive on the external drive to fix this issue.

  • How do i delete the previous owners phone number on iMessage on my iPhone 5?

    How do i delete the previous owners phone number from imessage in my iphone5?

    You did NOT erase all content in the phone if the previous owner's phone number is still associated with iMessage. Erasing all content will put the phone in an as new state, requiring activation, which you can NOT do without a SIM card. If the original owner did not remove their iCloud account and they had find my iPhone turned on, you would not be able to activate it at all without the credentials for the original owners iCloud account.
    Can you still contact whoever you got it from?
    If so, have them go through this process on the phone: http://support.apple.com/kb/ht5661
    If not... you may have been scammed.

  • How can i get the previous version of iTunes back

    I have a MacBook with a DVD/CD drive, Mac OS X (10.7.5). I recently updated to iTunes version 12.0.1.26. It seems to be designed for Macs without a DVD/CD drive. How can I get the previous version back? I don't have a back up or use time machine.

    Thanks Chris, there a number of problems I'm experiencing. When I insert a CD, despite the preference being ticked, I nolonger get the box that asks me if I want to import. When I did manage to import I couldn't find where the file had gone. Perhaps what I need is a good user guide for the latest version of iTunes because at this point the impression I have is unless I'm buying from iTunes nothing seems to work as it previously did. It is impossible to add anything to my library.
    I'd be the first to admit I'm no computer nerd and all the information I've found so far to try and sort out my difficulties don't seem to work. Can someone please tell me where can I get a good user guide for iTune 12.0.1.26 because I find it far from intuitive? At least then I have a chance of working out if it's me or the machine.
    Many thanks in anticipation.

  • I made iOS7 update, a big mistake , such a ****, how can I get the previous version ?

      I made iOS7 update, a big mistake , such a ****, how can I get the previous version ?

    Sorry, but you cannot downgrade the iOS now.

  • HT1692 how can i get the previous contact details in iphone

    how can i get the previous contact details in iphone

    You don't want to maintain a reference to the last selected node, but to the last selected path. Nodes within a tree are addressed using a TreePath, with contains references to each node from the root, down to a specific node. Look at the JavaDocs of javax.swing.tree.TreePath for more info.
    Also, JTree has getter/setter methods for the selectionPath.

  • How do you restore the previous button & remove / hide the autosync button?

    The 'Previous' button at the bottom of the toolbar has disappeared and now it only shows the sync / autosync button & reset.  How do I restore the Previous button? (LR 5.4)

    The sync/auto sync button should only display when you have multiple images selected. But after reading your question I went into Lightroom to confirm that. And it seems that the button is kind of "sticky". After having multiple images selected and then deselected, I had to move between images a few times before the "Previous" button returned. I've only checked it briefly.
    Later: just tried it again, and it isn't sticky anymore. Must've been a momentary glitch.

  • How do i restore the previous version of firefox? I now have firefox 6

    How do i restore the previous version of firefox? I now have firefox 6. AVG Safe Search does not work with 6 and surf the web so much doing research that i need it back. Thanks, Sally

    Using the older version of firefox is not recommended.
    Try the classic theme Restore for Classic firefox Menu's
    *https://addons.mozilla.org/en-US/firefox/addon/classicthemerestorer/
    Still, you want to restore the older version, download from the below link
    *Download Firefox 29 - http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/29.0/mac/
    *Download the English version of Firefox 29 - http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/29.0/mac/en-US/

Maybe you are looking for

  • TDS certificate:Quarter Acknowledgement no. is not appearing in certificate

    Hi gurus, It is apearing like Quarter Acknowledge no. 1.          N. A. 2.          N.A. 3.          N.A. 4.          N.A Pl advise how it can appear in certificate. Regards, Samar

  • How do I uninstall 7.1.3 and reinstall 7.1.2 so I can use iPhoto again?

    As many of you seem to be experiencing, Quicktime 7.1.3 is causing iPhoto 6 to crash when pictures edited in Photoshop are opened in iPhoto. I want to get back to Quicktime 7.1.2 so that I can use iPhoto properly. But how?? Help me, please!

  • Download of Mobile Application Modeler 1.0 fails every time

    Hello, When trying to download the Trial Version of the Mobile Application Modeler (1.0), a 15mb sized ZIP-file, the connection is always reset after downloading 99%. The zipfile is not valid and I can't open it. When trying to download the file with

  • HP Photosmart C410a Document Printing question

    I've only had this printer for three days now, but there is something odd that I've noticed:  on my old printer (HP C7180), whenever I had to print a multi-page document, it was printed in such a way that when it was completed, the first page of the

  • Extracting two words from the article in english

    i have an english article which is to be classified into a particular category based on the keywords. There are lacks of keywords stored in database. What i have to do is to obtain the keywords from the article and match it from the database. if matc