Unique's not so unique!

Hi,
I'm trying to use the schema validating parser. I'm tweaking the example files that are downloaded with the parser, namely report.xsd and report.xml. In report.xsd it specifies...
<unique name="pZipCode">
<selector>
regions/zip
</selector>
<field>
@code
</field>
</unique>
which hopefully tells the parser each type of regions/zip must have a unique code attribute. The report.xml file has this...
<regions>
<zip code="95819">
<part number="872-AA" quantity="1"/> </zip>
<zip code="95819">
<part number="755-KY" quantity="4"/>
</zip>
</regions>
see at regions/zip @code they both should not be able to be 95819, because the schemas specified they be unique. I know in the release notes of the version I'm using the parser doesn't specify unique, but it says that's just for the SAX parser. But I'm using the DOM Parser, so what am I doing wrong. This is a very important feature that I would like to use. If anyone has any clues as to what I'm doing wrong please let me know.
Thanks.

Hi sanjay_t,
From these warning message as you provide, I doubt that maybe the button control did not be found successfully by the searchproperties when you playback the Coded UI test.
So I suggest you can try to use DrawHighlight Method  to check if the button control
is found before you perform actions on the button target control.
(2)I suggest you can try to use
FindMatchingControls Method on the button control to check if there are more than one control which matches the specified searchproperties and filterproperties.
In addition, as you said that you are using CUIT to write automated UI test. it means that you record the UI action by handing code, am I right?
If yes, I suggest that you can create a simple coded UI test through recording actions using Coded UI Test Builder. Then
generate the code and then try to playback. If playback succeeds, then cross check the properties from UIMap.Designer.cs file. You can reference the code about entering values in the text edit in the UIMap.Designer.cs file to write
your own code.
For more information about how to find a control for coded UI test, I suggest you can refer the following blog.
http://blogs.msdn.com/b/balagans/archive/2009/12/28/9941582.aspx
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Do Not Check Uniqueness of Data in Write Optimised DSO

    Hello,
    I am working with write optimised DSO with already billion records in it. I have flag 'Do Not Check Uniqueness of Data' in Settings as checked(means it will surely not check for uniqueness of data). I am thinking of removing this flag off and activate the DSO again. I am willing to remove this flag as it will provide option of Req ID input in listcube on DSO and without this list cube will never return back with results.(I have to analyze aggregations)
    I tried removing this flag and then activate DSO in production system with 17 million records which took 5 mins for activation (index creation). So maths says for a billion records activation transport will take around 6 hrs for moving to Production.
    I am willing to remove this flag as it will provide option of Req ID input in listcube and without this list cube will never return back with results.
    Questions:
    How does this flag checks the uniqueness of record? WIll it check Active table or from the Index?
    To what extent DTP will slow down the process of subsequent data load?
    Any other factors/risks/precautions to be taken?
    Let me know if questions are not clea or further inputs are required from my side.
    Thanks.
    Agasti

    Hi,
    Please go through the site :
    /people/martin.mouilpadeti/blog/2007/08/24/sap-netweaver-70-bi-new-datastore-write-optimized-dso
    As far as your ques are concerned... i hope above blog will answer most of it , and if it does'nt please read below mentioned thread.
    Use of setting "Do Not Check Uniqueness of Data" for Write Optimized DSO
    Regards
    Raj

  • Create folder in Integration Directory - Can not be uniquely addressed

    Hi experts,
    I have the following issue. When creating a folder in Integration Directory I get a warning info, like the following:
    E.g. folder name should be "test"
    "The folder test could not be uniquely addressed by the path /test/ because two or more folders share the same name"
    I checked the repository for another folder with the same name but without success.
    The point is, that I want to use the API to add objects to the folder. But without a unique address the creation will fail.
    What makes this very strange is, that sometimes it works.
    Is there any place in the repository where folder ids can be checked for uniqueness ?
    Thanks a lot.
    Timo

    Hi Jon
    On the first topic, try this.
    import java.io.File;
    public class MakeDir {
         public static void main(String[] args) {
              if (args.length != 1 || args[0] == null || args[0].trim().length() == 0) {
                   System.out.println("Usage: java MakeDir <folder name>");
                   System.exit(-1);
              File f = new File(System.getProperty("user.dir") + "\\" + args[0]);
              f.mkdir();
    }/John

  • "ORA-1715 : UNIQUE may not be used with a cluster index" but why?

    "ORA-1715 : UNIQUE may not be used with a cluster index" but why and what "may" means here? Any comments will be welcomed, thank you and best regards;
    show rel
    release 1002000300
    CREATE CLUSTER sc_srvr_id (
    srvr_id NUMBER(10)) SIZE 1024;
    SELECT cluster_name, tablespace_name, hashkeys,
    degree, single_table FROM user_clusters;
    CREATE UNIQUE INDEX idx_sc_srvr_id ON CLUSTER sc_srvr_id;
    ERROR at line 1:
    ORA-01715: UNIQUE may not be used with a cluster index
    CREATE INDEX idx_sc_srvr_id ON CLUSTER sc_srvr_id;
    SELECT index_name, index_type, tablespace_name
    FROM user_indexes where index_name like '%SRVR%' ;
    CREATE TABLE cservers (
    srvr_id    NUMBER(10),
    network_id NUMBER(10),
    status     VARCHAR2(1),
    latitude   FLOAT(20),
    longitude  FLOAT(20),
    netaddress VARCHAR2(15))
    CLUSTER sc_srvr_id (srvr_id);
    ALTER TABLE cservers add constraint pk_srvr_id primary key (srvr_id ) ;
    SELECT index_name, index_type, tablespace_name
    FROM user_indexes where index_name like '%SRVR%' ;
    INDEX_NAME                     INDEX_TYPE
    TABLESPACE_NAME
    IDX_SC_SRVR_ID                 CLUSTER
    USERS
    PK_SRVR_ID                     NORMAL
    USERSdo we really need another pkey index here?

    "May" has different meanings, one of which is:
    (used to express opportunity or permission)
    Metalink note 19067.1 says:
    This is not permitted.
    ... which agrees with the above meaning of it.
    Besides these, it does not make any sense to me to create a unique index on a cluster. You can have primary keys in the tables you include in the cluster, it depends on your business requirement. But why do you need a unique index on a cluster?

  • IDoc error "customer  and sales area : GR could not be uniquely determined"

    Hi All,
    While posting some IDocs i am getting error customer  and sales area : GR could not be uniquely determined even when entries are available in EDSDC table.
    Please assist.

    Double check your entries. Once I ended up even sending a message to SAP and turned out there was a simple typo in the table.
    Also since you're saying "some IDocs" - check how exactly they are different from those that don't have this error.

  • Unique Constraint Not Allowed in OA Table design?

    Is it really true or is just my OApps Admin /DBA is just plain stupid for not allowing unique constraint at table level?
    I have to implement a EO attribute level validation that does a select on an unindexed field thru the List Validator feature.
    The problem is it is taking 40-60 seconds to commit something to the EO.

    Thats true, if talking about only OAF, you don't need the constraint as you can handle that in code!
    --Mukul                                                                                                                                                                                                                                                       

  • Selection for 0ACT_DL_DTE can not be uniquely assigned

    Hello,
    I have created report-report interface between two querys and when i run the sender query, It goes to the receiver query and it is giving warning message as " Selection for 0ACT_DL_DTE can not be uniquely assigned".
    Warning Message: Selection for 0PLD_GI_DTE cannot be uniquely assigned.
                                Selection for 0ACT_DL_DTE can not be uniquely assigned.
                                Selection for ZDLVCRDT cannot be uniquely assigned.
                                Selection for ZREQDT cannot be uniquely assigned.
    It is giving warning message only for dates.
    Please let me know how to fix this issue.
    Thanks,
    Ganga

    I have used message type Z8ORDER which is newly created . The message type in message control of partner profile is ZDVS which is linked to process code. This (ZDVS) was already used in some other partner profile. Can we use same message type (Message control) again. If yes please advise how to use it again.
    Regards,
    Vijay.

  • HT204053 I have both an Ipad and Iphone ( not so unique) But I ran in to a question. Is there a way I can send messaged to my Ipad from my Iphone? Is so Please realize thathis is new to me  and step by step is the only way I am going to figure it out.

    I have both an Ipad and Iphone ( not so unique) But I ran in to a question. Is there a way I can send messaged to my Ipad from my Iphone? Is so Please realize that is is new to me  and step by step is the only way I am going to figure it out.  My iPhone is a 5s running 8.12 and Ipad 4 but not the latest version.  Any thoughts?
    Ty in advance ,
    Eric ...
    <E-mail Edited by Host>

    Yes, you can send Messages to your iPad 4 from the iPhone.
    See here:
    https://www.apple.com/ios/messages/
    iOS: Troubleshooting Messages - Apple Support

  • 500k Unique Limit not behaving as it should?

    Hoping to get an official "Adobe" answer here as results via Twitter were not too successful, plus this is just too detailed to be accurately articulated in 140 character chunks.  Anyways, the problem comes with an instance I am working on where unique page views for URLs that are well over 500K are not being bucketed in to the "low traffic" category as they should be per this adobe documentation:
    Uniques Exceeded (Low-Traffic) Logic
    I've attached a screenshot, these URLs all only have 1 view per the month, and are not previously recorded, so these should all be falling into the low bucket traffic, but they are not, and this number continues to grow.  Anyone experienced this before, and if you have, do you have insights on to why the software is behaving as such?
    Thanks!

    This forum section is for the analytics of Business Catalyst, One of Adobe's CMS's. IT is not the Adobe Marketing Cloud software forum.

  • SharePoint 2013 Document Library/List created from template "not keeping unique permissions"

    Hi all,
      I am in need of help with SP2013 Document Library. Hope someone will be able to help me. Here is the scenario.
    I created a SP2013 document Library/List , I break the permissions of the list from the parent and apply unique permissions to the list. So far so good. But now when I Save the list as template and create a new list using that template , the unique permissions
    are lost and the list is again shown "inheriting from parent". I have tested this scenario in recently upgraded farm and a completely new farm as well. I tried creating templates in powershell as well but same results. Is this only with me or anyone
    else experiencing this and if there any workarounds?
    Any help is appreciated.
    Thanks,
    Kshma

    List template will not save permission neither will carry it in newly create instance, for a good reason. You need to use powershell or UI 
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • MDX Distinct() not returning unique list of tuples

    Environment
    Server version 9.2.0.2
    BSO database
    essmsh client
    Behavior
    Using Distinct on a Static List of Product members
    Distinct( { [ABC], [DEF], [ABC], [GHI] } )
    results in
    { [ABC], [DEF], [GHI] }
    as I expected.
    In a hierarchy where ABC and DEF are also shared members in alternate hierarchies
    [Product].levels(0).Members
    results in
    { [ABC], [DEF], [ABC*], [DEF*], [GHI] }
    where the (*) members are the shared instances.
    Applying the Distinct function
    Distinct( [Product].levels(0).Members )
    results in
    { [ABC], [DEF], [ABC*], [DEF*], [GHI] }
    which is NOT what I expected.
    Q1) Any insight as to why Distinct is behaving in this fashion?
    Q2) How can I get a unique list of members from a function that returns a set of non-unique tuples?
    Thanks in advance.
    George

    Hi,
    Are you telling that filterdup is case sensitive ? if that is your problem why not try downase / upcase while
    storing to the list and then try filterdup.
    Thanks,
    Balu

  • NOT NULL Unique Constraint in Data Modeler

    I've created Unique Constraints in the Relational Model and I'm trying to figure out how to make it a NOT NULL constraint.
    Let's say the table name is category with columns cat_id, cat_name, sort.
    In SQL I create "ALTER TABLE category MODIFY (category CONSTRAINT xxx_cat_name_nn NOT NULL);", but inside the modeler there is no data entry points in the [Unique Key Properties - xxx_cat_name_nn] dialog box, that I can find, that lets me tell it that it is a NOT NULL constraint. I'm sure there is a way but I'm just fall over my own feet trying to find it.
    Any help would be greatly appricated.
    Edited by: 991065 on Feb 28, 2013 1:40 PM

    Hi,
    You can make the column NOT NULL by unsetting the "Allow Nulls" property for the Column.
    If you want a named NOT NULL Constraint, you should also set the "Not Null Constraint Name" property (on the Default and Constraint tab of the Column Properties dialog).
    David

  • Unique constraint not working

    Hi,
    I originally had a unique constraint on a table on columns say C1,C2,C3. Later I added a 4th column C4. I can see that the 4th column is part of the same index in all_cons_columns.r
    But, when I try to insert row with same value of C1,C2,C3 but different C4 it gives me the same Unique key error even though the value I am entering for C4 is unique for that table. What could cause this?

    user13755008 wrote:
    select * from all_cons_columns where constraint_name='HSRP_TRACK_UK';
    OWNER CONSTRAINT_NAME TABLE_NAME
    COLUMN_NAME
    POSITION
    NC3 HSRP_TRACK_UK HSRP_TRACK
    ODBID_EQP
    1
    NC3 HSRP_TRACK_UK HSRP_TRACK
    START_DATE
    4
    NC3 HSRP_TRACK_UK HSRP_TRACK
    OBJECT_NUM
    2
    NC3 HSRP_TRACK_UK HSRP_TRACK
    did some details get misplaced here?
    >
    >
    >
    select * from all_ind_columns where INDEX_NAME='HSRP_OBJ_INTER_ST_UIX';
    INDEX_OWNER INDEX_NAME TABLE_OWNER TABLE_NAME
    COLUMN_NAME
    COLUMN_POSITION COLUMN_LENGTH CHAR_LENGTH DESC
    NC3 HSRP_OBJ_INTER_ST_UIX NC3 HSRP_TRACK
    ODBID_EQP
    1 22 0 ASC
    NC3 HSRP_OBJ_INTER_ST_UIX NC3 HSRP_TRACK
    OBJECT_NUM
    2 4 4 ASC
    NC3 HSRP_OBJ_INTER_ST_UIX NC3 HSRP_TRACK
    INTERFACE
    3 32 32 ASC
    NC3 HSRP_OBJ_INTER_ST_UIX NC3 HSRP_TRACK
    START_DATE
    4 7 0 ASC
    select * from nc3.hsrp_track where odbid= 87820678;
    ODBID CREATETMSTMP CREATEUS CREATETRAN
    LASTUPDTMSTMP LASTUPDU LASTUPDTRAN ODBID_EQP
    ODBID_START_ORDER ODBID_STOP_ORDER ODBID_PREV START_DATE STOP_DATE STATUS COMPONENT_TYPE OBJE
    INTERFACE PROCESS
    87820678 2013-01-18-11:29:29.285050 NC3USER StoreRouting
    2013-01-18-11:29:29.285050 NC3USER StoreRouting 87811116
    87811106 2013-01-18 9999-12-31 Started Equipment 1
    Serial0/0 line-protocol
    SQL> insert into NC3.HSRP_TRACK Values(3,'2013-01-18-11:29:29.436033', 'NC3USER ', 'StoreRouting', '2013-01-18-11:29:29.436033', 'NC3USER ', 'StoreRouting ', 87820377,'','','', '2013-01-18','9999-12-31','Started', 'Equipment', '1', 'Serial0/0', '');
    insert into NC3.HSRP_TRACK Values(3,'2013-01-18-11:29:29.436033', 'NC3USER ', 'StoreRouting', '2013-01-18-11:29:29.436033', 'NC3USER ', 'StoreRouting ', 87820377,'','','', '2013-01-18','9999-12-31','Started', 'Equipment', '1', 'Serial0/0', '')
    ERROR at line 1:
    ORA-00001: unique constraint (NC3.HSRP_TRACK_UK) violated
    SQL> desc nc3.hsrp_track
    Name Null? Type
    ODBID NOT NULL NUMBER(11)
    CREATETMSTMP NOT NULL TIMESTAMP(6)
    CREATEUSER NOT NULL CHAR(8)
    CREATETRAN NOT NULL CHAR(16)
    LASTUPDTMSTMP NOT NULL TIMESTAMP(6)
    LASTUPDUSER NOT NULL CHAR(8)
    LASTUPDTRAN NOT NULL CHAR(16)
    ODBID_EQP NOT NULL NUMBER(11)
    ODBID_START_ORDER NUMBER(11)
    ODBID_STOP_ORDER NUMBER(11)
    ODBID_PREV NUMBER(11)
    START_DATE NOT NULL DATE
    STOP_DATE NOT NULL DATE
    STATUS NOT NULL CHAR(16)
    COMPONENT_TYPE NOT NULL VARCHAR2(32)
    OBJECT_NUM NOT NULL VARCHAR2(4)
    INTERFACE NOT NULL VARCHAR2(32)
    PROCESS VARCHAR2(15)
    SQL> select * from nc3.hsrp_track where odbid_eqp=87820377;
    no rows selected
    Please, see since odbid_eqp that I am trying to insert is not presen in table unique index should not be thrown in any case? I am confused.
    Edited by: user13755008 on Jan 18, 2013 8:24 PMpost results from SQL below
    SELECT COLUMN_NAME, POSITION, CONSTRAINT_NAME FROM ALL_CONS_COLUMNS
    WHERE TABLE_NAME = 'HSRP_TRACK' AND OWNER = 'NC3';

  • How to View all settings not just unique

    Hi
    I took a backup of the GPO I created and imported it into MSCM. 
    When I look at the report of the settings it only show the Unique settings.  Is there any way to show all the settings contained within the gpo?

    Probably the most straightforward way to get iTunes onto your new computer is to network it with the old one and copy your iTunes folder across. This works fine if you have been using iTunes to completely manage your music and all your songs are in iTunes Music not in different folders. You can also use this method with an external hard drive, you drag the folder from the old computer to the external drive and then from the drive to the new computer. If the songs in your library are not all in the iTunes Music folder you can consolidate them. When you consolidate, any songs in the iTunes Library that are not in the iTunes Music Folder are copied to the Music Folder and the Library is updated to point to those new files. Files already in the iTunes Music Folder have no changes made to them: Copying all your iTunes files to one location - Windows
    Copying the whole folder brings with it the iTunes Music folder and also the iTunes Library (iTunes Library.itl in Windows) database file which holds all the information about your songs (Playlists, Ratings, Play Counts, Last Played, Date Added, etc). You'll get more information including the Folder/File structure in this article: What are the iTunes library files?
    When you copy the iTunes folder make sure you put it into the same location on the new computer. This has to be the exact same place, on a PC this is \Documents and Settings\Username\My Documents\My Music\. When you open iTunes on the new computer it will be the same as on the original one Songs, Playlists, Play Counts, Ratings etc. When I moved iTunes a while ago for my daughter I was also using the same version of iTunes, not sure how important that is but it's probably worth keeping them the same.
    If you have an iPod it can be used as an external drive and you can move the iTunes folder onto it: How to use your iPod to move your music to a new computer

  • Entering serial number with not repetition (unique) on the screen?

    I wont build forms with multi lots.
    every lot consist one text field for serial number and that field is screen field(not based).
    parameters A(1 ... n) numeric
    Entering serial number must be unique (not repeting)
    Any references and any idea would be very helpfull
    Thanks in advanced
    g.

    screen field
    parameter A (
    numeric
    nothing is here in the forms - syntax :-)

Maybe you are looking for

  • Export to excel options are in dis-able mode

    Hi Experts, The below highlighted options are in disable or grayed out. Kindly advise how to bring activation mode?. I guess, is there any authorization problem but I am able to execute the reports like FBL5N, FBL1N etc. Thanks, Mariks.

  • SkillBuilders Modal With Chart

    Using Apex 4.2 I am trying to open an interactive report in a modal window by clicking a bar in a chart. I am trying to use the Skill Builders plugin, but not getting very far. Has anybody got an example of how to do this Thanks in advance Gus

  • Nokia 5800 xpress music SW update 50.0.005 !!!!!!!...

    I updated software to 50.0.005 and ever since then my phone is not working.  When I switch it on it stays on the NOKIA start up screen for a while then goes fuzzy and switches off.  Sometimes (meaning about 3 times) it goes on and everything seems fi

  • MissingResourceException: No localizer class found for message id

    I created a Java Portlet (JSR 168) and am adding it to my portal. For some reason I keep getting the exception below. Any clues why this happens? I added the portlet to the portal file by drag and drop. - vineet No such portlet with URI RSSPortlet_1.

  • I am trying to back up my new iphone through my itunes and its not working

    I am trying to set up my new iphone, and i need to back it up through itunes since i never backed my old one up with icloud, but once i select the "back up with itunes" on my phone startup, it tells me to connect to itunes, which i do and then my pho