Forum Discussion

ivan_sy's avatar
ivan_sy
Contributor
11 years ago
Solved

Compare KeywordTests on cloned project will show a difference on its NodeBitmaps headers

Our test script development processes requires us to make use of TestComplete's integration with TFS and the use of "Cloning" projects to maintain .



In a nutshell, we have a TestComplete project that we maintain (called STABLE), and on a bi-weekly basis we clone STABLE and have another TestComplete project as DEVEL. We do all our test script development in DEVEL and the code reviewer will merge that "by hand" from DEVEL to STABLE (literally, copying the file from one folder to another and Add Existing Item). After that, DEVEL get's trashed and we clone again and the cycle happens. We are OK with this process.



But what we've observed using Visual Studio's comparison of files (diff window) shows that for a bunch of KeywordTests the only difference is that an XML node of NodeBitmaps, gets swapped to another line. This does'nt make a lot of sense.



Please see next post. Notice that "FormNarrativeEditor1" just moves from line 2 to line 3 and it swapped places with "MainForm", but really that would'nt make a difference. It's just that Visual Studio is thinking that this is a code change and we have to open each and every one of these files just to make sure that there was a legitimate change.



Overall, I'd like to ask is, what and how will <NodeBitmaps> attribute change and how can we prevent this from ever changing? Again, not all of our test scripts changes during cloning. Is this something that got change by accidentally opening the KeywordTest? Running it?

3 Replies

  • From original TestComplete project (STABLE)



                    <NodeBitmaps>

                        <Bitmap Name="Aliases.OurProduct1"



    Data="61717A69700000000100000036040000780173F235636100033320A901C40250CCC8A000640101541EC28190FFFFFF6718CAF8D1933F0CCBD77E679834EB2B434BEF1786CE895F193A80B87DC25786D6BE



    2F0C751D5F18AA9A3F3394357C06B327CFFEC6B071C75F86878F7E31FCFCF193E1F3977F0CB56D5F1822523E3284257D60B0F278C760E28CC03E911F188A6B3F332C5DF39DE1F2B53F0CEF3EFC63F8FBF71FC3A7



    E7D718FE7CFF000EBB6FDFFE31C4667E04EB4D2BFCC4D03BED2BC3E9F3BF18DE7FF88B356CDF5D5BCFF0FDED5D14B9CF9FFF81DD00B2BBBAF50B8A1C72FCBC3A339BE1ED8DAD58E55FBFF9CBE01BF501ECFEA7CF



    FF60A8797E7A26C3C37D4D18E2C8E63F79F687C1D6FB1DC3EC45DF50D4BD383B8FE1EA123F1431647DC8EC6B377F338403C3F3FB8F7F60F56FAFAC6638DDABCCF0FBFB47A2F483CC3A7AEA3730BC7F30BCBDBD9F



    E1781337C397E71789D60B73CB972F3F19CEF7C832BC383B9F64BD3033DEDDDEC9F0EF1FC41F30B1E14403000773C525" />

                        <Bitmap Name="Aliases.OurProduct1.FormNarrativeEditor1"



    Data="61717A697000000001000000360400007801A5534B4EC330107D483D004760C909B245628960C319D87006EEC19E151207E000EC90104242424815E5534129A54DF38FED7C98B16393A812156DA2F12463



    BF9737CFCEEE81D783BE3C1AB729369BD8C0163DD1D5CC9B1733D658EF3EDAF3B04A1C1FEE68DCCDE539541298886690E1376430819C7F41F89F10B311C4F403F9F805D97B1FE9EB03E2A73BC4FD5B872FD208A7



    FB3DBC5D5DE8CC1CFCDEAEF1B3980C717D76A2EBC9F3FD2F3E8BC11CAC83D729D2C159068647F863D2415A4807D7F3D100E9F0D1E1CB3C45D170687C3C373CE15467AE713087CEA48339D837EEBF14192C07CF17



    4E87AFD7B775683CE9E05E1C5EE68E83E739D80B453AAC27B66E33FB6AF1552151B6386C2FAC43EF4DEC6B4FACAF766F1CBE2CD0E11029F593902711F91A2E70D8FDB5F8BA2A51351C95128D96E51C0E5FD319FE



    1707F5437BD3C12FE53067447B42BEAAC85FC47738142AF587AFC461BFCF67609560FC7A7F6F8D1F5B1D3A8B" />

                        <Bitmap Name="Aliases.OurProduct1.MainForm"



    Data="61717A697000000001000000360400007801A5534B4EC330107D483D004760C909B245628960C319D87006EEC19E151207E000EC90104242424815E5534129A54DF38FED7C98B16393A812156DA2F12463



    BF9737CFCEEE81D783BE3C1AB729369BD8C0163DD1D5CC9B1733D658EF3EDAF3B04A1C1FEE68DCCDE539541298886690E1376430819C7F41F89F10B311C4F403F9F805D97B1FE9EB03E2A73BC4FD5B872FD208A7



    FB3DBC5D5DE8CC1CFCDEAEF1B3980C717D76A2EBC9F3FD2F3E8BC11CAC83D729D2C159068647F863D2415A4807D7F3D100E9F0D1E1CB3C45D170687C3C373CE15467AE713087CEA48339D837EEBF14192C07CF17



    4E87AFD7B775683CE9E05E1C5EE68E83E739D80B453AAC27B66E33FB6AF1552151B6386C2FAC43EF4DEC6B4FACAF766F1CBE2CD0E11029F593902711F91A2E70D8FDB5F8BA2A51351C95128D96E51C0E5FD319FE



    1707F5437BD3C12FE53067447B42BEAAC85FC47738142AF587AFC461BFCF67609560FC7A7F6F8D1F5B1D3A8B" />

                    </NodeBitmaps>





    To this (DEVEL TestCompelete project cloned from STABLE). There were no code changes, but line 2 swapped places with line 3





                    <NodeBitmaps>

                        <Bitmap Name="Aliases.OurProduct1"



    Data="61717A69700000000100000036040000780173F235636100033320A901C40250CCC8A000640101541EC28190FFFFFF6718CAF8D1933F0CCBD77E679834EB2B434BEF1786CE895F193A80B87DC25786D6BE



    2F0C751D5F18AA9A3F3394357C06B327CFFEC6B071C75F86878F7E31FCFCF193E1F3977F0CB56D5F1822523E3284257D60B0F278C760E28CC03E911F188A6B3F332C5DF39DE1F2B53F0CEF3EFC63F8FBF71FC3A7



    E7D718FE7CFF000EBB6FDFFE31C4667E04EB4D2BFCC4D03BED2BC3E9F3BF18DE7FF88B356CDF5D5BCFF0FDED5D14B9CF9FFF81DD00B2BBBAF50B8A1C72FCBC3A339BE1ED8DAD58E55FBFF9CBE01BF501ECFEA7CF



    FF60A8797E7A26C3C37D4D18E2C8E63F79F687C1D6FB1DC3EC45DF50D4BD383B8FE1EA123F1431647DC8EC6B377F338403C3F3FB8F7F60F56FAFAC6638DDABCCF0FBFB47A2F483CC3A7AEA3730BC7F30BCBDBD9F



    E1781337C397E71789D60B73CB972F3F19CEF7C832BC383B9F64BD3033DEDDDEC9F0EF1FC41F30B1E14403000773C525" />

                        <Bitmap Name="Aliases.OurProduct1.MainForm"



    Data="61717A697000000001000000360400007801A5534B4EC330107D483D004760C909B245628960C319D87006EEC19E151207E000EC90104242424815E5534129A54DF38FED7C98B16393A812156DA2F12463



    BF9737CFCEEE81D783BE3C1AB729369BD8C0163DD1D5CC9B1733D658EF3EDAF3B04A1C1FEE68DCCDE539541298886690E1376430819C7F41F89F10B311C4F403F9F805D97B1FE9EB03E2A73BC4FD5B872FD208A7



    FB3DBC5D5DE8CC1CFCDEAEF1B3980C717D76A2EBC9F3FD2F3E8BC11CAC83D729D2C159068647F863D2415A4807D7F3D100E9F0D1E1CB3C45D170687C3C373CE15467AE713087CEA48339D837EEBF14192C07CF17



    4E87AFD7B775683CE9E05E1C5EE68E83E739D80B453AAC27B66E33FB6AF1552151B6386C2FAC43EF4DEC6B4FACAF766F1CBE2CD0E11029F593902711F91A2E70D8FDB5F8BA2A51351C95128D96E51C0E5FD319FE



    1707F5437BD3C12FE53067447B42BEAAC85FC47738142AF587AFC461BFCF67609560FC7A7F6F8D1F5B1D3A8B" />

                        <Bitmap Name="Aliases.OurProduct1.FormNarrativeEditor1"



    Data="61717A697000000001000000360400007801A5534B4EC330107D483D004760C909B245628960C319D87006EEC19E151207E000EC90104242424815E5534129A54DF38FED7C98B16393A812156DA2F12463



    BF9737CFCEEE81D783BE3C1AB729369BD8C0163DD1D5CC9B1733D658EF3EDAF3B04A1C1FEE68DCCDE539541298886690E1376430819C7F41F89F10B311C4F403F9F805D97B1FE9EB03E2A73BC4FD5B872FD208A7



    FB3DBC5D5DE8CC1CFCDEAEF1B3980C717D76A2EBC9F3FD2F3E8BC11CAC83D729D2C159068647F863D2415A4807D7F3D100E9F0D1E1CB3C45D170687C3C373CE15467AE713087CEA48339D837EEBF14192C07CF17



    4E87AFD7B775683CE9E05E1C5EE68E83E739D80B453AAC27B66E33FB6AF1552151B6386C2FAC43EF4DEC6B4FACAF766F1CBE2CD0E11029F593902711F91A2E70D8FDB5F8BA2A51351C95128D96E51C0E5FD319FE



    1707F5437BD3C12FE53067447B42BEAAC85FC47738142AF587AFC461BFCF67609560FC7A7F6F8D1F5B1D3A8B" />

                    </NodeBitmaps>



  • Contacting SmartBear Support gave me an answer that this is unexpected behavior and that this will be addressed in future versions of TestComplete.



    Tanya: this is Issue# M0118431, we would appreciate if you can get your developers fix this issue on next major release of TestComplete.



    Thanks.