Problem using SwfToolbar options in UFT 12.01

We are trying to automate a .net based windows application. We are using UFT 12.01 with .NET ad in loaded
We are having a problem using the swftoolbar options .  In our application all the right click menus are identified as swftoolbars and context menus
This is the code we used to add a media item which gives rise to a  dialogue box in our application
SwfWindow(...).SwfToolbar(....).Press "Add New Media"
when we use “ .press” or “.select” operator for any option present in the right click menu, UFT hangs after performing the operation and we have to manually close the dialogue box every time it appears  in order to make UFT run again.
We have also tried the following ways but can’t find a way to solve it
Using select operator:
SwfWindow(...).SwfToolbar(....).select "Add New Media"
Getting the option in a variable and selecting it:
Var1= SwfWindow(...).SwfToolbar(....).GetItem(0)
SwfWindow(...).SwfToolbar(....).Press Var1
We have also tried using descriptive programming but it didn’t worked out.
We tried using the shortcuts for the right click menu options and it works perfect.
Our application contains a lot of such type of right click options and context menu options, so we can’t rely on shortcuts for every option
It would be a great help for us if u can give us a solution for this problem

I'm just facing exactly the same issue - we try to migrate our .net application probes to UFT 12.01 - but the swfObjects are not recognized. Even if i try to start a new probe with this application, UFT does not start to recognize the Objects as swfObjects.
Anybody knows how to get this fixed?

Similar Messages

  • Problem using select-options?

    Hi all,
    I am using select-options, in this 3 are selectoptions and 1 is normal.
    i am getting select-option value using..
    *cust code
      rt_KUNNR = wd_this->m_sel_opt->get_range_table_of_sel_field(
                                 i_id = 'KUNNR' ).
    but which method i ahve to use to get normal which is not of select-options.
    i am doing like this...
    *cust code
      rt_YEAR = wd_this->m_sel_opt->get_range_table_of_sel_field(
                                 i_id = 'GJAHR'
                                  ).  // I think this method is wrong place i used.
      assign rt_YEAR->* to <fs_GJAHR>.
      move <fs_GJAHR> to F_YEAR.
    *cust code
      rt_KUNNR = wd_this->m_sel_opt->get_range_table_of_sel_field(
                                 i_id = 'KUNNR' ).
      assign rt_KUNNR->* to <fs_kunnr>.
      clear S_KUNNR.
      loop at <fs_kunnr> into S_KUNNR.
        wa_kunnr-sign   = S_KUNNR-sign.
        wa_kunnr-option = S_KUNNR-option.
        wa_kunnr-low    = S_KUNNR-low.
        wa_kunnr-high   = S_KUNNR-high.
        append wa_kunnr to it_kunnr.
      endloop.
    But it is giving dump.. Field symbol has not yet been assigned.  at kunnr. but kunnar is select-option.
    Any helps...
    Thanks
    venkat.

    Hi Lekha
    thanks for your reply,
    i tried this...
    data : rt_YEAR TYPE REF TO data,
             <fs_gjahr> TYPE table,
             fs_year TYPE TABLE OF FYAC. // Fiscal year only year(4).
    call method wd_this->m_sel_opt->GET_SELECTION_FIELD(
                                 EXPORTING
                                 i_id = 'GJAHR'
                                 IMPORTING
                                 ET_RESULT =  rt_YEAR ).
      assign rt_YEAR->* to <fs_gjahr>.
      move <fs_gjahr> to fs_year.
    rt_year is still initial, and getting dum field symbol is not assigned. any helps???
    Thanks,
    Venkat.

  • Problem using SELECT-OPTIONS in an InfoSet with a field of data type UNIT.

    I have created a simple InfoSet that links MARA with MARM. In the 'Selections' section of the InfoSet I have a variable named 'ZMEINH' defined as
    Description: UOM
    Selection Text: UOM
    Format FOR: MARM-MEINH
               EXTRAS: DEFAULT 'PAC' OPTION EQ SIGN I.
    When I ran a query to allow selections on the MEINH field, instead of 'PAC' being the default, there was "***" showing in the UOM selection and if I attempted to execute the query it gave me a message that "Unit *** is not created in languague EN'.  If I overide the "***" and enter 'PAC', I get the list of records that I expect.
    I assume this is because MEINH has a data type of "UNIT".
    How can I do a conversion so I can define a default value 'PAC' for MARM-MEINH in the infoSet that will carry through to any queries I created.
    Thank you very much for any help.
    Richard Salisbury

    Thank you both for you help!
    In our T006 there actually is a PAC and not a PAK. The T006A had as DE-PAK though.
    I had this same type of language problem when trying to match an "order type". German is the "base" language in our system so maybe that means that raw data is stored with the German constant?
    Anyway, I changed it to PAK and it works. When under a time schedule, that is what counts.
    Thank you again for the quick response!
    Richard Salisbury

  • Control Break problem (using format option in the report)

    I am trying to create control break on one of my reports. I am grouping query by 3 columns and I am trying to create control break but one of the column is not available for the control break (is not listed there).
    Any Idea why this my happen?
    Edited by: robik on Jun 23, 2012 9:08 AM

    robik,
    Try adding an Order By clause to your SQL.
    Jeff

  • Since I installed Nero 2104 I get an error message when I try to start iTunes: registry settings changed probably due to other cd/dvd burning program please reinstall iTunes, which I've done using repair option but the problem persists...?

    Since I installed Nero 2014 I get an error message when I start iTunes that registry settings for importing and burning cds/dvds have changed probably due to other burning software installed please reinstall iTunes, which I've done using 'repair' option, but the problem persists. I have been able to import cds to iTunes since I installed Nero, but it won't anymore. Does anyone recognize this problem and have a solution? Thanks for any help. Using Windows 7.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes
    If you're still getting the error message (especially when you plug in the Touch), I'd check for a device filter confusion on the PC. (They can affect the connection of USB devices to a PC, as well as burning and importing CDs.) For that one, see:
    iTunes for Windows: Troubleshooting CD issues caused by device filters

  • Problem in reports 6i  while using delimiter option.

    Hi,
    I am facing problem in report writer while using delimiter option.
    Report summary
    ==============
    In my report I am having two queries in data model and two different repeating frame for each in layout.
    These quires are called based on the user parameter. That means if user parameter is 1 then query 1 is called and the report is kick off and same for query 2 when user parameter is 2).
    Problem Encountered
    =================
    Both these reports are running fine while using pdf option to generate report .
    While using delimiter option only one of the query is able to generate report (based on which ever is created first and rest will give 0 byte file).
    I have also trapped it while using messages and it is logically flowing fine.
    I think report writer does not support such scenario.
    please expedite on this.
    thankx
    peyush

    Hi,
    There are no such limitations with Reports. If I understand properly, you run the Report twice, in each run, you are trying to execute different query, and you generate two dilimited Reports output files? This should work fine. Try out the latest Reports 6i patch-10 for this. You can even approach Oracle Support with your testcase. FYI, with Reports 6i patch-11, a new feature "dlimited data" is introduced which will give delimited output with a data dump i.e it would not be dependent upon the Reports layout. You can probably try out this new feature also.
    Thanks,
    Rohit Hi Rohit,
    Thanks for the information.
    well I am generating single output file on each run .
    the problem is somewhat funny.
    I have build query2 in data model after query1.
    query 1 is giving me correct output both in .PDF and delimiter version.
    But query2 is giving me 0 byte file for delimiter version although in .PDF it is running fine.
    When I took out query2 to another module it is running fine for both.
    I hope this make sense.
    Moreover if u still not clear about the problem and thinks that u can help me out please send me ur mail id so that I can send you the RDF copy.
    Thanks
    Mohit...

  • Problems using "Generate Javadoc" option in JDeveloper 9.0.2.822

    I am trying to generate Java Docs from JDeveloper. I selected "Generate Javadoc" option, which is under "Tools" menu option. After I select the required package & click OK, a command window opens but closes immediately. I am unable to generate Java Documentation for my packages using this option. What could be the problem ? Is there a workaround ?
    Thanks !
    Archana

    Eliseo,
    From your description it sounds like you have only set the properties for the Javadoc. To actually generate Javadoc, you need to select your project node, invoke the context menu and choose 'Generate Javadoc'.
    Thanks,
    Lisa Sherriff
    JDev QA

  • Problem with table-indexes when using select-options in select

    Hello experts,
    is it right that table-indexes will not be used if you take select-options to select data from the database?
    in detail:
    i have build up an table-index for one of our db-tables and test it via an test-programm. The first test with '=' comparisons worked fine. Every key of the index was used; checked via ST05!
    e.g.:    SELECT * FROM TABLEA INTO ITAB WHERE keya = '1' AND keyb = '2' AND keyc = '3'.
    Now i startet the test with select-options
    e.g.:   SELECT * FROM TABLEA INTO ITAB WHERE keya IN seltabA  AND keyb IN seltabB AND keyc IN seltabC.
    First of all i just filled the seltabs with only 1 value:    eg:  seltabA=      SIGN = 'I'   OPTION = 'EQ'   LOW = '1'     etc.
    Everything worked fine. Every key of the index was used.
    But now, I putted more than one entries in the seltabs e.g.
    seltabA:      SIGN = 'I'   OPTION = 'EQ'   LOW = '1'
                       SIGN = 'I'   OPTION = 'EQ'   LOW = '2'   
                       SIGN = 'I'   OPTION = 'EQ'   LOW = '3'
    From now on, the indexed was not used completely (with all keys).
    Isn't that strange? How can i use select-options or sel-ranges with using the complete table-indexes?
    Thanks a lot,
    Marcel

    Hi Hermann,
    i hope this helps:
    this is the first one, which uses the complete index:
    SELECT                                                                     
      "KOWID" , "LIFNR" , "KLPOS" , "ORGID" , "KOART" , "MATNR" , "GLTVON" ,   
      "GLTBIS" , "WERT" , "ABLIF" , "FAKIV" , "AENAM" , "AEDAT" , "AFORM" ,    
      "HERSTELLER" , "ARTGRP" , "OE_FREITXT" , "ARTFREITEXT" , "STATUS" ,      
      "TERDAT"                                                                 
    FROM                                                                       
      "/dbcon/01_con"                                                       
    WHERE                                                                      
      "MANDT" = ? AND "LIFNR" = ? AND "ORGID" = ? AND "KOART_BASIS" = ? AND    
      "STATUS" = ? AND "GEWAEHR_KOWID" < ? AND ( "STATUS" = ? OR "STATUS" = ? OR
      "STATUS" = ? )  WITH UR                 
    RESULT: 5 IXSCAN /dbcon/01_con05 #key columns:  4
    And the second one, which does not use the complete index! The 3 ranges are filled each with 2 values. Remember; when i fill them each with only one value, the result is the same as you can see above(/dbcon/01_con05 #key columns:  4):
    SELECT                                                                     
      "KOWID" , "LIFNR" , "KLPOS" , "ORGID" , "KOART" , "MATNR" , "GLTVON" ,   
      "GLTBIS" , "WERT" , "ABLIF" , "FAKIV" , "AENAM" , "AEDAT" , "AFORM" ,    
      "HERSTELLER" , "ARTGRP" , "OE_FREITXT" , "ARTFREITEXT" , "STATUS" ,      
      "TERDAT"                                                                 
    FROM                                                                       
      "/dbcon/01_con"                                                       
    WHERE                                                                      
      "MANDT" = ? AND "LIFNR" IN ( ? , ? ) AND "ORGID" IN ( ? , ? ) AND        
      "KOART_BASIS" IN ( ? , ? ) AND "GEWAEHR_KOWID" < ? AND ( "STATUS" = ? OR 
      "STATUS" = ? OR "STATUS" = ? )  WITH UR                                  
    and here the access-plan
       0 SELECT STATEMENT ( Estimated Costs =  5,139E+01 [timerons] )                                                                               
    5     1 RETURN                                                                               
    5     2 NLJOIN                                                                               
    5     3 [O] TBSCAN                                                                               
    5     4 SORT                                                                               
    5 TBSCAN GENROW                                                                               
    5     6 <i> FETCH /dbcon/01_con                                                                               
    7 IXSCAN /dbcon/01_con05 #key columns:  2   
    As you can see, only 2 keys were taken for indexed selection!
    Any idea?
    Kind regards,
    MArcel
    Edited by: Marcel Ebert on Jul 28, 2009 5:25 PM

  • Problem in invoking 32 bit JVM by using -d32 option

    Hi all,
    I am facing the following error message on solaris 10, when i use -d32 option in java command.
    execv(): No such file or directory
    Error trying to exec /usr/j2se/bin/sparcv9/java.
    Check if file exists and permissions are set correctly.
    Failed to start a 64-bit JVM process from a 32-bit JVM.
    Verify all necessary J2SE components have been installed.
    (Solaris SPARC 64-bit components must be installed after 32-bit components.)
    I am not able to figure out why this error is coming.
    cheers,
    ngs

    Hi Sush,
    I tried executing by giving full path of java. It gave same error. I have one more question. I have compiled the code using 64 bit JVM. Can i run that class code by using -d32 option in java command ?
    [ Thats exactly what i am doing. And it is giving the same error. ]
    bash-3.00$ /omcsw/29.0.1.3.00/lib/3pt/jdk/jre/bin/java -d32 test
    execve(): No such file or directory
    Error trying to exec /omcsw/29.0.1.3.00/lib/3pt/jdk/jre/bin/../java.
    Check if file exists and permissions are set correctly.
    Failed to start a 32-bit JVM process from a 64-bit JVM.
    Verify all necessary J2SE components have been installed.
    (Solaris SPARC 64-bit components must be installed after 32-bit components.)
    regards,
    ngs

  • How do I use the option "table view" in NetWeaver 2004s Query Designer?

    Dear,
    We have used NetWeaver 2004s Query Designer, We found a strange problem. The option to select table view is not available. It is greyed out. How can you select table view (tabular) in 2004s Query Designer?
    I have read the help doc about tabular view of NetWeaver 2004s Query Designer, I check my query, it has only one structure . but the option is still greyed out. I rebuild the query with 3.x Query Designer in tabular view, and reopen it with 2004s Query Designer, So there is a tab named "tabular view" display, but the option to select table view is still not available, and when users view the query result in web , it is still not in tabular view display. So I am confused, is there a bug with NetWeaver 2004s Query Designer?
    Please help me. Thanks!

    Note 1002271. Seach this note to use key word "table view"

  • Calendar Server 3.5: Problem using user's ID with uniuser -mod command

    When there are two users who have the same Common Name (CN) in LDAP but
    different User ID's (uid
    field), I have a problem using the uid
    field as an argument to
    uniuser -mod in Netscape Calendar
    Server (NCS) 3.5. For example, there may be two users, User1 and User2, who
    both have the CN "John Smith."<BR>
    <P>
    <B>User1</B>
    uid: jsmith2
    sn: Smith
    givenname: John
    nscalxitemid: 10001:00314
    <B>User2</B>
    uid: jsmith
    sn: Smith
    givenname: John
    nscalxitemid: 10001:00213
    <P>
    Let's say I want to change the value for nsCalOrgUnit2
    for User1 to "jsmith." In NCS 4.0,
    I can specify the uid as
    an argument to uniuser -mod
    . However, in NCS 3.5, if I specify the
    uid as an argument to
    uniuser -mod, the entry
    for the user does not get changed.<BR>
    <P>
    <B>Calendar Server 4.0</B><BR>
    <P>
    %uniuser -mod "ID=00314" -m "OU2=jsmith/OU3=People" -n 10001
    <BR>
    uniuser: modified "Smith, John"<BR>
    <P>
    (The LDAP entry for User1 also reflects this change.)
    <P>
    <B>Calendar Server 3.5</B><BR>
    <P>
    %uniuser -mod "ID=00314" "OU2=jsmith/OU3=People" 10001
    <BR>
    uniuser: no need to modify "Smith,John"<BR>
    <P>
    (The LDAP entry for User1 does not reflect the change.)<BR>
    <P>
    %uniuser -mod "S=Smith/G=John/ID=00314" "OU2=jsmith/OU3=People"
    10001<BR>
    uniuser: no need to modify "Smith,John"<BR>
    <P>
    (The LDAP entry for User1 does not reflect the change.)<BR>
    <P>
    If I use the command uniuser -mod "S=Smith/G=John"
    "OU2=jsmith/OU3=People" 10001
    in NCS 3.5, the script will change the entry of the first "John Smith" in the
    database and will cause the LDAP entry for this user to be updated as well.
    However, the entry modified may or may not be the correct one. So, in
    NCS 3.5, is there a way to specify a particular uid
    to ensure that the correct LDAP entry
    is modified?
    <P>
    To modify a user's information using the uid
    field in Calendar Server 3.5, change
    the user.ini file. The
    following steps show how to change a user's information by modifying the
    .ini file:<BR>
    <P>
    <OL>
    <LI>Open the user.ini
    file, which is in the path /users/unison/misc/user.ini
    <P>
    <LI>Add a section containing the desired changes. For example,<BR>
    <P>
    [Test]<BR>
    OU2 = jsmith<BR>
    OU3 = People<BR>
    <P>
    <LI>Run uniuser with
    the following options:<BR>
    <P>
    % uniuser -mod "ID=00314" -s Test 10001
    </OL>

    It turns out to be a problem with the user Keychain. It has some weird entry that was sending the wrong password. I delete all entries to the server and that corrected the problem

  • Problem using standard libraries in C++ class

    Hi
    I am new to JNI. I am having problems using standard C++ library.
    My java code looks like
    public class JavaSide {
    public native void sayHello();
    static {
    System.loadLibrary("NativeSideImpl");
    public static void main(String[] args) {
    JavaSide app = new JavaSide();
    app.sayHello();
    and My NativeSideImpl.cpp code is
    #include <stdio.h>
    #include "JavaSide.h"
    JNIEXPORT void JNICALL Java_JavaSide_sayHello
    (JNIEnv *env, jobject obj)
    cout<<" Hello";
    I am compiling this on solaris 5.8 using the following command
    CC -G -Kpic -I/usr/java/include -I/usr/java/include/solaris NativeSideImpl.cpp -o libNativeSideImpl.so
    when I run my java program using
    java JavaSide
    I get the following exception
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/oracle/temp/libhello.so: ld.so.1: java: fatal: relocation error: file /home/oracle/temp/libhello.so: symbol __1cDstdEcout_: referenced symbol not found
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:832)
    at HelloWorld.<clinit>(HelloWorld.java:6)
    The program works if I replace cout with printf() .
    My LD_LIBRARY_PATH does include the path where of the C++ standard libraries.
    Any help would be much appreciated
    Thanks in advance..

    Well, cout was just a a simple example. I was having problems with using the std C++ libraries, e.g ostringstream . and likes .
    I tried using the -lCstd in the compile option and it worked.

  • OS is Mountain Lion, upgraded no problems, used an external Hard drive for my time machine, now my iPhoto will not show any of my photo's or ay new ones I import! Help please!!

    OS is Mountain Lion, upgraded no problems, used an external Hard drive for my time machine, now my iPhoto will not show any of my photo's or ay new ones I import! Help please!!

    Do you get this window when you hold down the Command+Option keys and launch iPhoto?
    If not then you're not holding down both keys long enough.
    OT

  • My keyboard freezes after using the option key... what gives?

    I have a 17" MacBookPro with OSX 10.6.8
    The problem:   My keyboard key freeze after using the " option key"  in Photoshop or  when downloading a file using the option key.
    I can usually use it 2 or 3 times before it makes a chirping cricket like sound… then my keys freeze up.? The only way to correct it is to restart.
    Anyone else have or had this issue?   it's frustrating.  What's the deal?

    hausman wrote:
    tianmiao0304 wrote:
    Thanks for your explanation!
    Can I just bring my laptop to the nearest service center and get this problem solved directly? You know, usually it will takes several days to receive the backup keyborad, I can't wait
    You'll have to phone the service center and ask. (When I lived not far from Lenovo's Canadian service center and wanted to bring in a ThinkPad for warranty repair they said that would be OK with them but my unit would be put on a queue the same as if I'd shipped it in. They simply didn't offer walk-in, while you wait service.)
    In the interim it may or may not be possible to reattach the key, even just temporarily, depending on whether it wasn't put on properly at the factory or if it's physically broken in some way. Or you could use an external keyboard until Lenovo sends you a replacement, etc.
    I've just call the local service center, he told me that he can not repair individual key, they can just replace the whole keyboard..... How bad luck I am!!!

  • Problem using default value of report parameter 1 to validate parameter 2 passed in to report

    I am having a problem with an SSRS report using the default value of report parameter 1 to validate parameter 2 passed in to report (via C#) instead of using the value of parameter 1 that is also passed into the report.  Here are the
    simplified details:
    Using SSDT, SQL Server 2008 R2
    SSRS report has 2 parameters:
    P1 -- text, hidden, default value 'R1', ... front-end C# code can pass 'R2' or 'R1'
    P2 -- text, allows multiple values, list of available values provided by stored procedure (sproc_list) that takes P1 value as a parameter.  Hence, sproc_list either provides a list for P1 = 'R1' or P1 = 'R2'.
    List for P1 = 'R1' is 'A', 'B', 'C'
    List for P1 = 'R2' is 'A', 'B', 'D'
    Values for P1 and P2 can be passed in via C# to the report.
    The C# front-end displays 2 report choices to the user, R1 and R2, where both choices call the same RDL; but choice R1 passes in 'R1' for P1, and the choice R2 passes in 'R2' for P1.
    Upon a users 1st time use of the report no parameters are passed in.  Then when the user exits the report, the parameter value for P2 that was chosen is saved off to a file for R1 or R2, and used the next time the user selects the report.
    Everything always works fine for report R1 since the default value for P1 is 'R1'.
    When R2 is chosen and the user selects 'D' as the value for P2, runs the report, then exits, the P2 value of 'D' for R2 is saved to a file.  When the user returns the next day to run report R2, 'R2' is passed for P1, and 'D' is passed for P2.
    This is when the problem occurs.  The value of 'D' for P2 is validated against a list generated for P2 based on the default value of 'R1' for parameter P1.  Hence, SSRS considers 'D' an invalid value for P2 and blanks out the P2 parameter. 
    The user can then use the drop down list for P2 and choose 'D', but this defeats the purpose of saving the parameter values to be used the next time.
    Why is the stored procedure that provides a list of available values for parameter P2 using the default value of 'R1' for parameter P1 instead of using the value of 'R2' passed into the report for parameter P1?

    Hi Tom,
    Sorry for my delay.
    If I understand correctly, you have two parameter in your report. It is a couple of cascading parameter. If we have choose ‘R1’ of P1, the P2 values is A, B, C. ‘R2’ of P1, corresponding P2 values is A, B, D. What your requirement is to save the end use
    select option of these two parameters.
    In SSRS, if we have configure the parameter with default value. When we run the report, the parameter will fill with the default value to filter data. If we want to save the last status we are render the report, we need to update the default value of P1.
    If we are query the default value from database, if possible, we can
    update the database try to resolve the issue.  Alternatively, we can set the dynamic default value for the parameter.
    Hope this helps.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

Maybe you are looking for