Conversion of scripts from one domain to another

Back to the pre OpenScript versions (v8), there used to be a utility (under the Tools menu) to convert the scripts. This would be useful for example when migrating a script from one environment to another (for a script can be used in a production environment?) However, this feature is not currently available in recent versions.

I realize, you can try to do a global find/replace in the Java code, but it doesn't seem to be as simple as replacing the root of the URL like this leaves the issues with dynamic variables is most recognized (I get losts of messages "Could not be resolved" if I try this exercise).

Is there a simple way to edit a script of 'https://URLA/application' to 'http://URLB/application '?

NOTE: In the example above I also changed from HTTPS to HTTP simple.

In 9.2 under Tools, there is an option called URL set... You select this option and it will display the URL of the application and a text field where you can enter a variable name. Then you can select all instances of this URL and OpenScript will be replaced by the variable. Once done you will have code such as

Initialize the Section
getVariables () .set ("bilbobaggins", "http://www.scl.com",
Variables.Scope.GLOBAL);

and in the running section you would have something like

Web.Window (2, "/ web: window [@index = '0' or @title =' about: blank']")
. Navigate (' {{bilbobaggins, http://www.scl.com}} / OA_HTML/RF.jsp "" ");
Web.Window (4, "/ web:window[@index='0" or @title = 'Login'] "")
.waitForPage (null);

Notice it will return the variable and also have the saved value. So if you want to play against another environment just to change the value of the variable and replay.

Hope this helps

Concerning

Wayne.

Published by: byrne_wayne on January 11, 2011 15:16

Tags: Oracle Development

Similar Questions

  • ACS move from one domain to another

    Hello

    I am a person of router/switch/load balancing that is new to Cisco ACS management and I am now charged with the transfer of GBA from one domain (ADS.compagnie.com) to the other. (corp.company.com).

    We are running ACS v5.2 and import external databases via AD (ADS.compagnie.com) and LDAP (corp.company.com). We use GBA to GANYMEDE + auth for auth 802.1 x and network equipment for the wireless. All users have already migrated over to the corp.company.domain

    I've read a few books and have became familiar with interfaces, terminology, etc.

    Could someone please point out what are the things I need to keep in mind when you perform this migration?

    Appreciate the help.

    -Nick

    Hi Nikhil,

    The news is that there is no such thing as a migration as well as GBA and your condition is concerned... You will need to remove all references to the announcement of your ACS config, let your current domain name, join the new domain and re-enter your basic AD config.

    If you're lucky, what I suggested will work, but older versions of the ACS are notoriously bad when you changed areas and occasionally need to be built from scratch.

    Richard

  • CS6-best way to transfer/replace an existing Web site from one domain to another domain?

    I don't know there is a quick and easy way to do and a way to really cause me a lot of unnecessary work.

    Here are the facts. I have all my work files and the folder of the DW site to a folder on hard drive for my MAC at the location has. I am downloading and display (my test site) domain A, live. This was done as a site of 'test' for a client that I have built their new site, leaving their site of origin on 'their' area B, as it is, intact. I had also designed their site of origin and is in another place on my hard drive MAC, downloaded on their domain B. Now, I'm done, approved and ready to replace their old site with the new (which is on my test domain) to their domain B.

    I have both on my server, DNS correctly directed. It's just a swap and download problem and proper placement of the file to local file number.

    I think I can just do a "file" in a new location for the new files to site B on my HD and make a copy of everything from the work test site (a) files (on my MAC HD). Where I have the files of the site now, it's not where I eventually wanted to have them (instead of being put in the client's file). Then open and appoint a new site in DW and direct them to the 'new' copied / location of the files in the new Web site files. If this theory is correct, should I delete the old site on domain B (server), so when I upload the new site it updates only the new files on the customer site, fresh and clean? Do not add all (both) sites to their directory of the domain.

    What worries me, it's you I have a problem with new site "copied" (in their new location on my HD) falsely files without forgetting the former path of the former location of test file on my drive? I guess just that all the hundreds of missing links to redirect if there is a problem. As I hinted above, the files all will go to the new local location if my new site points to this new folder?

    I think that somewhere, I learned the relative and absolute links. All files are in the folder of the site relative to this site folder? So no problem if I rename or move the folder? I guess that's my question to link. What DW did exactly and I have to take account when do you what has to offer.

    The test site, as I suppose, will remain simply a duplicate that is now developing, until I clean/remove files in this area has?

    I don't mean to make things complicated, but I bet there's a correct procedure to do fast and clean. Sorry if I made a mess of it, but I'm having a hard time putting it into words!

    Thank you

    ~ Dan

    No need to duplicate the files.  Change your Site definition settings and change the remote server for the domain of the client.  Connect to a remote server to the client, download the new files to the site.  Fact.

  • Moving grouped content from one page to another (javascript - InDesign)

    Can someone show a simple solution on how to move a group selected items include the text and graphics from one page to another page in the same document using javascript for scripting InDesign 5.5. Thank you!

    You cannot determine where the item is placed, it is an operation of both parties. If you want to save & restore the original location, try this:

    ypos = app.selection[0].geometricBounds[0];
    xpos = app.selection[0].geometricBounds[1];
    app.selection[0].move (app.activeDocument.pages[1]);
    app.selection[0].move ( [ xpos, ypos] );
    

    This fails on a spread when you try to move something to a page in the left hand to the right hand one or conversely, as by default, InDesign treats spreads as a single unit of basic, no pages - you move your article to the correct spread, but not on the right page, and it seems on the same half of the spread that he was from. If there is a problem, you can experiment with changing the options of rule (by spreading, by page, etc.) and see if it works for you.

  • Is there a Windows Media Player plugin which allows you to convert audio files from one type to another?

    Is there a Windows Media Player plugin which allows you to convert audio files from one type to another?
    For example: conversion of a

    1. file to a .mp3 file .m4a? Or a
    2. . M4P file to a .mp3 file, or a
    3. mp3 to a .mxmf file

    or visa / versa for any of them?

    Hello

    Thank you fo contact Microsoft Answers.

    Windows Media Player is not any plugin. Maybe you can try to Expression Encoder.

    Here:

    http://www.Microsoft.com/expression/products/Encoder4_Overview.aspx

    Or here:

    http://www.Microsoft.com/expression/products/EncoderPro_Overview.aspx

    Many third-party converters are also available, you can try.

  • User OBIEE files not copied from one environment to another

    Hi Experts,

    I rsynced my files from one environment to another, but below files need root access, and therefore, they are not copied to the new environment. May I know if there will be problems because of the absence of these files in the target environment? Same files are missing for weblogic user as well, but I'm able to connect with the weblogic user. Please help because it is a production environment.

    instances/Instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/Catalog/SampleAppLite/root/Users/yrizwan/user%7e%2eprofile. ATR': Permission denied (13)

    instances/Instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/Catalog/SampleAppLite/root/Users/yrizwan/user%7e%2eprofile. ATR': Permission denied (13)

    bodies/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/catalog/SampleAppLite/root/users/yrizwan/_prefs/cacheduserinfo': Permission denied (13

    bodies/Instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/Catalog/SampleAppLite/root/Users/yrizwan/_PREFS/cacheduserinfo. ATR': Permission denied (13)

    bodies/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/catalog/SampleAppLite/root/users/yrizwan/_prefs/volatileuserdata': Permission denied (13)

    bodies/Instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/Catalog/SampleAppLite/root/Users/yrizwan/_PREFS/volatileuserdata. ATR': Permission denied (13)

    I cleaned my / User any/xyz - written scripts by user serving some time ago.

    It is therefore a 'full' / user/weblogic old on the instance:

    You can see that this is not about what the guy has done recently, but a together a lot more. I have just explained the two examples that you had in your original post.

    The example looks like a pretty empty user account (if that's really all that is in its foledr on the file system). By aligning the right FACILITY to the rest of the webcat will not affect OBIEE application behavior.

  • Copy data from one schema to another. Reopen the Question

    Hello

    I had asked this question earlier to copy data from tables of one schema to another in the same database using the database link. In my previous post have mentioned below.
    Re: copy data from one schema to another.
    Now I am faced with the question for the remote copy of database

    I have created a DB connection between my local system and the remote database. with the chain of connection as shown below
    CREATE THE DATABASE PUBLIC LINK "MERU_DEV_LOCAL_DEV".
    CONNECT TO MERUDEV IDENTIFIED BY MERUDEV WITH THE HELP OF "MERUPROD";
    In the above script
    LOCAL DEVELOPMENT scheme IS
    REMOTE schema is MERUDEV
    I try to copy remote database to my local database tables using the script below.
    network_link DEVELOPMENT impdp = schema MERU_DEV_LOCAL_DEV = MERUDEV remap_schema = MERUDEV:DEVELOPMENT TABLE_EXISTS_ACTION = REPLACE
    But the copy of the table does not occur. What could be the problem? Please suggest me or do I need to modify the script

    Thank you
    Sudhir

    You can:
    -monitor the BONE with ps - ef
    -monitor data pump: jobs are dba_datapump_jobs and dba_datapump_sessions
    -monitor with logops: v$ session_longops

  • Help: How to transfer data from one form to another form form

    Hello:

    I was wondering how / if it is possible to transfer data from form from one form to another form. I create a flow of forms, which are as follows: form of Incident report-> form of risk analysis-> error-> report form decision support survey Standard-> report form of risk control-> form of mitigation-> etc... You get the gist. It would be very time-consuming to constantly transfer the standard who, what, when, where and how from one form to the other. I was wondering how do? I have looked around on the net and this forum and couldn't find a tutorial or a guide? Is this possible with Adobe forms?

    I use a XML schema for the form to preload a list of employees and the standard list information and then publish the form to submit in PDF format for opening and tracking form mobile device. I notice that I can export the data in a form that is distributed in XML but I can't import in a distributed form. I'm a newb with code, but may contain a little of my own.

    An example of how to achieve this with a field name or something would be greatly appreciated! If you need anything, or a copy of the forms let me know!

    Thank you kindly,

    Al

    Hi Al,.

    I have here an example where the data in a single form are 'communicated' to other forms. Please note that there are specific script in each of the forms. It's a work in progress and one day I'll come back make a more polished example: http://assure.ly/qQivbm.

    See also John Brinkman's blog for a different approach: http://blogs.adobe.com/formfeed/2010/07/shared_data_in_packages_part_1.html and http://blogs.adobe.com/formfeed/2010/07/shared_data_in_packages_part_2.html.

    Good luck

    Niall

  • transfer of data from one server to another server

    transfer of data from one server to another server... How is possible?

    We used to transfer data of one cube to another using... report script... then load rule... so can we use even for that?
    but

    I would like to know any other comments and other means (like to explore)

    If you move the range of data to load into the different cube, then you can use report script or calc extrcat data and can use the rule files to load the data.
    If you move the data to load into a cube replicated in another environment, you can take the lev0 data and can do the free form of loading.

  • How to manage the attribute date, passing the parameter from one page to another

    Hi friends,

    I want to spend attribute data from one page to another page-

    I'm passing as below, in the log window jdev I get error below.
    String StatusUpdateDate = row.getAttribute ("StatusUpdateDate");
    params.put ("StatusUpdateDate", StatusUpdateDate)
    Error (121.50): incompatible types. found: java.lang.Object, required: java.lang.String


    Suppose that I'm passing as below, while moving from one page to the other, I am getting error in the application below
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate").toString)
    Date of update of State - Houston-25009: failed to create an object of type: oracle.jbo.domain.Date with value: 26-MAR-2009

    Please you can suggest me how to handle this error.


    Thank you and best regards,
    Vandenplas

    Hello

    Vandenplas

    you're right, this method is to launch error, which is why I got, bcz timstamp is also not implmenting Serializable interface, is there he throwing error at run time

    u just go this way

    another page of request-Destination page Controller-Process-

    Add a new line below the following line

    DATE StatusUpdateDate = (DATE) pageContext.getTransactionTransientValue ("StatusUpdateDate");

    String stringStatusUpdateDate = StatusUpdateDate.toString ();

    and also in your AM CODE

    change your method like this

    public void testselection (String Name, String Email, String product, the string, String StatusUpdateDate)

    hope this will solve the problem

    thanx

    Pratap

  • How to transfer a project from one computer to another file

    Hello

    In order to burning a DVD on my laptop that is older, I'm trying to transfer a working from a library folder and insert it into another on the old computer. I used a USB key. All the data has been transferred, but how do i:

    1) enter a library on the old computer? I DID this, but it will not appear in the Final Cut. I "Showed the content" and it allowed me to put the file in THIS library, but it will not appear in the column "libraries."

    (2) create its OWN library on the old computer?

    Thank you.

    Mike Scully

    Stay out of the whole library. This is a complex database. If the components have moved the database becomes useless. Pretty much all you need to do inside the library can be done from the inside of the PCF.

    If you cannot move the entire library from one machine to another on an external drive, you can move a project of a new library. That will copy only the clips used in the project. You can take it on the other machine. You can also export a master file and consider on the other machine to make the DVD. It is perhaps the simplest.

  • My IPAD seems to go on auto-pilot: How can I stop the he flicking from one thing to another?

    How can I stop my IPAD II of flicking from one thing to another without my intervention?

    You probably have a defective scanner on the screen and so will have to do to fix it.

    iPad repair - official Apple Support

  • Moving files from one event to another in the same library

    When I try to move the file by dragging the clip from one event to another, I get this message that "the file could not be opened because there is no file of this type." I have Final Cut Pro X was last updated.

    I find it interesting since when I imported the raw images from an SD card for Final Cut Pro, I copied all the files in the library. I even played the files and they worked.

    I would be very grateful for any answer I can receive. If worse comes to worse, I can always import the images even once to the appropriate event, because I still images raw on one SD card.

    You can post a screenshot of your browser?

    In addition, what happens when you use the reveal based on the Finder.

  • ADMITTED that Cookies exceptions list does not keep the entries from one session to another.

    YES, I searched the KB for a response... no joy. I want to manage my cookies by adding a few sites I want to allow cookies for, with all the other sites being rejected and me be prompted whenever a site wants to dnld a cookie. I think I understand all of the available settings, but I can't bet FF to keep the list of allowed websites from one session to another, and sometimes FF keeps their same immediately after I save them. I've never had a problem with FF3, but now I'm having this problem with FF4.

    You can't keep cookies if you run Firefox in private browsing mode.

    Private - browsing using Firefox without saving history all cookies are session cookies that expire if this session is over, so sites don't remember you.

  • where are bookmarks in files system for Firefox. I want to transferred bookmarks from one laptop to another.

    I would like to transre my favorites from one laptop to another life a flash drive. Can I do this with Firefox? If so where is the firefox, file system where the bookmarks are kept? Thank you

    Restore bookmarks from a backup or move them to another computer help? It may be a simpler solution that actually located the file Firefox stores bookmarks in.

    Firefox stores bookmarks in the places.sqlite file in the profile folder.

Maybe you are looking for

  • Export iPhoto and Finder-creates duplicates

    How can I prevent exporters from duplicates of photos version 1.5 to the Finder.  Since I upgraded to El Capitan 10.11.4 whenever I have export photos unmodified to the finder it sends a NEF format version and a version in the form of file JPEF.  The

  • CD/DVD drive reads all formats of DVD and regions

    HelloMy Teac-dw-224th-a bed not all formats DVD and regions.It reads CD but not DVD at all.No DVD - R and DVD not yet regular. I checked the DVD region.I reinstalled the driver and also tried with different software.What can I do?Help, please!

  • Yoga s1 - automatic rotation of images does not

    Hello I have 13 "yoga thinkpad that won't automatically turn in any mode, this macine is new and the auto rotation function has never worked. Thank you

  • My computer is running "Windows XP stop critique.wav" sound every 10 seconds.

    My computer is running "Windows XP stop critique.wav" sound every 10 seconds for the last 8 days.  Window XP SP3.  I spent 1-1/2 hours will dell workstation support and 1-1/2 hours with my computer work (shot as a favor to my personal computer) and t

  • How to get the image to display on the Blackberry screen URL

    Hi all I'm setting up a Blackberry java application. I have a url to the image... (as you can tell "http://www.christianfilmdatabase.com/wp-content/uploads/2013/06/Movies.jpg"). I get this image dynamically and display on my screen. ... How can I do