Failed to run OFT and Openscripts in OTM

Hi,
I have attached OFT and openscripts scripts to OTM test cases. When I try to run test case containing openscript or either OFT. It doesn't run. Only one pop up comes "Test execution is in progress". I have checked ports of my system they are fine. Also, when It try to run manual scripts they are working fine.
Please help me urgently.
Thanks,
Jatin

I had trouble executing OpenScript web tests through OTM as well, until I changed the properties of the "Oracle Application Testing Suite Agent Service" to run as a user that had the permissions to log into the agent machine and run a browser...
Hope that helps!
-Troy

Similar Messages

  • 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

  • Executing OpenScript from OTM fails-Failed to connect forms

    Hi,
    Iam Sandeep,i've recorded an E-Business Suite script using OpenScript 9.21 and tried to playback the same.While playing back it's failed in the middle,the error was "Failto connect to form after 30000 milli seconds".Later i'd changed the Event Timeout settings from Openscript-->View-->OpenScript Preferences-->Playback-->Oracle EBS/Forms Functional.After this,the playback was successful.Then i tried to execute the same script from OTM,but it failed in the middle.The error which i got from the report was the same which i got in the OpenScript earlier i.e. "Fail to connect to form after 30000 milli seconds" that means it didn't take the updated value in Event Timeout settings of OpenScript,instead it took the default value(For running OpenScript in OTM,I've used the settings which had given in the release notes and also added the same repositories that i've used in OpenScript).i've used the same version of OpenScript and OTM i.e. 9.21 and also both are installed in the same machine.Can anyone help me to solve this error.It's very urgent.
    Thanks in advance
    Best Regards,
    Sandeep.

    Hi Sandeep
    When Playing back from OTM the settings set in OpenScript will not be applied, you need to enter them in the command line text box in, this case you need to enter:
    -formsft.startup_timeout n
    A full list of commands can be found in the OpenScript user guide in page 293.
    Regards
    Alex

  • HTTP 401 received when running exRCA and authentication fails

    After upgrading Exchange 2013 to CU6 our ActiveSync functionality stopped (along with a few other things). I have been using ExRCA to troubleshoot and have spent several days looking at forums and trying different things out to get it working again but to
    no avail. Essentially when I enter valid account credentials it fails to authenticate and as a result I receive an 401 response.
    I have already checked Inherited permissions are enabled for the user account in AD. I have checked that the authentication for the Virtual directory is set to Basic with SSL required. (Have also tried with windows authentication enabled). I have recycled
    the ApplicationPool especially the MSExchangeSyncAppPool - That appears to be correctly configured and running under LocalSystem Identity. I have recreated the virtual directory using the reset feature in the EPC. Both internal and external URLs are set as
    well as the CAS server being assigned to the External URL.
    The report that I get: -         
    An ActiveSync session is being attempted with the server.
     Errors were encountered while testing the Exchange ActiveSync session.
     Additional Details
    Elapsed Time: 3721 ms.
     Test Steps
     Attempting to send the OPTIONS command to the server.
     Testing of the OPTIONS command failed. For more information, see Additional Details.
      Tell me more about this issue and how to resolve it
     Additional Details
    An HTTP 401 Unauthorized response was received from the server. This may be the result of invalid credentials or a configuration problem on the Exchange Server.
    HTTP Response Headers:
    request-id: 216790d5-03dc-4616-87c6-d196c870a6f0
    X-CalculatedBETarget: ex2013.domain.org
    X-FEServer: EX2013
    Content-Length: 0
    Cache-Control: private
    Date: Wed, 12 Nov 2014 16:13:10 GMT
    Server: Microsoft-IIS/8.5
    WWW-Authenticate: Basic realm="domain.org"
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Elapsed Time: 3721 ms.
    I have failed request logging enabled and I am seeing numerous entries for some of the other services including ActiveSync and getting similar errors to the below: -
    ModuleName
    WindowsAuthenticationModule
    Notification
    AUTHENTICATE_REQUEST
    HttpStatus
    401
    HttpReason
    Unauthorized
    HttpSubStatus
    1
    ErrorCode
    No credentials are available in the security package
     (0x8009030e)
    Any thoughts or additional diagnostic steps will be appreciated.
    I tried recreating the backend virtual directory via EMC using the following command: - 
    New-WebApplication  -Site "Exchange Back End" -Name Microsoft-Server-ActiveSync -PhysicalPath "C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\sync" -ApplicationPool MSExchangeSyncAppPool -Force
    (didnt work...)

    Hi Joby 
    Thanks for getting back - tried your suggestion but still the same. 
    Attempting to send the OPTIONS command to the server.
    Additional Details
    An HTTP 401 Unauthorized response was received from the server. This may be the result of invalid credentials or a configuration problem on the Exchange Server.
    HTTP Response Headers:
    request-id: 53f6bea6-4ef2-463e-87a1-f2dfd6a7bcf8
    X-CalculatedBETarget: ex2013.xx.domain.org
    X-FEServer: EX2013
    Content-Length: 0
    Cache-Control: private
    Date: Mon, 24 Nov 2014 13:16:15 GMT
    Server: Microsoft-IIS/8.5
    WWW-Authenticate: Basic realm="xx.domain.org"
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Elapsed Time: 681 ms.

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • Error "Conversion failed when converting date and/or time from character string" to execute one query in sql 2008 r2, run ok in 2005.

    I have  a table-valued function that run in sql 2005 and when try to execute in sql 2008 r2, return the next "Conversion failed when converting date and/or time from character string".
    USE [Runtime]
    GO
    /****** Object:  UserDefinedFunction [dbo].[f_Pinto_Graf_P_Opt]    Script Date: 06/11/2013 08:47:47 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE   FUNCTION [dbo].[f_Pinto_Graf_P_Opt] (@fechaInicio datetime, @fechaFin datetime)  
    -- Declaramos la tabla "@Produc_Opt" que será devuelta por la funcion
    RETURNS @Produc_Opt table ( Hora datetime,NSACOS int, NSACOS_opt int)
    AS  
    BEGIN 
    -- Crea el Cursor
    DECLARE cursorHora CURSOR
    READ_ONLY
    FOR SELECT DateTime, Value FROM f_PP_Graficas ('Pinto_CON_SACOS',@fechaInicio, @fechaFin,'Pinto_PRODUCTO')
    -- Declaracion de variables locales
    DECLARE @produc_opt_hora int
    DECLARE @produc_opt_parc int
    DECLARE @nsacos int
    DECLARE @time_parc datetime
    -- Inicializamos VARIABLES
    SET @produc_opt_hora = (SELECT * FROM f_Valor (@fechaFin,'Pinto_PRODUC_OPT'))
    -- Abre y se crea el conjunto del cursor
    OPEN cursorHora
    -- Comenzamos los calculos 
    FETCH NEXT FROM cursorHora INTO @time_parc,@nsacos
    /************  BUCLE WHILE QUE SE VA A MOVER A TRAVES DEL CURSOR  ************/
    WHILE (@@fetch_status <> -1)
    BEGIN
    IF (@@fetch_status = -2)
    BEGIN
    -- Terminamos la ejecucion 
    BREAK
    END
    -- REALIZAMOS CÁLCULOS
    SET @produc_opt_parc = (SELECT dbo.f_P_Opt_Parc (@fechaInicio,@time_parc,@produc_opt_hora))
    -- INSERTAMOS VALORES EN LA TABLA
    INSERT @Produc_Opt VALUES (@time_parc,@nsacos, @produc_opt_parc)
    -- Avanzamos el cursor
    FETCH NEXT FROM cursorHora INTO @time_parc,@nsacos
    END
    /************  FIN DEL BUCLE QUE SE MUEVE A TRAVES DEL CURSOR  ***************/
    -- Cerramos el cursor
    CLOSE cursorHora
    -- Liberamos  los cursores
    DEALLOCATE cursorHora
    RETURN 
    END

    You can search the forums for that error message and find previous discussions - they all boil down to the same problem.  Somewhere in your query that calls this function, the code invoked implicitly converts from string to date/datetime.  In general,
    this works in any version of sql server if the runtime settings are correct for the format of the string data.  The fact that it works in one server and not in another server suggests that the query executes with different settings - and I'll assume for
    the moment that the format of the data involved in this conversion is consistent within the database/resultset and consistent between the 2 servers. 
    I suggest you read Tibor's guide to the datetime datatype (via the link to his site below) first - then go find the actual code that performs this conversion.  It may not be in the function you posted, since that function also executes other functions. 
    You also did not post the query that calls this function, so this function may not, in fact, be the source of the problem at all. 
    Tibor's site

  • ICal failing to run applescripts: The 'Open' button does not change to 'Run', and the script file is opened but not executed on alert.

    iCal failing to run applescripts: The 'Open' button does not change to 'Run', and the script file is opened but not executed.

    Calendar (not called iCal anymore) does not include that capability any longer, apparently.  What you have to do now is go to Automator and create a Calendar Alert action.  You can add a Run AppleScript object to the action and paste in your script there, then when you save it, it will become available as a choice in the alert menu in Calendar.

  • Is the base modeal 15" mbp (4gb ram w/ 750gb@5400rpm) enough to run traktor and ableton without fail?

    i just need to know if i can get away with buying the base 15" mbp with the 4gb ram 750gb@5400rpm hdd to sufficiantly run traktor and ableton without fail. all comments needed, very close to just saying screw it and just buying one! getting tired of waiting! thank you l;D

    You could do it yourself according to this: http://manuals.info.apple.com/en_US/MacBook_Pro_17inch_Mid2010_Hard_Drive_DIY.pd f
    I'm sure the difference in size doesn't make a difference to the replacement.
    Here's how to add RAM without affecting AppleCare:
    http://support.apple.com/kb/ht1270#link3

  • When Creative Cloud updated a few days ago (Win7) it reported no installed apps. In Lightroom I keep getting messages that a new version is available. Installed it from CC and it installed without error, CC shows I installed it, but it simply fails to run

    When Creative Cloud updated a few days ago (Win7) it reported I had no installed apps.
    In Lightroom I keep getting messages that a new version is available. Installed it from CC and it installed without error, CC shows I installed it, but it simply fails to run.
    How do I get CC to find apps installed under the previous version?
    And how do I get Lightroom CC to run?
    Peter

    I still don't know how to get CC to find that I have Photoshop CC installed, but running Creative Cloud, going to Preferences and signing out, then signing in again got Lightroom CC to work.
    Since Photoshop CC is still working despite apparently not being installed things are now OK, at least for the moment. But I'm not feeling at all happy with Adobe.

  • When calling or receiving calls, after a minute or so, is the call, give notice "call failed, THEN RUNS OUT OF SERVICE, then activated" SEARCHING "and then restoring the coverage. THIS FOR THE 100% of calls

    When calling or receiving calls, after a minute or so, is the call, give notice "call failed, THEN RUNS OUT OF SERVICE, then activated" SEARCHING "and then restoring the coverage. THIS FOR THE 100% of calls

    You may have a bad sim, contact your phone carrier and see if you can get a new one.

  • DTP runs endless and fails

    Hiii ,
    When I execute the DTP which loads data to ODS ,It runs endless and fails .
    I reactivated the ODS ,Retransported Still issue persists.
    Also i tried creating new DTP it also goes into endless and status remains Yellow and turns red after some time.
    Kindly help
    Regards.
    Akshay

    Hi Akshay,
    Please check in ST22 or SM21 for any errors raised by DTP failure. It might happen that it is due to partition max level reached.
    Please check free background processes in SM50 and data volume in DTP request. If possible change the DSO settings as Kodanda has suggested.
    Thanks
    Amit

  • Hyperion IR BQY job run successful few month but recently failed to export pdf and sending email

    Anyone have encountered the problem that the BQY jobs which are running more than 3 years successfully. But recently no one update the report, but the job export keep failing to send result pdf to receivers intermittently.
    It shouldn't be BQY job itself problem. Because this job has running years and fine. Only recent days comes out this problem. And user manually run the report can also be successful.
    After checking the server log, find out that Hyperion IR retrieved data successfully but export-excel/bqy type file all works except pdf format. And in one week, some day it works fine. Some day it failed.
    Trace in workspace job schedule log, it saying:
    Emailing section 'xxxxxx' as 'PDF' to:
    [email protected]
    [email protected]
    Export failed with unknown error.
    And checked the server_message_IRJobService.log it just saying:
    Error in export.[[
    And
    TCApp::ExecuteJavaScript failed:
    We stuck at this error for a period of time. Anyone can help? Oracle Support has mentioned it might be system performance issue. Will keep an eye on this issue, to see any solution can be find.

    Hi RamKumar,
    Thank you very much for your inputs. We haven't tried
    Increase the memory for the Hyperion Framework Services
    will test and see if it can solve the problem. For 'Hyperion Framework Service', do you mean 'Reporting and Analysis Framework'?
    We only tried increase the parameter of "Job Service" and "Intelligence Service" which called Dynamic Service Properties set to "PROCESS_MEMORY_LIMIT=2500MB". But seems hyperion this 32bit application only can reach to 2047MB.
    Our EPM version is 11.1.2.1.600.07.
    a. We have increased the memory from 24G to 48G and add more memory for JobService (now it has 2 GB memory).
         For the provided solution.
         Set the filters in the query to return smaller amount of data
         We are still working on, but it seems slightly solve the "Error in export" problem.
    b. We have confirmed the SMTP Server configuration is correct. So this solution not fit for our case. As the trouble job has been running more than 3 years, until recent month it starts with this error. And the job failed this error only happens intermittently e.g. Monday,Tuesday,Friday it all works fine(Proved the job it self is OK) but Wednesday some period, it failed to export. So we are thinking it might the hyperion performance issue.
    For the KM reference:
    Interactive Reporting (IR) Jobs do not Send Emails. Error: "Export failed. Error Sending Mail" (Doc ID 1401854.1)
    We have already read and checked, we do have correct configuration.
    Interactive Reporting Job Completing With Javascript Errors - Not Producing Excel Output (Doc ID 1065483.1)
    Our case is customer can successful extract data and send excel/bqy result to customer with no problem. But it failed to send pdf result sometime.
    Thanks and Regards,
    Erica

  • TS1363 I can't connect to the itunes store from my Windows Vista PC. I have run diagnostics and itunes have verified my internet connection as positive, but not the secure link to the itunes store. This comes up as failed.  Any suggestions?

    I can't connect to the itunes store from my Windows Vista PC. I have run diagnostics and itunes have verified my internet connection as positive, but not the secure link to the itunes store. This comes up as failed.  Any suggestions?

    everytime I try to open the store it endlessly says "accessing iTunes store" but it never opens.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Power shell script failed to run - reasons for it and some background?

    Hi there
    I have been receiving some alerts with high repeat count that Powershell script failed to run.
    All of them are coming from one server and all of them are related to SQL2012 installation. The following scripts generate alerts:
    CPUUsagePercentDataSource.ps1
    StolenServerMemory2012.ps1
    DBDiskLatencyDataSource.ps1
    I am quite new to SCOM and still trying to find my way around conveniently - I would appreciate your help if you could explain me one thing: are these scripts executed locally or through remote PSSession to the target? The point is I couldn't find any of
    these scripts on my server to re-run them (and possibly catch exceptions).
    The repeat count for past two months is quite high, for 8 alerts between 25 / 80.
    Thanks in advance!
    AlexP

    The agent downloads the script and it is run locally on the agent machine, in your case the SQL Server. Usually most of these type scripts are held in the Agent folder under scritp/downloads, (sorry dont have the full path in front of me or I would give
    it to you).
    These errors are probably due to the fact that SQL 2012 does not give any rights to the Local System Account which is the context in which the SCOM agent runs scripts as, and is unable to access SQL information due to this fact. The easiest way to fix this
    is to setup a run as account, which would be an account on your domain that has local admin access to the SQL box and has SA rights to the instance of SqL running on that box. See the following blog posts on how to fix this.
    http://blogs.technet.com/b/kevinholman/archive/2010/09/08/configuring-run-as-accounts-and-profiles-in-r2-a-sql-management-pack-example.aspx
    Hope this helps! this will probably create more questions...
    Scott Moss MVP (Operations Manager) President - System Center Virtual Users Group |Vice President - Atlanta Southeast Management Users Group (ATL SMUG)
    Please remember to click “Mark as Answer” on the post that helps you!
    my new blog om2012.wordpress.com

  • Trying a recovery from a livedisc and chroot fails to run /bin/bash?!?

    The title pretty much says it all.
    Trying to do a repair on my daughter's laptop, booting from a live image on USB.  It's an old eeepc with only 1 partition, all on sda1.
    I'm using the Kernel Panics wiki like I usually do when I have to go through this: ( https://wiki.archlinux.org/index.php/Kernel_panic) but when I try to chroot, I get this:
    chroot: failed to run comman '/bin/bash': No such file or directory
    Any ideas?  I'm pulling my hair out here.

    Ah, maybe you're trying to use a 64-bit binaries from the USB on a 32-bit system or vice-versa.
    Last edited by karol (2010-12-15 18:28:42)

Maybe you are looking for