EBS Forms functional script runs fine in OpenScript but not from OTM

Hi,
I have an EBS forms functional test script which runs fine in OpenScript, but when scheduled from OTM, the web part runs fine but when it comes to forms, the script fails with the following error:
Forms Object Not Found! XPath: //forms:window[(@name='NAVIGATOR')], Type: oracle.oats.scripting.modules.formsFT.helper.test.FormWindow, Cause: No Matches <Less>
I have performed all the steps below already:
1) Stopping the OATS Agent service and changing it to manual.
2) Starting the command prompt and running the AgentManagerService command as mentioned in your forum.
3) The console displays
C:\>C:\OracleATS\agentmanager\bin\AgentManagerService.exe -c AgentManagerService
.conf
wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.0.3)
jvm 1    |
4) I have added the test in the OTM with the following command line settings:
-browser.type InternetExplorer -formsft.startup_timeout 30 -formsft.action_timeout 20 -formsft.response_timeout 10 -delayPercentage -1 -delayMin 0 -delayMax 5 -FormsAutomationEnabler.bat -enableForms true
But each time the script fails, please note that my script has assets and they are placed within the script folder.
Please help me on this at earliest.
Thanks,
Aarti

Hello Aarti!
I had the same problem and this steps help to solve the problem:
You need to enable Forms Automation under agent. Please follow by below steps.
1.open command prompt
2.cd C:\OracleATS\agent
3.FormsAutomationEnabler.bat -enableForms true
4. Run script from OTM
Attila

Similar Messages

  • A javaScript code that runs fine in IE but not in other plz help

    Hello friends,
    plese help me in getting the code for Opera and Mozilla browsers. The following code runs fine in IE but not in other browsers. it show titlebar in other browsers. What to do disable titlebar in other browsers? plz help
    <html>
    <head>
    <script>
    //Frameless Banner Popup
    // Set the url of the banner popup window page
    //var theURL = "index.htm";
    var theURL = "/cgi-bin/login";
    // Set the title of the popup window
    var title = "Login"
    // Set the size of the popup window
    var windowWidth = 350; // cannot be less than 100
    var windowHeight = 350; // cannot be less than 100
    //var windowWidth = window.screen.width; // cannot be less than 100
    //var windowHeight = window.screen.height; // cannot be less than 100
    // Set the position of the popup window
    var windowX = ((window.screen.width/2) - 175);
    var windowY = ((window.screen.height/2) - 175);
    // Set true to auto-center (positions will be ignored)
    var autocenter = false;
    // Set true for popup to close when launch page does
    var autoclose = false;
    var s="width="+windowWidth+",height="+windowHeight;
    var beIE=document.all?true:false;
    var done=new Object("no");
    if(autocenter){
    windowX = (window.screen.width-windowWidth)/2;
    windowY = (window.screen.height-windowHeight)/2;
    function doAgilePopup(){
    if (beIE){
    agilePopper = window.open("","popAgile","fullscreen,"+s);
    agilePopper.blur();
    window.focus();
    agilePopper.resizeTo(windowWidth,windowHeight);
    agilePopper.moveTo(windowX,windowY);
    var frameString=""+
    "<html>"+
    "<head>"+
    "<title>"+title+"</title>"+
    "</head>"+
    "<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
    "<frame name='top' src='"+theURL+"' scrolling=no>"+
    "<frame name='bottom' src='about:blank' scrolling='no'>"+
    "</frameset>"+
    "</html>"
    agilePopper.document.open();
    agilePopper.document.write(frameString);
    agilePopper.document.close();
    }else{
    agilePopper=window.open(theURL,"popAgile","scrollbars=no,"+s);
    agilePopper.blur();
    window.focus();
    agilePopper.resizeTo(windowWidth,windowHeight);
    agilePopper.moveTo(windowX,windowY);
    agilePopper.blur();
    if (autoclose){
    window.onunload = function(){agilePopper.close();}
    done="okay";
    </script>
    </head>
    <BODY onLoad="doAgilePopup(),top.window.close()">
    </body>
    </html>

    missing semicolon in end of the variable frameString ,
    better write the string in single line thats easy to find the bugs like this.
    var frameString=""+
    "<html>"+
    "<head>"+
    "<title>"+title+"</title>"+
    "</head>"+
    "<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
    "<frame name='top' src='"+theURL+"' scrolling=no>"+
    "<frame name='bottom' src='about:blank' scrolling='no'>"+
    "</frameset>"+
    "</html>"

  • OpenScript Oracle EBS/Forms Functional Script Playback Login Problem

    I use Openscript 9.2.1 and want to playback functional scripts that I recorded. When I push playback button, IE browser opens, EBS login screen appears. However username and password boxes are not filled automatically. After some time "find object timeout" error appears. I increased this quantity(600sec) from object timeout preference but username and password boxes are still empty. Playback process does not continue to other pages. How can I fix it?

    Hi,
    This is failed part of scipt playback report.
    Find Object
    60.155 Failed Find Object timeout. Detail information:/web:window[@index='0' or @title='Google Accounts']/web:document[@index='0']/web:form[@id='gaia_loginform' or @index='0']/web:ınput_text[@id='Email' or @name='Email' or @index='8'].
    setText
    0.008 Failed Find Object timeout. Detail information:/web:window[@index='0' or @title='Google Accounts']/web:document[@index='0']/web:form[@id='gaia_loginform' or @index='0']/web:ınput_text[@id='Email' or @name='Email' or @index='8'].
    Error message appears only at the timeout. It doesn't give error about login failure. Can be databank related to this problem?
    Thanks,
    Nahit

  • Report running fine via se38 , but not with tcode.

    I had made a alv report, and had assinged TCODE.
    When running via tcode > in selection screen i had given all the input data in selection fields,>After that when clicking  the execution button> ITS GOING BACK TO SAP SCREEN.
    BUT.
    SAME report when running through SE38, its running fine..
    I had debugg the program , and what find that when running throug TCOde , After AT-SELECTION SCREEN EVENT , ITS COMING OUT TO SAP MENU WITHOUT TRIGGERING THE  START-OF-SELECTION EVENT.
    HELP ME...

    Please follow the steps for creating a transaction for report..
    GOTO SE93
    Give the transaction code.
    Press create button..
    Enter the short description..
    Choose the radio button which says "Program and selection screen(report transaction)".
    Press Enter..
    Give the program name..
    Remove the Selection screen "1000" if you want.
    Save the transaction code..

  • Script works fine in CC but not CS5- Any tips?

    So i have this script that detects instances of XXXXXXXX and turns them into hyperlinks. It works fine in InDesign CC however won't play nice in CS5.
    Anyone have any tips as to how I can go about making it work?
    var myDoc = app.activeDocument;
    var myLinkStyle = myDoc.characterStyles.itemByName("link"); // the Character style of the links
    var myURL = "http://www.abc.com.au/part/{part_id}?utm_source=ABC%PublicationName&utm_medium=Catalogue&utm_term={part_id}&utm_campa ign=Catalogue"; // url of your company
    var myUrlPartReplace = new RegExp("{part_id}", 'g');
    var i, myLinks, myLink, mySource, myDestination;
    for (i = myDoc.hyperlinkTextSources.length-1; i >= 0; i--){
        mySource =  myDoc.hyperlinkTextSources[i];
        if (mySource.sourceText.appliedCharacterStyle == myLinkStyle){
            mySource.remove(); // removes existing hyperlinks to avoid "double bookings"
    app.findGrepPreferences = null;
    app.findGrepPreferences.findWhat = "\\<(\\d\\d\\d\\d\\d\\d\\d\\d)\\>";
    myLinks = myDoc.findGrep();
    app.findGrepPreferences = null;
    for (i = 0; i < myLinks.length; i++){
       myLink = myLinks[i];
       mySource = myDoc.hyperlinkTextSources.add(myLink);
       myDestination = myDoc.hyperlinkURLDestinations.add(myURL.replace(myUrlPartReplace, myLink.contents.replace(" ", "")));
       myDoc.hyperlinks.add(mySource, myDestination);
    Thanks in advance!

    HI Trevor,
    Thanks for the suggestion. I copied the script into a new file and tried to run from the ESTK... no luck (see screenshot).

  • Report running fine in foreground but not in background

    Dear Friends-
    I have created few varaients to run my report in background and foreground .
    and inside report am using OOPS ALV and call screen  .
    issue is  when i  run prog  using varaient in  foreground  it work fine and show me the correct one record
    but when i  run the report with same varaient in background  it  shows  me   huge records which are not relevant with given input also ...............How to solve this   pls guide me
    Regards
    Meeta

    Hi
    In my report  am passing the input via varaients  and submit another report inside the prog  and in that second report it call screen  with ALV  stuff.
    Is that is the reason ?
    user command  am not sure because at end of the job  it not give any error  job looks finish and  shows so many records.
    Regards
    Meeta

  • Report runs fine in Analyzer but not working when executed fromQuerydesig

    Hi,
    I have a issue with the Bw report which is not showing any data for Keyfigureswhen i execute the report related to APO from Bex query designer in Web.
    But the same report executes fine in the Bex Analyzer.
    If any one has faced this issue earlier,update us reg that.
    We are doubting any prob related to catch memory as the java link for the report is not working.Report works fine in RSRT.
    Vamsi

    Hi there,
    Can you please let us know what cache settings you changed, as we are having the same issue.
    Many thanks

  • Report runs fine in Analyzer but not working when executed fromQuerydesiger

    Hi,
    I have a issue with the Bw report which is not showing any data for Keyfigureswhen i execute the report related to APO from Bex query designer in Web.
    But the same report executes fine in the Bex Analyzer.
    If any one has faced this issue earlier,update us reg that.
    We are doubting any prob related to catch memory as the java link for the report is not working.Report works fine in RSRT.
    Vamsi

    Hi there,
    Can you please let us know what cache settings you changed, as we are having the same issue.
    Many thanks

  • App runs in Eclipse environment but not from jar file with no error message

    When I upgraded my jre to 5.0 my app does not run. After fixing the properties problem I had a few days ago it is now at least compiling and running within Eclpse
    However, when I export to a jar file it runs to a certain point and then just goes away with no error message!!! I've narrowed it down to the exact point where it dies but don't understand why it dies and especially gives me no errors whatsoever. It just goes away.
    It is creating an instance of a new class when it dies.
    Can someone please help me?

    Ok, well it doesn't. Anyway, I'm still having the same problems. I can run my jar file to a certain point and then the application just stops. I know this because I've put come message boxes in the application to let me know where in the app the system is.
    It always dies when it is instantiating the new class called HeidiFrame; done by:
    HeidiFrame heidiFrame = null;
    if I put code in between the above line and before the below line, this code will work fine
    heidiFrame = new HeidiFrame();
    but if I put code after the above line, nothing happens
    As I said this all worked fine until I upgraded to Java 1.5
    If you look at http://java.sun.com/javase/technologies/compatibility.jsp there are 23 compatibility issues with the new release. We're using xml stuff so that was my first problem and the code wouldn't even compiile. Once I added in libraries, the code compiled and ran beautifully.
    However, when creating my jar file so I can deploy this application , I've discovered that the jar file will only run to a certain point, as I've stated previously. So, that's my problem. Not that I can't run it from the command prompt, which I can't, but it's a gui application. I've tried changing things in the classpath file and the manifest to no avail. Nothing changes. The application starts but when it goes to instantiate the HeidiFrame class, which is the class that actually builds the gui it dies and goes bye bye.

  • Applet runs via JCOP shell, but not from CardReader

    Hi,
    I'm completely new to JavaCard, JCOP and Eclipse, so maybe this is a stupid question. But I just need the answer.
    I created a simple javacard applet just to get known to all this new stuff. Now I am able to debug my applet in the Eclipse environment debugger and run it in my test hardware. When I run it (on the OMNIKEY ICCD test hardware), I'm able to send commands to the card and I get back the expected responses.
    In the JCOP Shell, I only need to select the applet (/select |<application name>) and after that send a command (send 8002000009, in my case read 9 bytes starting at location 0x00). In the Shell, I correctly get back the expected data.
    When I disconnect the USB cable for communication between Shell and development hardware and put this hardware into a CardReader, the ATR is detected, just as seen in the Shell. But then, whatever commands I send, I get responses I can't explain. Below some example.
    To be clear, I did nothing but running the applet in the IDE and after that disconnected the cable. Is there some special step/command needed between a run from the Eclipse environment and run "in the real world"??
    Can anyone give me a clue for this??
    First case, Send five zero bytes after ATR
    ATR
    Received: ['0x3b', '0xfa', '0x13', '0x0', '0x0', '0x81', '0x31', '0xfe', '0x45', '0x4a', '0x43', '0x4f', '0x50', '0x34', '0x31', '0x56', '0x32', '0x32', '0x31', '0x96'] (length = 20)
    * Found header
    * TC1 = 0x81
    J C O P 4 1 V 2 2 1
    Send <0000000000>
    Received: ['0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x2', '0x6e', '0x0', '0x6c'] (length = 11)
    Send <00a40000023f00>
    Received: ['0x0', '0xa4', '0x0', '0x0', '0x2', '0x3f', '0x0', '0x0', '0x92', '0x0', '0x92'] (length = 11)
    Send <0a404000a546573744170706c65740>
    Received: ['0x0', '0xa4', '0x4', '0x0', '0xa', '0x54', '0x65', '0x73', '0x74', '0x41', '0x70', '0x70', '0x6c', '0x65', '0x74', '0x0', '0x0', '0x92', '0x0', '0x92'] (length = 20)
    Send <8002000005>
    Received: ['0x80', '0x2', '0x0', '0x0', '0x5'] (length = 5)
    Second case, without the five zero bytes send after ATR
    ATR
    Received: ['0x3b', '0xfa', '0x13', '0x0', '0x0', '0x81', '0x31', '0xfe', '0x45', '0x4a', '0x43', '0x4f', '0x50', '0x34', '0x31', '0x56', '0x32', '0x32', '0x31', '0x96'] (length = 20)
    * Found header
    * TC1 = 0x81
    J C O P 4 1 V 2 2 1
    Send <00a40000023f00>
    Received: ['0x0', '0xa4', '0x0', '0x0', '0x2', '0x3f', '0x0', '0x0', '0x82', '0x0', '0x82'] (length = 11)
    Send <0a404000a546573744170706c65740>
    Received: ['0x0', '0xa4', '0x4', '0x0', '0xa', '0x54', '0x65', '0x73', '0x74', '0x41', '0x70', '0x70', '0x6c', '0x65', '0x74', '0x0', '0x0', '0x82', '0x0', '0x82'] (length = 20)
    Send <8002000005>
    Received: ['0x80', '0x2', '0x0', '0x0', '0x5'] (length = 5)
    ErikT

    ErikT wrote:Lexdabear,
    Yes, I program the SmartMX using the USB connecter and the put the card hardware into a COMMON(!) card reader. This simply converts serial data from a PC serial port to data to the card. In our application, the controller that's communicating with the card has no 7816 interface, so we have to do that in software. To see what to do on the 7816 port, we use the PC serial port and the card reader hardware.
    At this moment, it seems it has something to do with the software implementation of the 7816 protocol. The applet is not relevant, yet, because it's not even entered.
    Thanx,
    ErikTAh, OK. Your controller does not have the ISO7816 protocol implemented. So you have a lots of work in front of you. Check out ISO7816-4, T=1 .. I assume you have an error in the block structure (e.g. NAD, EDC ..).

  • SharePoint 2013 - document libraries and newsfeeds are visible when viewed using Internet Explorer running on the server but not from any other machine

    On a single Windows 2012 R2 server I have installed SQL 2012 and SharePoint 2013 SP1 with the latest update roll ups. When I remote desktop to the server using the farm and site collection admin account  and open page http://server_name_here using
    Internet Explorer, I'm able to see newsfeeds and document libraries.
    If I connected to a separate Windows 7 machine as  the farm and site collection admin account  and open page http://server_name_here using Internet Explorer, I'm able to view the SharePoint pages except I cannot see any newsfeeds or document libraries.
    There's just blank space where they should be. I have repeated this process on several other machines that are not the server and get the same result on every machine (I've tried other servers, desktops, adding the SharePoint site to the trusted sites list
    in IE, even using firefox). I'm using the same account as I did when I logged onto the server directly. Any thoughts as to what's going on?
    Thanks!

    Thanks for the idea, Harsh. What am I looking for?
    It is currently set to the default of http://server_name and http://server_name:port_number (the latter is for Central Admin).
    When I have access to the server, I have always done so the same way, using http://server_name. This was true when I access it from the desktop of the server itself and when I tried to access it from other desktops and servers (the machines where I had the
    issues with the libraries and feeds not showing up). Are there other values I should add?
    I have not tried to add http://server_FQDN as we don't plan on using that to access it but if you think it will help I would be happy to add it.

  • Airplay works fine in iTunes but not from the menu why?

    Hi Guys,
    I have read so many answers to the question about Airplay not working both here and the internet.
    Can someone give me the definative answer why I can Airplay from iTunes but not from the Macbook Pro itself i.e. no menu icon or setting to mirror.
    Everyone seems to say its the age of the computer or its the firewall or the wind is blowing in the wrong direction.
    Why if I can do it oneway (iTunes), I can not do it directly?
    I am using a 2011 macbook pro 10.9.3 and a apple tv 3.
    Is there a hack or work around with out purchasing more software.
    Thanks

    Hey Beauvoir17,
    Thanks for the question. Based on the information you have provided, I can conclude that your MacBook is indeed compatible with AirPlay Mirroring, as outlined in the following resource:
    About AirPlay Mirroring in OS X
    http://support.apple.com/kb/HT5404
    AirPlay Mirroring in OS X takes advantage of the hardware capabilities of recent Macs to deliver high frame rates while maintaining optimal system performance. The following Mac models support AirPlay Mirroring when using OS X Mountain Lion or later:
    - iMac (Mid 2011 or newer)
    - Mac mini (Mid 2011 or newer)
    - MacBook Air (Mid 2011 or newer)
    - MacBook Pro (Early 2011 or newer)
    - Mac Pro (Late 2013 or newer)
    If you are experiencing issues with AirPlay mirroring, I would recommend the troubleshooting steps outlines at the bottom of the article.
    Thanks,
    Matt M.

  • Forms crashing while executing Oracle Forms Functional script in OTM

    Hello,
    We're trying to execute Oracle Ebiz forms related functional test scripts developed in Open Script in Oracle Test Manager.
    Exactly when the forms get launched, the JRE is getting crashed, and the script is failing. What could be the reason.
    I've added the class path in Java control panel for the JRE which comes with OATS, and enabled 1.6.33 version, which works absolutely fine when same script is run using OpenScript and not through OTM.
    Also, in windows services we have provided the valid admin login credentials to the run the service as, instead of local machine user.
    Any help and insight on this problem would be of great help.
    Regards,
    Nishant
    Edited by: 958623 on Oct 29, 2012 5:09 AM

    Yes as mentioned i have used run time setting "-formsft.startup_timeout 30".
    Per release notes, i am starting the agent service using the command line "C:\OracleATS\agentmanager\bin\AgentManagerService.exe -c
    C:\OracleATS\agentmanager\bin\AgentManagerService.conf".
    But what's happening is, OTM is not actually waiting for the applet to load. The moment the forms are invoked and about to load after signing in and selecting the responsibility and menu, the script and forms are crashing. OTM is giving the below error though its not waiting to connect to the forms.
    Failure when running child script GL_JournalEntry_Batch. Caused by: Failed to connect to the Oracle Forms applet after 30 seconds. Verify that the applet launching page opens, and that the Forms Startup Timeout setting is high enough for this site

  • I'll ask this again.  I'm running Yosemite, LR 4.4 everything was running fine and I'm not sure if this is connected but when I loaded the last security update from Apple I started getting the "no content" box when I tried to publish to LR (Facebook OK),

    I'll ask this again.  I'm running Yosemite, LR 4.4 everything was running fine and I'm not sure if this is connected but when I loaded the last security update from Apple I started getting the "no content" box when I tried to publish to Flickr (Facebook OK), now I can't get it to authorize, I loaded 3rd party JR plug in and still get can't authorize.  Can anybody help?  Basically LR is useless, it has been nothing but problems.

    It would probably be better to continue your previous thread on the same question than to start a new one.

  • Gmail question.  I'm getting an error message that states my username or password are incorrect.  I haven't changed anything and the gmail is working fine on the mac book.  The mail function worked yesterday on the iphone but not today - any solutions??

    Gmail question.  I'm getting an error message that states my username or password are incorrect.  I haven't changed anything and the gmail is working fine on the mac book.  The mail function worked yesterday on the iphone but not today - any solutions??

    Try Restarting / rebooting  your Mac before doing anything more drastic..
    S.

Maybe you are looking for