Using two databank files in a single script

The guy that created the scripts I'm using before I took over created a databank to create a random string of numbers to populate a field on our web site. But now I am using another databank to populate from a list all the other fields on our site. Is there a way in VB to populate a parameter value so I acn use the first databank file or to use two databanks in one script?

Hi,
With eTester it is only possible to use ONE Databank file...
-but you can also use VBA to populate parameters/input fields...
so either you have to merge your databank files OR you have to use some VBA to read data from the second file...and enter this through programming into your script.
if you want to write a string to a input field..
you could for example do the following in VBA.
On Error GoTo ERRLBL
Dim element As HTMLTableCell
Dim valueStr As String
'get the input field you wana interact with
RSWApp.om.GetElementByPath "window(index=0).Tag[TD](index=29)", element
If element Is Nothing Then
errDescription = "html object not found!"
errNumber = -1
Exit Sub
End If
'WRITE something to a input field...
element.innerText="what ever text or value you want...could also be a variable"
errDescription = ""
errNumber = 0
Exit Sub
ERRLBL:
errDescription = Err.Description
errNumber = Err.Number
hope it helps
/m
Message was edited by: mfries

Similar Messages

  • Can we Concatinate two XML files to a single output?

    I was stuck up with one scenario where I am getting a XML file output from a File Adapter say x1.
    And another XML file output say x2 from other adapter. Now I want to club this two XML files into a single output where it should contain the contents of x1 and x2
    When I am doing the Transformation I am getting the two files in the output folder but I want single file as output. Is it possible with ESB? If so Please suggest.
    --Chandra                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Chandra,
    Maybe the enrichment interaction scenario would work in your case.
    My colleague Lucas Jellema wrote a blog post on it: http://technology.amis.nl/blog/?p=1464.
    Or putting the same in a larger perspective: http://www.oracle.com/technology/pub/articles/jellema-esb.html.
    Hth,
    Sjoerd

  • Can i use two iphone user for a single apple ID to download apps from iTunes?

    can i use two different iphone for a single apple ID to download apps from iTunes?

    You can use as many iPhones as you want, there is no limit to the number of devices that can sync to an iTunes account.

  • MAXL - using multiple Dimension build rules in single script...

    I seem to be having problems running multiple Dimension build rules in a single MAXL script, is this a known problem or just an issue that I'm having? The build rules independently work as designed but when joined into a single script the script hangs...
    So, this is a 2 part question...
    1) Does MAXL not play nice when using multiple Dimension load rules in a single script?
    2) Do I need to run the build rules independent of each other?
    Also, is there some type of refresh/update on the cube that you can use in the script and would it be necessary...?
    Thanks for any light you can shed on the issue.
    Adam,

    I've written multiple dimension build statements as a part of 1 long MaxL statement. I'm executing this MaxL via a shell script (that replaces the variables such as username, password, servername, file path etc.) I've not seen any issues doing so.
    However, I've noted that, number of imports statements in 1 single MaxL command does not bode well for more than *60* import statements at once. So, if you're using more than 60 source files to build your dimensions, please consider breaking up your MaxL into multiple statements.
    Note: All but last of the import statements have 'deferred' re-structure specified. It speeds up the build process.

  • How to cretae two flat file with a single program

    Hi All,
    I am trying to creating to two files on the application server using the open data set and close data.
    lets say the first file is file1 and second file is file2. but when i go to the Tcode AL11 and check the file only second file is appears there.
    its may be coz i m using two times this open data and close data in my program.
    can u tell help me howz these two file is appears on the application server i.e AL11.
    its very urgent pls help me.
    Thanks!
    Vipin

    Hi Do one thing,
    Start ur program in debugging mode complete first open data set and close data set and then go and chekc whehter the file got created or not and also check the sy-subrc values when u r doing ur open data set.
    if the first file is not done then no file will be in AL11 including ur new file name.
    In this way you can find whether the file got created or not.
    check that u r giving differnet file names fifferently otherwise it will be keep on overwriting the existing one.
    Regards,
    sasi

  • I am not able to use two backing files in same portal page

    hi to all
    i am using backing files in remote portlet.
    but i have two portlets in my portal page and in both i need to use backing files. i used seperate backing files for both the portlets but only one works at a time.
    please help me out frnds..
    did this happening because of same object MarkupRequestState.KEY..... following is code that i am using. similar code used for another portlet, just a change of state varible and parameter variable
    am i missing something?
    package backempno;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import com.bea.netuix.servlets.controls.content.backing.AbstractJspBacking;
    import com.bea.wsrp.ext.holders.MarkupRequestState;
    import com.bea.wsrp.ext.holders.SimpleStateHolder;
    public class sendempno extends AbstractJspBacking
    public boolean preRender(HttpServletRequest request,HttpServletResponse response)
    SimpleStateHolder state2 = new SimpleStateHolder();
    String empno=request.getParameter("empno");
    state2.addParameter("empno",empno);
    request.setAttribute(MarkupRequestState.KEY, state2);
    return true;
    }

    Hi Susan,
    In that case I will recommend that you consult a local technician/IT team and see if there is some network connectivity issue with your machine.
    - Abhishek Maurya

  • It is possible to use two different accounts with a single Windows PC?

    My wife and I use two personal iPhone 5, with two different appleID. At home we only have a windows 7 PC connected via iCloud with my iPhone 5 and my iPad (with the same appleID). I wish I could also connected the iPhone 5 to my wife, but i can't do it! It is possible? If it is, how should I do? I installed the program iCloud accepts only one appleID...
    Thank you in advance who can help me!

    Setup 2 user accounts on your PC, one for your wife and one for you. Enter the relevant Apple ID into each user user account.

  • Re: How to merge two video files in a single file.

    If you want to get just sequence of two files, so you can use http://java.sun.com/products/java-media/jmf/2.1.1/solutions/Concat.html I suppose.
    Or some for merging on http://java.sun.com/products/java-media/jmf/2.1.1/solutions/

    Hi watergad,
    ThX good help!
    NeuralC

  • USMT Migration Questions (Should I use two Config files?)

    I am currently running System Center Config Manager at my workplace. We have integrated MDT and are running a UDI on all of our PXE deployments.
    I have a ton of MDT Task Sequences that use the UDI and I have started looking into USMT.
    Currently we are backing up the data manually before we wish to do a re-install and moving this data back across after the installation is finished, though we wish to streamline this operation.
    We currently back up our data to a local share (\BACKUPNAS\USMT) and once done move the contents of the folder we create back to the desktop and separate our the other files like Docs back to Docs and so forth.
    I wish to have a similar setup with USMT. I need to backup the entire drive and then move the entire backup onto %SYSTEMDRIVE% once completed, during this time USMT can happily move docs to docs, videos to videos and so on.
    To do this should I split the USMT files into two? One for backing up and one for restoring?

    You don't have to split the XML files in two pieces to differentiate between capture and restore. Also, this should get you started:
    https://technet.microsoft.com/en-us/library/hh824928.aspx
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Use two different table in a single alv

    hi all , i m working on zproggram but in display i have a problem that i have data in two int table which do not have common field,i m using  fm REUSE_ALV_BLOCK_LIST_APPEND  and 'REUSE_ALV_BLOCK_LIST_DISPLAY but it is displaying data in this format
    matnr  demand dispatch_ quant   balance
    721008 2000     1000                   1000.
    pdc mc paint fg
    50  80   80   80
    but i want it should come into single coloum  for eg in this format
    matnr    demand   dispatch_ quant   balance  pdc mc paint fg
    721008   2000       1000                   1000.    50   80   80    80
    can anybody help please.
    points will be rewarded surely
    721008 2000     1000                   1000.

    Hi Sarabjit,
    In normal ALV, i dont think it is possible to display two internal tables side by side.....one way is you can club both the internal tables into one internal table (By introducing common fields).
    If not i think using OOPS ALV, with help of containers you can acheive this functionality..
    Best Regards,
    Ram.

  • How to use two different fonts in a single label?

    Hello all,
    Is there any way to use font of 2 different size and color for a single label?
    Looking for a quick replies from you.
    Regards,
    Obaid

    No. One label, one font, size and color.

  • How to use two ALV grids in a single program (pl read below for details)?

    Please read thoroughly::
    I have an ALV report using REUSE_ALV_GRID_DISPLAY.
    On the output of this report, when I click on a "change" button, a couple of columns should be made editable.
    I achieved this by modifying the fieldcatalog and triggering the output with another REUSE_ALV_GRID_DISPLAY.
    When I click on the back button of this second report, it is still taking me to the first one.
    How to over come this?
    Note:
    I used custom containers etc but the default buttons on the container are not controllable. I added custom buttons but could not suppress the default ones. So I did not pursue this much even though this is more comfortable to use.
    I am not able to get into the code in debug to see how the default buttons like COPY, INSERT ROW etc are working.
    Can any body throw some inputs into this?
    Thanks,
    Ven.

    >I achieved this by modifying the fieldcatalog and triggering the >output with another REUSE_ALV_GRID_DISPLAY.
    >When I click on the back button of this second report, it is still >taking me to the first one.
    >How to over come this?
    For this there is a solution
    i am thinking you are using user_command and calling the second time ALV Grid if so check this.
    form user_command using r_ucomm type sy-ucomm selfield type slis_selfield.
    case r_ucomm.
    when 'CHANGE'.
    selfield-exit = 'X'.   "use this , this will solve the problem
    "i hope you are calling the Function here
    endform.

  • Is it possible to use two context nodes in a single table view?

    Hi all,
    I have a window context node which is mapped to a dictionary structure. I have created a second node which contains some texts. I've mapped both nodes with the context  of a view. In this view I have created a table which shows lines of the first node (the one mapped to a dictionary structure). What I want is to show some text from the second node in a column of the table.
    Both of the nodes are populated upon initialization of the window. And they have a 1:1 mapping. (i.e the first line of the second node has some text for the first line of the first node ) . When the table is displayed what I get is the first line of the second node for all the lines of the first node. How can I change that? How can I make the second (text) node show the relevant text of the relevant line?

    HI
    You can make it work by using the logic of populating the node itself with modified values.
    i.e. during the population of the first node populate the text with the text from the second node by looping through its elements
    one by one.
    node 1  -- during its population or may be after its population loop though its elements and modify the value of text
    with the proper value taken from the corresponding value of text from the corresponding element of node 2.
    thanks
    sarbjeet singh

  • How to use two JS attributes in the single column

    Hi friends,
    I have a tabular form. In that for the one of the column i need to display the content of that column in the right justified manner and for that i have given the below code in the element attributes of the column
    style="text-align:right;"The above is working fine as i can able to print the content in the right justified.
    In that same column i need to receive a calculated value and this value only needs to be printed in the right justified manner.
    For that i have created a function in the javascript and called that function in the element attributes of that column like
    onfocus="calculateNet(this);"But how i can able to call both codings in the same element attribute in the tabular column.
    i tried by giving like specifying comma in between the two, but none of it is firing, what may be the problem and how i can able to give the two in the same element attribute section of the column in tabular form.
    Brgds,
    Mini

    Hi dirk,
    Thanks it worked well.
    I have one question for you in the tabular form.
    i have totally 10 columns in my tabular form, in that 9 column is of database column and only one column is non-database column, while updating the row in the tabular form it is throwing the below error like
    Current version of data in database has changed since user initiated update process. current row version identifier = "A0FD649E5A28DF9244990A3B9368298A" application row version identifier = "44CE02A233595BCA6F7D4A140BD4DF30" (Row 1)I thought the above error is due to the existence of non-database column in my tabular form. Is there any way to solve this issue. I need to have a non-database column in my tabular form but the presence of that column is not allowing to perform update in that tabular form.
    how to get rid of this issue dirk.
    Any ideas??
    Brgds,
    Mini

  • How to compose two gif files into a single gif file?

    pls give me the direction , should i use the classes in swing or someone else?

    hello,
    this reply might be abit off but iam not sure about this in java but in c++ you can use the ImageProcessing library to do this.
    asrar

Maybe you are looking for