OpenScript / chaining script / how to run all the scripts if we fail?

Hello

I have a problem using openscript and please I would like to know if there is a work around.

Here's what I do:

with script open:

1 / I record many different scripts for an application: a script = a feature

2 / then I create a script and I run all these previous script.


The problem is:

I get an error 'Timeout occurred waiting for the page to load.' which is a normal mistake (the link is broken, the page is missing, etc.).

I can't get back, and stops the main script. Although I also want other scripts to be read.


I tried to put the ERR_RESPONSE_TIME_ERROR Warn option (instead of failure). But no way! It breaks down!



Please could you tell me what I'm missing?


Thank you.




Michael

Published by: user12252276 on 24 nov. 2009 01:38

Michael

You can put a try catch around the control that you want to manage and then save the error so reported ex:

try {}
Web.Window (6, "/ web: window [@title ='Oracles Test Manager for Applications Web - Login']") .waitForPage (null);
{
Think (0);
}
} catch (Exception e) {}
getStepResult () .setError (e.getMessage ());
}

hope this helps

Alex

Tags: Oracle Development

Similar Questions

  • How to get all the style of paragraphs and their policies of an indesign file and write all the info with info para in a txt file with scripts

    @

    How to get everyone how to get all the style of paragraphs and their policies of an indesign file and write all the info with info para in a txt file with scriptingstyle and their policies of an indesign file and write all the info with info para in a txt file with scripts

    Hello

    Try this,

    var doc = app.activeDocument,
        pstyles = doc.allParagraphStyles,
        report = "";
    for(var i =0;i
    

    Kind regards

    Cognet

  • Satellite R630 - fan runs all the time

    Hello everyone,

    I have a Satellite R630, and I'm happy with it. But there is one thing that makes me angry... the fan! It runs ALL the time. I browse a little... the fan works. I work with the office, or something... the fan works. To clarify: the CPU is not used, there is no heavy processes running, and the Notebook\CPU is cool. There is no reason why the fan should work, all the laptops that I had before where calm in the same situations. Of course it is not a problem if it starts working if necessary (a game, looking for a HD video or something). But not without reason!

    Someone at - it a solution for this problem? A tool to fix the fan speed\intervals manually, or better: an update of the bios (in the version 1.4 and 1.5 I can choose what I want... the fan did not stop execution). It is also quiet in Linux or any other operating system.

    @Toshiba: (!) Please do something. The only solution for me right now is to return the laptop to the store. :-(

    Best regards
    Imk82

    Hello

    Hmm... If you have already installed the latest BIOS updates, you should check the cooling of Windows Power management settings. Generally you can switch between different methods of cooling as you can read here:

    [How to handle power management features | http://aps2.toshiba-tro.de/kb0/HTD84026Q0000R01.htm]

  • Our computer is running slow and sounds like it runs all the time, then gives error reading disk

    Our computer is running slowly.  Looks like it is running all the time.  It will turn off by itself and I say disc read error.  You need to restart all the time.  A lot of the time, he does not let us start windows.

    Original title: slow slow slow

    Robert,

    Try to run the "chkdsk" how to perform disk error checking in windows 7 http://windows.microsoft.com/en-us/windows7/Check-a-drive-for-errors

    UTC/GMT is 02:19 on Saturday, November 10, 2012

  • Run all the scans of the Diagnostics Bootable Lenovo's

    I might be missing something obvious, but how do run you a full scan of a machine using Lenovo Diagnostics Bootable? AFAIK, you can scan only individually each component (memory, motherboard, PCI bus, hard drive, etc.).

    If indeed there is no way to click on a single button and the program do run all the tests, and a person of Lenovo is reading, consider this a feature request. Ideally, there would be two options: one that runs a quick full test and the other to run a fuller (who would perform advanced analysis of memory).

    Update: Fortunately, this feature was added in version 4.0.0.6027, available for download from http://support.lenovo.com/us/en/lenovodiagnosticsolutions/downloads.

  • How to close all the worksheets at once

    Hello

    How to close all the worksheets at the same time (with one click)?

    It of so annoying to close one by one and asked if you want to save the script or not.

    Thank you

    Have you tried right-clicking on the name of the tab and selecting 'Close All '?

  • How to accept all the changes in InDesign Story

    Hi experts,

    How to accept all the changes in the history of indesign,

    Could someone show me how do the script below works.

    Thank you

    Respect of

    John

    changes in var = app.documents.item (0).stories.item (0) .changes.

    for (var i = changes.length - 1; i > = 0; i--) {}

    changes [i]. Accept();

    }

    var myChanges = app.documents.everyItem (). stories.everyItem () .changes.

    for (var i = 0; i)

    var myChange = myChanges [i];

    myChanges.everyItem () .accept ();

    }

  • The fan runs all the time because xinetd running more than 80% all the time.  Someone else has the same problem?

    xinetd is running at 83% or more 24 x 7 devours battery in 2 hours or less and making the fan run all the time.  I am connected to a bug report, and it turns out that it was a duplicate because someone else had the same problem.  However, I have no access to the other bug report or find anything either in the discussion forums or online.  Anyone experience this problem?

    Hello gorgonzola1111,

    I doubt that someone else has this problem because xinetd does not part of macOS. Have you installed it from a package of "ports" 3rd party?

  • How to remove all the photos from my iphone 5?

    How to remove all the photos from my iPhone 5?

    1. Open the Photos app.
    2. Click on the photo or video you want to delete.
    3. Type > delete the Photo.

    Delete several photos

    1. Open the Photos app and press Select.
    2. Click on each photo or video that you want to remove.
    3. Type > delete Photos.

    Delete photos on your iPhone, iPad and iPod touch - Apple Support

  • How to remove all the pictures imported from my I phone 6

    How to remove all the pictures imported from my I phone 6

    Imported from the place where?

    If they were imported from your computer, you remove the same way that you put on there: by syncing with iTunes. to remove them, you need to synchronize an empty folder, or simply turn off the Photo in the form of synchronization option summary pane when the iPhone is connected.

  • How to add all the tabs open as I used to?

    How to add all the tabs open as I used to?

    You can go to bookmark all tabs by right-clicking a tab, or use the hotkey Ctrl + Shift + D

  • Satellite Pro 4600: Win2k with SP4 - cooler run all the time

    Hello

    last week, I bought a used Toshiba Satellite Pro 4600 PIII, 1 GHz, 512 GB of Ram, WIFI and DVD burner. Great machine so far.

    After that I changed the FAT32 file system to NTFS and reinstalled Win2K/SP4 cooler runs all the time.

    TaskManager says that "THOT_KEY.exe" uses up 99% of the CPU power. Disabling this service reduces the power of the processor and the cooler was quite, BUT didn't really helped - lots of keys does not work.

    I ran a few utilities to disinfect as Kaspersky, NOD32 etc. to ensure that Ia´ve not taken some malware.
    Should I try a bios update or change some settings?

    Any ideas?

    Thanks for help

    Hello

    AFAIK the THOT_KEY.exe belongs to the Toshiba Hotkey utility that controls the various key functions.
    If you disable this service, you will not be able to use the FN keys more.
    I m not 100% sure why this service uses 99% of CPU performance, but perhaps that it s not completely compatible with the W2K service packs. Where did you download this utility? I found it on the page of Toshiba Europe!

    In my opinion, you should try to reinstall the system again. This is probably the key!

    Good luck

  • How to disable all the selections at once?

    How to disable all the selections at once?

    If you are referring to the playlist, artist, album & kind selection boxes, then I don't think that there is a way to uncheck those all at once.

    If you mean the boxes in the view of songs Ctrl + click and the checkbox to check or uncheck all of the boxes. Note, however, that the use of these boxes is a bad way to manage the synchronization. Uncontrolled songs are ignored in the normal course of track in track or shuffle playback. Better to use one or more playlists to control what is synchronized and have checked most, if not all of your library. Items not controlled in my library are things like interview bonus tracks that had never what to hear accidentally, I keep in my library.

    TT2

  • How to draw all the info my old to my new laptop computor

    Original title: draw all the information in my old laptop to the new

    How to draw all the info my old to my new laptop computor

    Hello

    1. What are the operating systems installed on both computers?

    2 you want to transfer all the settings from the old computer to the new computer?

    You can use Windows Easy Transfer to perform the task.

    http://Windows.Microsoft.com/en-us/Windows7/products/features/Windows-easy-transfer

    Hope this information helps

  • How to view all the files on my computer from big to small

    Hello

    could someone tell me how to view all the files on my computer from big to small

    There should be thousands of them. music movies photos the entire batch.

    THX

    Hello

    I suggest that you sort files by size and check if that helps.

    Reference:

    Behavior and change folder views

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-folder-views-and-behavior

    Work with files and folders

    http://Windows.Microsoft.com/en-us/Windows-Vista/working-with-files-and-folders

    Demo: Working with files and folders

    http://Windows.Microsoft.com/en-us/Windows-Vista/demo-working-with-files-and-folders

    Let us know if it helps.

Maybe you are looking for