Openscript / script chaining / how to run all the scripts if one fails ?

Hello,
I have a problem using openscript and please I would like to know if there is a work around.
here is what I am doing :
with open script:
1/ I am recording many differents scripts for the same app : one script = one functionnality
2/ Then I am creating a script and I run all these previous script.
The problem is :
I get an error "Timeout occurred waiting for page to load." which is a normal error (the link is broken, the page is missing etc).
I cannot recover, and main script stops. Although I would like others scripts also to be played back.
I tried to set option ERR_RESPONSE_TIME_ERROR to Warn (instead of fail). But no way ! It fails !
please could you tell me what I am missing ?
thank you.
Michael
Edited by: user12252276 on 24 nov. 2009 01:38

I dont have dependancies between scripts. I mean I did be careful : each script open and close properly the browser.
Even by setting ALL parameters to Warn instead of fail, this does not help.
Error : Timeout occurred waiting for page to load cannot be skipped this way.
In my run I have 4 Runscript. 2nd fails with this error. 3 and 4 will not be (even) tried.
Never mind. Try/Catch should be working :-) (I hope so)
thanks.
Michael.
14:24:26,960 ERROR [IteratingVUser] Script ATHCASE. Error in section Run
oracle.oats.scripting.modules.webdom.common.api.exception.PlaybackException: Timeout occurred waiting for page to load.
     at oracle.oats.scripting.modules.webdom.common.api.exception.PlaybackException.createWaitForPageTimeoutException(PlaybackException.java:46)
     at oracle.oats.scripting.modules.webdom.api.elements.DOMBrowser.handleWaitforPageException(DOMBrowser.java:152)
     at oracle.oats.scripting.modules.webdom.api.elements.DOMBrowser.waitForPage(DOMBrowser.java:110)
     at script.run(script.java:85)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:262)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.insertScriptRun(IteratingVUser.java:280)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.runScript(IteratingVUser.java:621)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.runScript(IteratingVUser.java:593)
     at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.runScript(IteratingVUserScript.java:458)
     at script.run(script.java:24)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:262)
     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:632)
     at java.lang.Thread.run(Thread.java:619)
14:24:27,050 ERROR [1] Error in section Run at line (script.java:24). Timeout occurred waiting for page to load.
oracle.oats.scripting.modules.webdom.common.api.exception.PlaybackException: Timeout occurred waiting for page to load.
     at oracle.oats.scripting.modules.webdom.common.api.exception.PlaybackException.createWaitForPageTimeoutException(PlaybackException.java:46)
     at oracle.oats.scripting.modules.webdom.api.elements.DOMBrowser.handleWaitforPageException(DOMBrowser.java:152)
     at oracle.oats.scripting.modules.webdom.api.elements.DOMBrowser.waitForPage(DOMBrowser.java:110)
     at script.run(script.java:85)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:262)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.insertScriptRun(IteratingVUser.java:280)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.runScript(IteratingVUser.java:621)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.runScript(IteratingVUser.java:593)
     at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.runScript(IteratingVUserScript.java:458)
     at script.run(script.java:24)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:262)
     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:632)
     at java.lang.Thread.run(Thread.java:619)
14:24:27,050 ERROR [1] Iteration 1 failed at line (script.java:24). Timeout occurred waiting for page to load.
oracle.oats.scripting.modules.webdom.common.api.exception.PlaybackException: Timeout occurred waiting for page to load.
     at oracle.oats.scripting.modules.webdom.common.api.exception.PlaybackException.createWaitForPageTimeoutException(PlaybackException.java:46)
     at oracle.oats.scripting.modules.webdom.api.elements.DOMBrowser.handleWaitforPageException(DOMBrowser.java:152)
     at oracle.oats.scripting.modules.webdom.api.elements.DOMBrowser.waitForPage(DOMBrowser.java:110)
     at script.run(script.java:85)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:262)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.insertScriptRun(IteratingVUser.java:280)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.runScript(IteratingVUser.java:621)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.runScript(IteratingVUser.java:593)
     at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.runScript(IteratingVUserScript.java:458)
     at script.run(script.java:24)
     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:262)
     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:632)
     at java.lang.Thread.run(Thread.java:619)
14:24:27,390 INFO [1] Finished VU 1 for script repeat

Similar Messages

  • How to export all the views in one schema?

    Hi,
    I have more than 1000 views in one shcema.
    How to export all the views in one schema?
    Amy

    Hi,
    It's not a very easy question, I have develop a script wich create a script to create view from old database to new database :
    /* &1: Oracle SID Source
    /* &2: Oracle Schema Source
    SET HEAD OFF
    SET VERIFY OFF
    SET PAGESIZE 0
    SET LONG 40000000
    SET LONGCHUNKSIZE 2000
    SET LINESIZE 2000
    SET FEEDBACK OFF
    CREATE TABLE RECREATE_VIEW(VIEW_NAME VARCHAR2(30), TEXT LONG);
    /* Selection du texte de la vue */
    DECLARE
    w_text long;
    w_text_debut long;
    w_text_column long;
    w_view varchar2 (30);
    w_schema varchar2 (8):='&2';
    CURSOR w_cursor IS
    SELECT a.view_name, a.text
    FROM dba_views a
    WHERE a.owner = w_schema;
    CURSOR w_column IS
    SELECT DECODE (ROWNUM,
    1, 'CREATE OR REPLACE FORCE VIEW ' || '&' || '1..'
    || a.table_name || chr(10)
    || '('
    || a.column_name
    || DECODE (ROWNUM, nbcolumns, ')' || chr(10) || 'AS' || chr(10), ',' || chr(10))
    FROM (select column_name,table_name
    FROM dba_tab_columns
    WHERE owner = '&1'
    AND table_name = w_view
    order by column_id ) a,
    (SELECT COUNT (1) nbcolumns
    FROM dba_tab_columns
    WHERE owner = '&1'
    AND table_name = w_view
    GROUP BY owner, table_name) b
    order by rownum;
    BEGIN
    OPEN w_cursor;
    LOOP
    FETCH w_cursor INTO w_view, w_text;
    EXIT WHEN w_cursor%NOTFOUND;
    w_text_debut := NULL;
    w_text_column := NULL;
    OPEN w_column;
    LOOP
    FETCH w_column INTO w_text_column;
    EXIT WHEN w_column%NOTFOUND;
    w_text_debut := w_text_debut || w_text_column || ' ';
    w_text_column := NULL;
    END LOOP;
    CLOSE w_column;
    w_text := w_text_debut||w_text||';';
    insert into RECREATE_VIEW(VIEW_NAME, TEXT) VALUES (w_view, w_text);
    COMMIT;
    w_text := NULL;
    w_view := NULL;
    END LOOP;
    CLOSE w_cursor;
    END;
    SPOOL scripts_views_&1..sql
    PROMPT SPOOL scripts_views_&1..log
    PROMPT
    SELECT TEXT
    FROM RECREATE_VIEW;
    PROMPT
    PROMPT SPOOL OFF
    PROMPT
    SPOOL off
    PROMPT /* Formattage du fichier SQL */
    !sed 's/[ ]*$//' scripts_views_&1..sql > aprilia.tmp
    !rm scripts_views_&1..sql
    !mv aprilia.tmp scripts_views_&1..sql
    DROP TABLE RECREATE_VIEW;
    EXIT
    I hope that help you.
    Nicolas.

  • How to get all the values in one column of a JTable

    How to get all the values in one column of a JTable as a Collection of String.
    I don;t want to write a for loop to say getValueAt(row, 1) eg for 2nd column.

    I don;t want to write a for loop to say getValueAt(row, 1) eg for 2nd column. You could always write a custom TableModel that stores the data in the format you want it. It would probably be about 50 lines of code. Or you could write a loop in 3 lines of code. I'll let you decide which approach you want to take.

  • How to see all the customers under one company code?

    hi,
    I would like to know, is there any standard transaction code to see all the customers under one company code?
    thanks.

    Hi,
    You can check through :
    1). SAP Menu ->  Accounting -> Financial Accounting -> Accounts Recievables ->Information Syatem -> Reports for Account recievable accounting -> Master Data -> Customer List
    2). Run Txn SE16 -> Enter Table name (KNB1) -> Enter Company Code -> Execute.
    Reward Points if this helps.
    Regards,
    Harsh

  • How to export all the projects at one time

    I got about 20 projects and content about 7000 pics. I don't want to just export project each time, and I would like to just export all of them at one time, is it possible?
    I don't know where and how to change the name of the master files, and how to organize them properly. Such as I dragged pics from one project to another album, but if I try to delete the pic in the project, it warns me I will delete the master file as well. In the end, I have so many unwanted pic in the project and I can't delete them. Please help with the organizing ...

    Let's start from the whole story. I got too many photos and too many project which taken too much spaces in my computer. So I want to delete those not too good ones and only keep a few in my laptop. On the other hand, some of those not too good ones I want to keep as well. So I use time machine to back up them, but it seems time machine only keep them for about 3 months. In that case, if I delete them, I don't think I would be able to find them after 3 months time.
    I am thinking about exporting them to an external hard drive as an extra backup.
    Now, another part of the story, I was exploring Aperture, setting up different projects, album and dragging the pics around, then everything becomes a mess. I notice that if I drag a photo from project A to B, then the photo will only appear in B but disappeared in A. But if I drag photo from Project C to album D, both of them would have the pic, delete the pic either in the project or the album, it will warn me that I will delete the master file... I don't know how come.
    Therefore, puzzled by where and how they store the master file and how they referenced it, I am here.

  • How to move all the tables from one tablespace to other for a whole schema

    Hi,
    Is there any way to move all the tables in a schema from one tablespace to other?
    If so please help me out to do that.
    Thanks
    Regards
    Gatha

    hi,
    here is the steps to move SCOTT's objects from their current tablespace to a NEW_TABLESPACE
    would be:
    1) do an export of all of scott's objects. Make sure no one modifies them after you
    begin this process. You will lose these changes if they do.
    $ exp userid=scott/tiger owner=scott
    2) you would drop all of scotts tables. This will get the indexes as well. I don't
    suggest dropping the user SCOTT but rather dropping scott's objects. Dropping scott
    would cause any system priveleges SCOTT has to disappear and the import would not restore
    them. This script can be used to drop someones tables:
    set heading off
    set feedback off
    set verify off
    set echo off
    spool tmp.sql
    select 'drop table &1..' || table_name || ' cascade constraints;'
    from dba_tables
    where owner = upper('&1')
    spool off
    @tmp.sql
    3) You would modify the user to not have unlimited tablespace (else the IMP will just
    put the objects right back into the tablespace they came from) and then give them
    unlimited quota's on the new tablespace you want the objects to go into and on their
    temporary tablespace (for the sorts the index creates will do)
    alter user SCOTT default tablespace NEW_TABLESPACE
    revoke unlimited tablespace from SCOTT
    alter user SCOTT quota unlimited on NEW_TABLESPACE
    alter user SCOTT quota unlimited on SCOTTS_TEMPORARY_TABLESPACE
    4) you will IMP the data back in for that user. IMP will rewrite the create statements
    to use the users default tablespace when it discovers that it cannot create the objects
    in their original tablespace. Please make sure to review the file imp.log after you do
    this for any and all errors after you import.
    imp userid=scott/tiger full=y ignore=y log=imp.log
    5) you can optionally restore 'unlimited tablespace' to this user (or not). If you do
    not, this user can only create objects in this new tablespace and temp (which in itself
    is not a bad thing)...
    Regards,
    Mohd Mehraj Hussain
    http://mehrajdba.wordpress.com

  • How to read all the files in one directory?

    can anyone tell me ?
    3x

    File.listFiles() is a good start
    http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html
    Gil

  • Brand new iMac 3.4GHz fan runs all the time - how do I stop it?

    Hi, just opened my shiny new imac but the fan runs all the time and very loud! Has anyone any ideas how to fix this or should I return the imac to apple?
    I've also noticed that none of my external drive icon show up on the desktop - nor does the imac hardrive icon appear - any ideas?
    Thank you in anticipaction.

    Try an SMC reset, you may need to do it at least 2x.
    SMC RESET
    Shut down the computer.
    Unplug the computer's power cord and all peripherals.
    Wait 15 seconds.
    Attach the computers power cable.
    Wait another 5 seconds and press the power button to turn on the computer.
    PRAM RESET
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • I have a MacBook that had Mcafee on it and went to great lengths to get it off.  Unfortunately after running all the remove scripts and support from mcafee, in my console it still shows com.apple.launchd{1} with message (com.mcafee.virusscan.VshieldEPoint

    I have a MacBook that had Mcafee on it and went to great lengths to get it off.  Unfortunately after running all the remove scripts and support from mcafee, in my console it still shows com.apple.launchd{1} with message (com.mcafee.virusscan.VshieldEPointInterface[7881]) Exeted with exit code:1  Then the next line says will start in 10 seconds and it repeats endlessly.

    Hi there,
    You're running an old version of Safari. Before troubleshooting, try updating it to the latest version: 6.0. You can do this by clicking the Apple logo in the top left, then clicking Software update.
    You can also update to the latest version of OS X, 10.8 Mountain Lion, from the Mac App Store for $19.99, which will automatically install Safari 6 as well, but this isn't essential, only reccomended.
    Thanks, let me know if the update helps,
    Nathan

  • Fan runs all the time after OS X Mavericks installation, how do I turn fan off?

    Fan runs all the time after OS X Mavericks installation, how do I turn fan off?

    Rest the SMC, do it 2-3 times. Please click Intel iMac SMC and PRAM resets for instructions.

  • How to include all the child OU groups of a master OU group in LDAP authentication

    Dear All,
    I am using Apex 4.2 on windows server 2012 on internet explorer with database 11g R2 all 64 bit.
    we are using Microsoft Active Directory Authentication in our domain.
    I have created two protals, Staff Portal and Student Portal
    I have two groups, Staff and Students. these two groups coming under HCT group.
    I want to configure LDAP authentication for these groups, so that student cannot login to staff portal and vice versa.
    I had created on authentication schema in apex.
    inititally I configured as below
    for example I have a group ETC, inside ETC I have CSS in active directory,
    DN String=cn=%LDAP_USER%,dc=hct,dc=org
    Use Exact distinguish name=YES
    LDAP Username edit function=
    return apex_escape.ldap_dn (
                 p_string => :USERNAME,
                 p_escape_non_ascii => false ) || ',ou=users,ou=css,ou=etc,ou=staff,ou=hct'   ;
    Username Escaping=NO ESCAPING
    and it is working,
    now I have another group under ETC, which is ESS. how to include ESS also? I mean how to include all the child groups of a master group?
    because I will then only include the STAFF ou and the rest of the ou which coming under staff will come automatically.
    please refer to this thread for more details.
    Re: Re: Different LDAP authentication for Student and Staff Active directory groups
    Thank you.

    Powershell (or vbscript if you want to be old school).
    You can trigger a powershell script which will remove the offending user(s) easily enough with out resorting to a TOLDAP pass.  Nearly any script type thing would work but powershell is preferred.  It can be triggered separately from the TO AD stuff and will take multiple objects to run in one pass if you can construct the command line (or create a text file and feed it in).
    Otherwise, TOLDAP is the way to write to AD...
    Peter

  • Since the iOS7 update on my iPad 2, I am having trouble charging it if it runs all the way down, and now, my Safari won't work at all, and it locks up when I click on Safari in the Setting section.  I have tried restoring, and Safari still does not work??

    I cannot reset the Ipad either, Safari won't work, and it won't charge properly if the battery runs all the way down...

    Thanks for that. Much more constructive than the last comment. It's only the restriction code I can't recall, not the access passcode. So I can currently access the device, just not age restricted content. Does that's make a difference? I also wondered if anyone knew how many attempts you get to try to get it right. Now tried 21 times and so far nothing bad has happened but I am concerned I'll eventually be completely locked out of the device. That doesn't seem in the spirit of things though. Surely it's foreseeable that a child could repeatedly try to guess the code so I can't see that it would be right to lock the device down completely in that circumstance, particularly if the access code is being typed in correctly every time.
    Thanks

  • How do I make all the clips on one track the same volume?

    I am trying to raise the volume equally on all the clips. One would think that it would be as simple as turning up the volume knob on the audio mixer on the track with all the clips, but of course not, that would be TOO simple. When I raise the volume, it keeps jumping back and forth as if I asked it to key frame the volume knob. How can I perform the simple task of raising all the clip volumes to the same volume ?

    VideoHero
    I do not recall what version of Premiere Elements that you are using nor the computer operating system on which it is running.
    So, I will generalize for now, referencing version 12...
    1. Assuming you have several Timeline audio clips that you want with the same volume...select the first, go to Adjust Tab/Adjustments Palette/Volume Panel expanded and adjust the Volume.
    2. Then right click the that first file (with the adjusted Volume), select Copy.
    3. Select all the other audio clips that you want to have the same Volume level. Then right click anywhere in the selection and select Paste Effects and Adjustments.
    Does that work for you.
    If you have video with its audio linked to it, depending on the specific circumstances to be discussed later, you might want to unlink the audio and video beforehand.
    Please review and let us know if that works for you. Any questions or need clarification, please do not hesitate to ask.
    Thanks.
    ATR

  • I have added a 5 songs from a single album and in Ipod it comes as enigma album and in that one song is available and another album named enigma and another song. IT happens for 5 songs also. How to make all the 5 songs in one album name Enigma

    I have added a 5 songs from a single album and in Ipod it comes as enigma album and in that one song is available and another album named enigma and another song. IT happens for 5 songs also. How to make all the 5 songs in one album name Enigma???

    I am working on a friend of mine's 15g ipod(W/dock connector)and I am having the same trouble except it does it to all the songs. I have tried reseting it multiple times, but to no avail.
    I am not sure that this runs on windows XP, it is absolutly archaic (compared to my 5th gen. 30g video).
    Help?
    15g ipod (w/dock connector)   Windows XP  
      Windows XP  

  • How to move all the standard and adhoc reports from cube to multi provider

    How to move all the standard and adhoc reports from the basic cube to multi provider?
    i created this multiprovider to do the maintenence on the basic cube. for example the infocube physical partition, line item dimension and compression.
    what we decided to do is move all the Standard and ad-hoc reports from the basic cube to the multiprovider. How to do it? and make a copy of the basic cube and do the maintenence on the cube. please help.
    Thanks in advance sdn experts!

    Hi Les,
    This sounds good and one thing we try to always keep in mind when undertaking such activities is to always minimise the impact to the user and make the process as transparent to them as possible. So lets say you have your multiprovider and copied queries up in Prod, these queries will still pick up the data from the base cube.
    Now you need to make a copy of the base cube for some changes to the cube model, I would suggest that you copy the cube and make your changes on the copied cube itself. Then 9depending on the changes done) you can load data from Original Cube to New Cube. When this is being done, make sure that you change your queries to add a restriction on 0INFORPOV by Original Cube.
    After the load to the new cube is complete you can run reports restricted to each cube to verify the numbers. Then change the 0INFOPROV restriction in the queries to point to the New Cube and disengage the old cube from the multiprovider.
    Hope this helps...

Maybe you are looking for

  • Process Chain - What is Scheduled

    I haven't found an easy way to find out what PCs are scheduled to run in the future, i.e. overnite.  I know that from RSPC, I can can click on the "Job Overview" button, and filter only "Released" jobs for a particular date range.  Those jobs all say

  • How to Export Selected PageItems as Snippets (CS5/ActionScript)

    I want to select certain PageItems on a page and export them as snippets. The problem is that as far as I can tell, the exportFile() method works only on PageItem for snippets. I can not make a Group out of them and export that Group, because making

  • Is there any other way?

    is there a way other than using those compilers to ocnvert class files to exe files? thanx

  • Bought a used macbook pro 13", how do i clean off hard drive and reset to factory new?

    can someone help me to re set my macbook pro 13" to factory "new" settings.  i bought a lightly used Macbook and need to clean original user information off and allow for me to start as if new. Thanks..

  • Change profit center in F-28

    Hi All, In F-28 ,  SAP code is not able find the profit center at line item level from material master data, so it keeping "OTHER" as default value for the profit center. But I want profit center value to be populated based on Company code,GL Account