Can I use functional script as a load script ?

I'm wondering if there is any chance to use functional script that I did in openscript as a script for load testing? Is there any converter or something to do that ?
Thanks!

Hi Sudha,
While executing OLT scripts, all actions mentioned in script will be done. So we cannot say OLT scripts cannot use for functional testing.
But you cannot convert your OLT scripts to a OFT scripts. OLT scripts works on the basis of protocols and get/post methods.
Record a scenario in OLT as well as OFT and see the code view for the difference.
Regards,
Deepu M

Similar Messages

  • Can i use this script in illustrator?

    can i use this script in illustrator?
    Newsgroup_User

    // This script exports extended layer.bounds information to [psd_file_name].xml
    // by pattesdours
    function docCheck() {
        // ensure that there is at least one document open
        if (!documents.length) {
            alert('There are no documents open.');
            return; // quit
    docCheck();
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.PIXELS;
    var docRef = activeDocument;
    var docWidth = docRef.width.value;
    var docHeight = docRef.height.value;
    var mySourceFilePath = activeDocument.fullName.path + "/";
    //  Code to get layer index / descriptor
    cTID = function(s) { return app.charIDToTypeID(s); };
    sTID = function(s) { return app.stringIDToTypeID(s); };
    function getLayerDescriptor (doc, layer) {
        var ref = new ActionReference();
        ref.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        return executeActionGet(ref)
    function getLayerID(doc, layer) {
      var d = getLayerDescriptor(doc, layer);
      return d.getInteger(cTID('LyrI'));
    var stackorder = 0;
    // function from Xbytor to traverse all layers
    traverseLayers = function(doc, ftn, reverse) {
      function _traverse(doc, layers, ftn, reverse) {
        var ok = true;
        for (var i = 1; i <= layers.length && ok != false; i++) {
          var index = (reverse == true) ? layers.length-i : i - 1;
          var layer = layers[index];
          //  alert("layer.typename  >>> "+layer.typename ); 
          if (layer.typename == "LayerSet") {
            ok = _traverse(doc, layer.layers, ftn, reverse);
          } else {
      stackorder = stackorder + 1;
            ok = ftn(doc, layer, stackorder);
        return ok;
      return _traverse(doc, doc.layers, ftn, reverse);
    // create a string to hold the data
    var str ="";
    // class using a contructor
    function cLayer(doc, layer) {
    //this.layerID = Stdlib.getLayerID(doc, layer);
      this.layerID = getLayerID(doc, layer);
      //alert("layer ID: " + this.layerID);
      this.layerWidth = layer.bounds[2].value - layer.bounds[0].value;
          this.layerHeight = layer.bounds[3].value - layer.bounds[1].value;
      // these return object coordinates relative to canvas
          this.upperLeftX = layer.bounds[0].value;
          this.upperLeftY = layer.bounds[1].value;
          this.upperCenterX = this.layerWidth / 2 + layer.bounds[0].value;
          this.upperCenterY = layer.bounds[1].value;
          this.upperRightX = layer.bounds[2].value;
          this.upperRightY = layer.bounds[1].value;
          this.middleLeftX = layer.bounds[0].value;
          this.middleLeftY = this.layerHeight / 2 + layer.bounds[1].value;
          this.middleCenterX = this.layerWidth / 2 + layer.bounds[0].value;
          this.middleCenterY = this.layerHeight / 2 + layer.bounds[1].value;
          this.middleRightX = layer.bounds[2].value;
          this.middleRightY = this.layerHeight / 2 + layer.bounds[1].value;
          this.lowerLeftX = layer.bounds[0].value;
          this.lowerLeftY = layer.bounds[3].value;
          this.lowerCenterX = this.layerWidth / 2 + layer.bounds[0].value;
          this.lowerCenterY = layer.bounds[3].value;
          this.lowerRightX = layer.bounds[2].value;
          this.lowerRightY = layer.bounds[3].value;
       // I'm adding these for easier editing of flash symbol transformation point (outputs a 'x, y' format)
       // because I like to assign shortcut keys that use the numeric pad keyboard, like such:
       // 7 8 9
       // 4 5 6
       // 1 2 3
          var windowW=2048;
          var windowH=1536;
       this.leftBottom = this.lowerLeftX + ", " + (windowH-this.lowerLeftY);
       this.bottomCenter = this.lowerCenterX + ", " +  (windowH-this.lowerCenterY);
       this.rightBottom = this.lowerRightX + ", " + this.lowerRightY;
       this.leftCenter = this.middleLeftX + ", " + this.middleLeftY;
       this.center = this.middleCenterX + ", " + this.middleCenterY;
       this.rightCenter = this.middleRightX + ", " + this.middleRightY;
       this.leftTop = this.upperLeftX + ", " + this.upperLeftY;
       this.topCenter = this.upperCenterX + ", " + this.upperCenterY;
       this.rightTop = this.upperRightX + ", " + this.upperRightY;
      // these return object coordinates relative to layer bounds
          this.relUpperLeftX = layer.bounds[1].value - layer.bounds[1].value;
          this.relUpperLeftY =  layer.bounds[0].value - layer.bounds[0].value;
          this.relUpperCenterX = this.layerWidth / 2;
          this.relUpperCenterY = layer.bounds[0].value - layer.bounds[0].value;
          this.relUpperRightX = this.layerWidth;
          this.relUpperRightY = layer.bounds[0].value - layer.bounds[0].value;
          this.relMiddleLeftX = layer.bounds[1].value - layer.bounds[1].value;
          this.relMiddleLeftY = this.layerHeight / 2;
          this.relMiddleCenterX = this.layerWidth / 2;
          this.relMiddleCenterY = this.layerHeight / 2;
          this.relMiddleRightX = this.layerWidth;
      this.relMiddleRightY = this.layerHeight / 2;
          this.relLowerLeftX = layer.bounds[1].value - layer.bounds[1].value;
          this.relLowerLeftY = this.layerHeight;
          this.relLowerCenterX = this.layerWidth / 2;
      this.relLowerCenterY = this.layerHeight / 2;
          this.relLowerRightY = this.layerHeight;
          this.relLowerRightX = this.layerWidth;
          this.relLowerRightY = this.layerHeight;
      return this;
    // add header line
    str = "<psd filename=\"" + docRef.name + "\" path=\"" + mySourceFilePath + "\" width=\"" + docWidth + "\" height=\"" + docHeight + "\">\n";
    // now a function to collect the data
    var isParentAvailable=false;
    var prevLayerSetName="";
    function exportBounds(doc, layer, i) {
        var isVisible = layer.visible;
        var layerData = cLayer(doc, layer);
    //alert("layer.name  >>> "+layer.name );
    //alert("typename >>> "+layer.typename);
    /*if(layer.parent.name == "ParentTest"){
    for(var i in layer.parent){
        alert(" III >>> "+i+"<<<layer.parent>>"+layer.parent[i]);
      if(isVisible){
    // Layer object main coordinates relative to its active pixels
    var startStr="";
        if(layer.parent.typename=="LayerSet"){
            if(prevLayerSetName!="LayerSet")    {
                startStr="\t<parentlayer id='"+layer.parent.name+"'>\n\t";
            }else{
                   startStr="\t";
            // endStr="\t</parentlayer>\n";
             prevLayerSetName=layer.parent.typename;
          }else{
               if(prevLayerSetName=="LayerSet"){
                    startStr="\t</parentlayer>\n";
                prevLayerSetName="";
      var positionStr=layer.name.split(".")[0].substr(layer.name.split(".")[0].length-3,layer.name. split(".")[0].length);
      var assetPosition=leftTop;
      if(positionStr=="L_B"){
      assetPosition=leftBottom;
      }else if(positionStr=="B_C"){
      assetPosition=bottomCenter;
      }else if(positionStr=="R_B"){
      assetPosition=rightBottom;
      }else if(positionStr=="L_C"){
      assetPosition=leftCenter;
      }else if(positionStr=="C"){
      assetPosition=center;
      }else if(positionStr=="R_C"){
      assetPosition=rightCenter;
      }else if(positionStr=="L_T"){
      assetPosition=leftTop;
      }else if(positionStr=="T_C"){
      assetPosition=topCenter;
      }else if(positionStr=="R_T"){
      assetPosition=rightTop;
      var str2 =startStr+ "\t<layer name=\"" + layer.name
      + "\" stack=\"" + (i - 1) // order in which layers are stacked, starting with zero for the bottom-most layer
      + "\" position=\"" + assetPosition // this is the
      + "\" layerwidth=\"" + layerData.layerWidth
      + "\" layerheight=\"" + layerData.layerHeight
      + "\" transformpoint=\"" + "center" + "\">" // hard-coding 'center' as the default transformation point
      + layer.name + ".png" + "</layer>\n" // I have to put some content here otherwise sometimes tags are ignored
    str += str2.toString();
    // call X's function using the one above
    traverseLayers(app.activeDocument, exportBounds, true);
    // Use this to export XML file to same directory where PSD file is located
        var mySourceFilePath = activeDocument.fullName.path + "/";
    // create a reference to a file for output
        var csvFile = new File(mySourceFilePath.toString().match(/([^\.]+)/)[1] + app.activeDocument.name.match(/([^\.]+)/)[1] + ".xml");
    // open the file, write the data, then close the file
    csvFile.open('w');
    csvFile.writeln(str + "</psd>");
    csvFile.close();
    preferences.rulerUnits = originalRulerUnits;
    // Confirm that operation has completed
    alert("Operation Complete!" + "\n" + "Layer coordinates were successfully exported to:" + "\n" + "\n" + mySourceFilePath.toString().match(/([^\.]+)/)[1] + app.activeDocument.name.match(/([^\.]+)/)[1] + ".xml");

  • Can we use Java Script in SAP BusinessObjects Web Intelligence 4.1?

    Can we use Java Script or any other Script in BI 4.1 Web Intelligence? If possible please do let me know the method/process

    Hi Kranthi,
    You have option to read a cell content as html. else you will have to go for SDK. I think you will get better suggestions, if you can explain your requirement in a little detailed manner.
    refer below links for more details about SDK.
    http://bukhantsov.org/2013/04/how-to-create-a-webi-document-using-java-report-engine-sdk/
    Regards,
    Nikhil Joy

  • Can I use Apple Script to press a button?

    Is there some way I can create an Apple Script to run and press a button in another application, or create a "plug-in" type script for the program to make the button into a something that can be used by a keyboard shortcut?
    I ask because I have an application that I can use to operate my digital camera, however, the button that Auto-Focuses then Shoots a photo does not have a keyboard shortcut. This is a problem because I also have the App "Snatch" on my iPhone, and, long story, short, I discovered I could use Snatch on my laptop on an Ad-Hoc network from about 1,000 feet away, maybe more. If I could find a way of making the "AF and Shoot" button into a keyboard shortcut, or create a script that could be triggered by a keyboard shortcut to press the button, I could use Snatch to control my camera remotely, far better then any part I would by from Nikon, or a third-party (Trust me, I have used a lot of them, and this method beats them all, save for the fact that I can't use bulb.)
    Anyway, thanks for any input, if any.

    Even if an application is not scriptable, you can generally use [GUI Scripting|http://www.macosxautomation.com/applescript/uiscripting/index.html] to press a button. For example, using Canon's RemoteCapture DC software, the script below will press the "Release" button of the main window:
    tell application "RemoteCapture DC" to activate
    tell application "System Events"
    tell process "RemoteCapture DC"
    click button 4 of window "RemoteCapture DC"
    end tell
    end tell
    If you then put the above script in the AppleScript menu in the menu bar, you should be able to use a third party application, like Quicksilver, to assign a keyboard shortcut to it.
    Message was edited by: Pierre L.

  • Can't use function in creating record group

    Gurus,
    This question is for developers. Is this true one can't use
    function in creating record group. I am using form5.
    thanks,
    ZW

    I figured out the issue... they changed the way Group Calls are limited.
    Here's a full explaination - and a suggestion for a behavior fix: http://community.skype.com/t5/Windows-desktop-client/Please-Fix-Group-Video-Voice-Calling-Limit-Beha...
    Long story short, you can't do a video calling at all if the group has more than 10 people in it total (including you).
    Also, you can't do voice calling in groups with more than 25 people.
    Text chats are limited to 300 people (or so I've been told by Skype employees). I've been in a chat with over 100 participants though so I know it goes that high at least.

  • If your database in Full Recovery mode, can you use Bulk Insert Task to load data

    If your database in Full Recovery mode, can you use Bulk Insert Task to load data

    If your database in Full Recovery mode, can you use Bulk Insert Task to load data
    Yes you can ofourse but dont be in idea that logging will be mininal. Loggign will be as per recovery model full. Every thing will be logged. If you are going to use bulk insert task you can consider switching recovery model to Bulk logged but you will not
    have option to do point in time recovery.
    PS: please dont create duplicate threads
    If you read first Note section in below link it clearly states that yes logging will be full and you can use
    http://technet.microsoft.com/en-us/library/ms191244(v=sql.105).aspx
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • How can I using functions implicit in dll file in java code ?

    How can I using functions implicit in dll file in java code ?
    I'm developing a program that interfacing with fingerprint hardware.
    I have the finger print already, and I have to the SDK that have all functions for managing this fingerprint.
    These SDK functions are represented in dll files.
    I want to know how can I use these functions in java code .
    I looked on this link of sun forums :
    http://forum.java.sun.com/thread.jspa?threadID=305171&messageID=1215613
    but I don't Understand the meaning of native code.
    Thanks for help.

    please please please please please please please please help me:
    After reading a lot of articles, tutorials, and overviews about JNI (Java Native Interface)
    I found that these steps
    1.     Develop the Java code
    2.     Compile the Java code to a class file
    3.     Generate the header file
    4.     Implement the native method
    5.     Create the shared library or DLL
    6.     Run the Java program
    Is the common steps in JNI development
    The most powerful link was
    http://java.sun.com/docs/books/jni/html/start.html
    and
    http://www.netbeans.org/kb/55/beginning-jni-part2.html
    and the pdf oh this link
    http://www.ibm.com/developerworks/edu/j-dw-javajni-i.html requiring IBM registration to download it.
    But I have already the DLL, and want to the stright forward way to use its functions by java code only.
    I don not to write any C++ code .
    Is this possible???????????????????????????????
    The name of these dll is �zkemsdk.dll�
    It developed by ZKSOFTWARE company for managing a finger print �NP1500A�of
    http://www.napcogulfsecurity.com/finger_print.asp
    thanks for help

  • How can I use bookmark script to deselct sidebar option by default?

    I am trying to include a User Friendly 1-Click link on my site to automatically bookmark a page.
    Using the Ultimate Bookmark script this works fine in IE, but when the bookmarking window pops up it always has the "Load this bookmark in the sidebar" option pre-checked by default.
    When testing the script I missed that point & took me quite a while to figure out what had gone wrong.
    The thing is that while I may be fairly Computer Savvy, it must be be assumed that the vast majority of the visitors to the site are not, so what I want is to be able to deselect the Sidebar option by default, allowing the user to select it, should they want it.
    Can I use a simple snippet of code in order to facilitate this?

    Those page javascripts for "Bookmark this Page" either don't work for Firefox or automatically "check" the "Load this bookmark in the Sidebar" in Firefox (and other Gecko based browsers). A Bug was filed 10 or 11 years ago to address that "Load ... bookmark ... Sidebar" issue, but it was closed with WONTFIX. The developers feel that "fixing" that feature might create a potential exploit for Firefox users.
    Best thing to do is under that "button" for other browsers, is put text along the lines of "Firefox users can Bookmark this Page using the Star or with Ctrl + D."

  • Which Java packages can be used in Script processors and where/how to customise EDQ

    The online help for the Script processor shows an example using java.util:
    output1 = java.util.UUID.randomUUID().toString()
    but are there any other packages that can be used?
    The background to this question is that we'd like to know whether it might be possible to call a web service from an EDQ process - would this possible through scripting, by creating a new processor or through some other customisation.
    More fundamentally is there anything explaining where and how 'native' EDQ (i.e. not additional packs like the Customer Data Services Pack) can be customised and for what typical purposes.
    Thanks, Nik

    Hi,
    Yes it is possible to call web services from script. Others will likely help with examples of how to do this.
    For more information about extending EDQ, see the topic 'Extending EDQ' in the online help.
    There is also a full guide to the processor library in the online help.
    Regards,
    Mike

  • Can I use function "HS.NODE.METHOD" in Calc type?

    Can I use this statement in "Sub Calculation"?
         IF HS.NODE.METHOD("") = "EQUITY35" THEN
         END IF
    I try to use it but when I run consolidation, it's always show "aborted"
    Thanks in advance
    Refer to Administrator's Guide:
    Method
    Gets the consolidation method for the specified member. If there is more than one non-zero
    value, the system returns the first one found. This function can be used in these types of rules:
    l Calculation
    l Translation
    l Consolidation
    l Allocation
    Syntax
    HS.Node.Method("POVExpression")
    where POVExpression is a combination of Scenario. Year, Period, and Entity members.
    Return Value
    A String that specifies the consolidation method for the specified point of view.
    Example
    In this example, if the method for the point of view is GLOBAL, then statements between the
    If...Then and End If statements are executed.
    If HS.Node.Method("S#Actual"."Y#2009"."P#January". "E#Regional.Connecticut") = "GLOBAL"
    Then
    End If

    Hi,
    Please see the below link for the rules functions.
    http://docs.oracle.com/cd/E17236_01/epm.1112/hfm_admin.pdf
    And also the following KM IDs, might be helpful as well.
    Financial Management Rule Function Hs.Node.Isbase Returns True Even When the Entity is Inactive (Doc ID 1330580.1)
    Hs.Node.Method() generates "Expected Identifier" Error (Doc ID 1274123.1)
    Hope this helps,
    Thank you,
    Charles Babu J
    Edited by: CJX on Dec 14, 2011 1:40 AM

  • Installed itunes 10.5 and now can't use function keys on my keyboard

    I just downloaded iTunes 10.5.0.142 and I now can't use the function keys on my keyboards to change track, pause etc. Is anyone else having this problem? Also, why is it now ctrl+shift+m to switch to mini player? Ctrl+m doesn't do anything now

    Yeah I agree the white keyboard was clunky, I dont really miss it. The problem is you can't just use the new lighter keyboards with the white imacs bc the operating system is outdated. The apple store told me I needed to upgrade my operating system and it would cost me 170 dollars, which I found incredulous.
    I dont think its due to an app running or an expose issue, thanks for your responses.
    aghhhh maybe ill have to buy an old crusty one on ebay. why the heck would apple not make a compatible keyboard for their 3 year old computer anymore, WHYYYYYY???!!!

  • Can I use "apple script" to auto input xml file to final cut pro and auto export mp4 file?

    Now, I'v a lot of  final cut pro x 's xml, I want to use ""apple script" or other method to auto input xml and output mp4 in final cut pro x . How can I finish it?

    Where did the XML come from? What did it consist of?

  • Can you use an image button to load a CFWINDOW?

    Is it possible to use an image to open a cfwindow instead of
    a regular button input type?

    All I had to do was to use a regular link instead of using
    the input tag. This is because the OnClick event can be used in a
    input that has a type of button and on regular "<a href..."
    links. However, you cannot use the onClick when you have an input
    type of image.

  • Can i use java scripts in d2k forms and reports

    Good day all,
    Can i use the above said, if yes any assistance or eg.
    thanks in advance.

    Hi,
    The appropriate Forum for this question would be
    Forms
    (Forums Home » Oracle Technology Network (OTN) » Products » Developer Suite » Forms)
    Thanks
    Vineet

  • Can i use Functions in Header/Footer ( want to have pagewise totals) - Urgent

    hi there,
    I want to show pagewise totals. is it possible to use functions (sum,count etc.) in the Header / footer of a workbook ? Otherwise, pls. suggest a workaround is possible.
    I am using Discoverer Ver. 4.1.37.00.0 Desktop edition.
    Thanx,
    Rajesh.

    EDIT: I notice I am giving instructions for Numbers 3.0 but the OP may have Number '09.  Same ideas apply but the instructions are not quite the same.
    Depends on which axis.  I do not know your expertise level so I may explain some things you already know.
    To change the Y axis scale, select the chart and go to the axis tab in the format sidebar. Click on Y Axis. Put in your minimum and maximum values for the "scale". Then choose the numer of "steps" for the Y axis.
    For the X Axis:
    Most charts are "category" charts.  That is, on the chart the X Axis data is evenly spaced. The X Axis data could be numbers it could be text, it doesn't matter, it is evenly spaced across the bottom.  For these charts, there is no changing the X axis scale; the question itself doesn't make any sense. The X axis data is typically put into a header column/row (as you have noticed).
    There is one chart type, the Scatter Chart, that has a scalable X axis. It makes a true X-Y chart. The scaling for the X axis is done the same way as the Y axis.  Note that for a scatter chart, the X axis data cannot be in a header row/column.

Maybe you are looking for

  • Cannot add users to roles

    I have configured OpenLDAP data store with Access Manager. I can see the users added in LDAP in the Subjects tab of Access Manager, but when I create a role ad try to add users in the role I get the exception Plug-in com.sun.identity.idm.plugins.file

  • How to use the One-to-One mapping in Java Code

    Dear all: I have set the direct mapping and named query, and have written web service of login. I can login successfully. Now,I want learning about One-to-One mapping. I have setting the One-to-One mapping, then what can I do latter? I do not found a

  • Web Dynpro SessionExpiredLongJumpException

    Hello! I have a simple web dynpro that I am using in a GP. It contacts a backend SAP R/3 system to retrieve details of a material based on a number that a user enters. Whenever I initiate the WD, I get the following exception - Processing HTTP reques

  • Netbeans 6.1 won't use customized cursor .

    Hi , Have you guys tried the Netbeans 6.1 ?  If you have ever used netbeans ,you know what I am talking about. I wonder if anyone has encountered the same problem . when I expand the tree node in the project window or file window , the cursor changed

  • ARCH run MS office 2010 issue

    hi all i follow steps of wiki to install ms office 2010 on my arch properly but there are something wrong happen 1.everytime i start office, it try to initial and tell me system needed to reboot(you just need to clike 'NO') 2.now i office works, but