Пример #1
0
def test():
	from Modules import commonBits
	java_recorded_version = '1.5.0_11'

	if window(commonBits.applicationName()):
		click('FileSearch')
		if window('Open'):
			select(commonBits.selectPaneFn(), 'Ams_LocDownload_20041228.bin')
			click('Open')
		close()
		#commonBits.setRecordLayout(select, 'ams Store')


		click('Edit1')
		select('LinesTbl', 'cell:2|Loc_Nbr,0(5839)')
		rightclick('LinesTbl', '2|Loc_Nbr,0')
		select_menu('Edit Record')
		click('Find')
		#click('MetalInternalFrameTitlePane', 194, 3)
		select('TextField', 'Shopping Centre')
		select('ComboBox1', 'Contains')
		click('Find1')
		select('BaseLineAsColumn$LineAsColTbl', 'cell:Data,3(Kalgoorlie (not yet open))')
##		assert_p('BaseLineAsColumn$LineAsColTbl', 'Content', '[[Brand_Id, 1, , TAR, TAR], [Loc_Nbr, 2, , 5193, 5193], [Loc_Type, 3, , ST, ST], [Loc_Name, 4, , Kalgoorlie (not yet open), Kalgoorlie (not yet open)], [Loc_Addr_Ln1, 5, , Shopping Centre, Shopping Centre], [Loc_Addr_Ln2, 6, , Cnr Cassidy and Egan Streets, Cnr Cassidy and Egan Streets], [Loc_Addr_Ln3, 7, , Kalgoorlie, Kalgoorlie], [Loc_Postcode, 8, , 6430, 6430], [Loc_State, 9, , WA, WA], [Loc_Actv_Ind, 10, , A, A]]')
		assert_p('BaseLineAsColumn$LineAsColTbl', 'Content', '[[Brand_Id, 1, , TAR, TAR], [Loc_Nbr, 2, , 5169, 5169], [Loc_Type, 3, , ST, ST], [Loc_Name, 4, , Hornsby, Hornsby], [Loc_Addr_Ln1, 5, , Westfield Shopping Centre, Westfield Shopping Centre], [Loc_Addr_Ln2, 6, , George Street, George Street], [Loc_Addr_Ln3, 7, , Hornsby, Hornsby], [Loc_Postcode, 8, , 2077, 2077], [Loc_State, 9, , NSW, NSW], [Loc_Actv_Ind, 10, , A, A]]')
		select('BaseLineAsColumn$LineAsColTbl', 'cell:Data,3(Kalgoorlie (not yet open))')
		select('ComboBox1', 'Contains')
		select('ComboBox2', 'Backward')
		click('Find1')

		select('BaseLineAsColumn$LineAsColTbl', 'cell:Data,3(Carindale)')
		assert_p('BaseLineAsColumn$LineAsColTbl', 'Content', '[[Brand_Id, 1, , TAR, TAR], [Loc_Nbr, 2, , 5169, 5169], [Loc_Type, 3, , ST, ST], [Loc_Name, 4, , Hornsby, Hornsby], [Loc_Addr_Ln1, 5, , Westfield Shopping Centre, Westfield Shopping Centre], [Loc_Addr_Ln2, 6, , George Street, George Street], [Loc_Addr_Ln3, 7, , Hornsby, Hornsby], [Loc_Postcode, 8, , 2077, 2077], [Loc_State, 9, , NSW, NSW], [Loc_Actv_Ind, 10, , A, A]]')
Пример #2
0
def test():
	from Modules import commonBits
	java_recorded_version = '1.5.0_11'

	if window('Protocol Buffer Editor'):
		click('Choose File')

		if window('Open'):
			select(commonBits.selectPaneFn(), 'ams_locdownload_20041228.bin')
			click('Open')
		close()
		#commonBits.setRecordLayout(select, 'ams Store')


		click('Edit1')
		select('Table', 'cell:2|Loc_Nbr,0(5839)')
		rightclick('Table', '2|Loc_Nbr,0')
		select_menu('Edit Record')
		click('Find')
		#click('MetalInternalFrameTitlePane', 194, 3)
		select('TextField', 'Shopping Centre')
		select('ComboBox1', 'Contains')
		click('Find1')
		select('Table', 'cell:Data,3(Kalgoorlie (not yet open))')
##		assert_p('Table', 'Content', '[[Brand_Id, 1, , TAR, TAR], [Loc_Nbr, 2, , 5193, 5193], [Loc_Type, 3, , ST, ST], [Loc_Name, 4, , Kalgoorlie (not yet open), Kalgoorlie (not yet open)], [Loc_Addr_Ln1, 5, , Shopping Centre, Shopping Centre], [Loc_Addr_Ln2, 6, , Cnr Cassidy and Egan Streets, Cnr Cassidy and Egan Streets], [Loc_Addr_Ln3, 7, , Kalgoorlie, Kalgoorlie], [Loc_Postcode, 8, , 6430, 6430], [Loc_State, 9, , WA, WA], [Loc_Actv_Ind, 10, , A, A]]')
		assert_p('Table', 'Content', '[[Brand_Id, 1, , TAR, TAR], [Loc_Nbr, 2, , 5169, 5169], [Loc_Type, 3, , ST, ST], [Loc_Name, 4, , Hornsby, Hornsby], [Loc_Addr_Ln1, 5, , Westfield Shopping Centre, Westfield Shopping Centre], [Loc_Addr_Ln2, 6, , George Street, George Street], [Loc_Addr_Ln3, 7, , Hornsby, Hornsby], [Loc_Postcode, 8, , 2077, 2077], [Loc_State, 9, , NSW, NSW], [Loc_Actv_Ind, 10, , A, A]]')
		select('Table', 'cell:Data,3(Kalgoorlie (not yet open))')
		select('ComboBox1', 'Contains')
		select('ComboBox2', 'Backward')
		click('Find1')

		select('Table', 'cell:Data,3(Carindale)')
		assert_p('Table', 'Content', '[[Brand_Id, 1, , TAR, TAR], [Loc_Nbr, 2, , 5169, 5169], [Loc_Type, 3, , ST, ST], [Loc_Name, 4, , Hornsby, Hornsby], [Loc_Addr_Ln1, 5, , Westfield Shopping Centre, Westfield Shopping Centre], [Loc_Addr_Ln2, 6, , George Street, George Street], [Loc_Addr_Ln3, 7, , Hornsby, Hornsby], [Loc_Postcode, 8, , 2077, 2077], [Loc_State, 9, , NSW, NSW], [Loc_Actv_Ind, 10, , A, A]]')
Пример #3
0
def test():
	from Modules import commonBits

	java_recorded_version = '1.6.0_03'

	if window('Protocol Buffer Editor'):
		click('Choose File')

		if window('Open'):
##			select('FilePane$3', 'ams_locdownload_20041228.bin')
			select(commonBits.selectPaneFn(), 'ams_locdownload_20041228.bin')
			click('Open')
		close()

		select('FileChooser1', commonBits.stdCopybookDir() + 'Ams_Location.protocomp')

		#commonBits.setRecordLayout(select, 'ams Store')

		click('Edit1')
##		select('Table', 'rows:[0,1,2,3,4,5],columns:[2|Loc_Nbr,3|Loc_Type]')
		select('Table', 'rows:[0,1,2,3,4,5],columns:[3|Loc_Type]')
		select_menu('View>>Column View #{Selected Records#}')
##		select('Table2', 'rows:[0,1,2,3,4,5],columns:[2|Loc_Nbr,3|Loc_Type]')
		select('Table', 'cell:Row 1,0(TAR)')
		assert_p('Table1', 'Text', '', 'Len,0')

		select('Table', 'cell:Row 1,1(5839)')
		assert_p('Table', 'Content', '[[TAR, TAR, TAR, TAR, TAR, TAR], [5839, 5850, 5853, 5866, 5015, 5019], [DC, DC, DC, DC, ST, ST], [DC - Taras Ave, VIC West Ad Support, NSW North Sydney Ad Support, WA Ad Support, Bankstown, Penrith], [, , , , Bankstown, Penrith], [30-68 Taras Ave, Lot 2 Little Boundary Rd, , , Unit 2, 39-41 Allingham Street, 58 Leland Street], [Altona North, Laverton, , , Condell Park, Penrith], [3025, 3028, , , 2200, 2750], [VIC, VIC, , , NSW, NSW], [A, A, A, A, A, A]]')
		select('Table', 'cell:Row 1,1(5839)')
		click('BasicInternalFrameTitlePane$NoFocusButton2')
		select('Table', 'rows:[0,1,2,3,4,5],columns:[2|Loc_Nbr,3|Loc_Type]')
		select('Table', 'rows:[8,11,15],columns:[2|Loc_Nbr,3|Loc_Type]')
		click('BasicInternalFrameTitlePane$NoFocusButton2')
	close()
Пример #4
0
def test():
    from Modules import commonBits
    java_recorded_version = '1.6.0_03'

    if window(commonBits.applicationName()):
        click('FileSearch')
        if window('Open'):
            select(commonBits.selectPaneFn(), 'Ams_LocDownload_20041228.bin')
            click('Open')
        close()

        click('Edit1')
        rightclick('LinesTbl', '4|Loc_Name,0')
        select_menu('Edit Record')
        click('Find1')
        #	click('MetalInternalFrameTitlePane', 193, 6)
        select('TextField', 'West')
        click('Find1')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,3(VIC West Ad Support)')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,3(VIC West Ad Support)')
        assert_p('BaseLineAsColumn$LineAsColTbl', 'Text',
                 'VIC West Ad Support', 'Data,3')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,3(VIC West Ad Support)')
        click('Find1')
        click('Find1')
        ##		click('Find1')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(Westfield Shoppingtown)')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(Westfield Shoppingtown)')
        assert_p('BaseLineAsColumn$LineAsColTbl', 'Text',
                 'Westfield Shoppingtown', 'Data,4')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(Westfield Shoppingtown)')
        click('Find1')
        click('Find1')
        ##		click('Find1')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(Westfield Phoenix Plaza)')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(Westfield Phoenix Plaza)')
        assert_p('BaseLineAsColumn$LineAsColTbl', 'Text',
                 'Westfield Phoenix Plaza', 'Data,4')
    close()
Пример #5
0
def test():
    from Modules import commonBits
    java_recorded_version = '1.6.0_03'

    if window(commonBits.applicationName()):
        select_menu('Utilities>>Compare Menu')
        click('*1')
        click('FileSearch')
        if window('Open'):
            select(commonBits.selectPaneFn(),
                   'Ams_LocDownload_20041228_Extract.bin')
            click('Open')
        close()
        #commonBits.setRecordLayout2(select, 'ams Store')

        click('FileSearch1')

        if window('Open'):
            select(commonBits.selectPane(),
                   'Ams_LocDownload_20041228_Extract2.bin')
            click('Open')
        close()

        click('Right')
        select('TabbedPane', '')
        select('Table1', 'cell:Include,4(true)')
        select('Table1', 'cell:Include,5(true)')
        select('Table1', 'cell:Include,6(true)')
        click('Right')
        select('TabbedPane', '')
        click('Compare')
        select('Table', 'cell:Loc_Name,6(Miranda)')
        assert_p('Table', 'Text', 'Miranda', 'Loc_Name,6')
        select('Table', 'cell:Loc_Name,6(Miranda)')
        assert_p(
            'Table', 'Content',
            '[[, , , , , , , , , ], [, Inserted, 1, TAR, 5839, DC, DC - Taras Ave, 3025, VIC, A], [, , , , , , , , , ], [, Inserted, 2, TAR, 5850, DC, VIC West Ad Support, 3028, VIC, A], [, Old, 4, TAR, 5035, ST, Rockdale, 2019, NSW, A], [, New, 6, , 5096, , Canberra Civic, 2601, ACT, ], [, Old, 5, TAR, 5037, ST, Miranda, 2228, NSW, A], [, New, 7, , 5012, , Ringwood, 3134, VIC, ], [, Old, 6, TAR, 5052, ST, Eastwood, 2148, NSW, A], [, New, 8, , 5030, , Epping, 3076, VIC, ], [, Old, 7, TAR, 5055, ST, Leichhardt, 2040, NSW, A], [, New, 9, , 5054, , Highpoint City, 3028, VIC, ], [, Old, 8, TAR, 5060, ST, St Marys, 2760, NSW, A], [, New, 10, , 5062, , Castletown, 4810, QLD, ], [, Old, 9, TAR, 5070, ST, Bass Hill, 2197, NSW, A], [, New, 11, , 5138, , Cairns Central, 4870, QLD, ], [, Old, 10, TAR, 5074, ST, Campbelltown, 2560, NSW, A], [, New, 12, , 5141, , The Willows, 4817, QLD, ], [, Old, 11, TAR, 5078, ST, Warringah Mall, 2086, NSW, A], [, New, 13, , 5146, , Palmerston, 830, NT, ], [, Old, 12, TAR, 5081, ST, Ashfield, 2131, NSW, A], [, New, 14, , 5002, , Coffs Harbour, 2450, , ], [, Old, 13, TAR, 5085, ST, Roselands, 2200, NSW, A], [, New, 15, , 5966, DC, Huntingwood DC, 2148, , ], [, , , , , , , , , ], [, Inserted, 16, TAR, 5967, DC, Hendra DC, 4011, QLD, A], [, , , , , , , , , ], [, Inserted, 17, TAR, 5968, DC, Beverly DC, 5009, SA, A]]'
        )
        select('Table', 'cell:Loc_Name,21(Coffs Harbour)')
        assert_p('Table', 'Text', 'Coffs Harbour', 'Loc_Name,21')
        select('Table', 'cell:Loc_Name,21(Coffs Harbour)')
        click('BasicInternalFrameTitlePane$NoFocusButton2')
    close()
Пример #6
0
def test():
	from Modules import commonBits
	java_recorded_version = '1.6.0_03'

	if window('Protocol Buffer Editor'):
		select_menu('Utilities>>Compare Menu')
		click('*1')
		click('Choose File')

		if window('Open'):
			select(commonBits.selectPaneFn(), 'Ams_LocDownload_20041228_Extract.bin')
			click('Open')
		close()
		#commonBits.setRecordLayout2(select, 'ams Store')

		click('Choose File1')

		if window('Open'):
			select(commonBits.selectPane(), 'Ams_LocDownload_20041228_Extract2.bin')
			click('Open')
		close()

		click('Right')
		select('TabbedPane', '')
		select('Table1', 'cell:Include,4(true)')
		select('Table1', 'cell:Include,5(true)')
		select('Table1', 'cell:Include,6(true)')
		click('Right')
		select('TabbedPane', '')
		click('Compare')
		select('Table', 'cell:Loc_Name,6(Miranda)')
		assert_p('Table', 'Text', 'Miranda', 'Loc_Name,6')
		select('Table', 'cell:Loc_Name,6(Miranda)')
		assert_p('Table', 'Content', '[[, , , , , , , , , ], [, Inserted, 1, TAR, 5839, DC, DC - Taras Ave, 3025, VIC, A], [, , , , , , , , , ], [, Inserted, 2, TAR, 5850, DC, VIC West Ad Support, 3028, VIC, A], [, Old, 4, TAR, 5035, ST, Rockdale, 2019, NSW, A], [, New, 6, , 5096, , Canberra Civic, 2601, ACT, ], [, Old, 5, TAR, 5037, ST, Miranda, 2228, NSW, A], [, New, 7, , 5012, , Ringwood, 3134, VIC, ], [, Old, 6, TAR, 5052, ST, Eastwood, 2148, NSW, A], [, New, 8, , 5030, , Epping, 3076, VIC, ], [, Old, 7, TAR, 5055, ST, Leichhardt, 2040, NSW, A], [, New, 9, , 5054, , Highpoint City, 3028, VIC, ], [, Old, 8, TAR, 5060, ST, St Marys, 2760, NSW, A], [, New, 10, , 5062, , Castletown, 4810, QLD, ], [, Old, 9, TAR, 5070, ST, Bass Hill, 2197, NSW, A], [, New, 11, , 5138, , Cairns Central, 4870, QLD, ], [, Old, 10, TAR, 5074, ST, Campbelltown, 2560, NSW, A], [, New, 12, , 5141, , The Willows, 4817, QLD, ], [, Old, 11, TAR, 5078, ST, Warringah Mall, 2086, NSW, A], [, New, 13, , 5146, , Palmerston, 830, NT, ], [, Old, 12, TAR, 5081, ST, Ashfield, 2131, NSW, A], [, New, 14, , 5002, , Coffs Harbour, 2450, , ], [, Old, 13, TAR, 5085, ST, Roselands, 2200, NSW, A], [, New, 15, , 5966, DC, Huntingwood DC, 2148, , ], [, , , , , , , , , ], [, Inserted, 16, TAR, 5967, DC, Hendra DC, 4011, QLD, A], [, , , , , , , , , ], [, Inserted, 17, TAR, 5968, DC, Beverly DC, 5009, SA, A]]')
		select('Table', 'cell:Loc_Name,21(Coffs Harbour)')
		assert_p('Table', 'Text', 'Coffs Harbour', 'Loc_Name,21')
		select('Table', 'cell:Loc_Name,21(Coffs Harbour)')
		click('BasicInternalFrameTitlePane$NoFocusButton2')
	close()
Пример #7
0
def test():
	from Modules import commonBits
	java_recorded_version = '1.6.0_03'

	if window('Protocol Buffer Editor'):
		click('Choose File')

		if window('Open'):
##			select(commonBits.selectPane(), 'Ams_LocDownload_20041228.bin')
			select(commonBits.selectPaneFn(), 'ams_locdownload_20041228.bin')
			click('Open')
		close()

		#commonBits.setRecordLayout(select, 'ams Store')

		click('Edit1')
		select('Table', '1', '5|Loc_Addr_Ln1,0')
		select('Table', '22', '5|Loc_Addr_Ln1,1')
		select('Table', '33', '6|Loc_Addr_Ln2,2')
		select('Table', 'cell:7|Loc_Addr_Ln3,2()')
		select_menu('Utilities>>Compare with Disk')
##		select('Table1', 'cell:7|Loc_Addr_Ln3,2()')
		select('Table', 'cell:Loc_Name,0(DC - Taras Ave)')
		assert_p('Table', 'Text', 'DC - Taras Ave', 'Loc_Name,0')
		select('Table', 'cell:Loc_Name,0(DC - Taras Ave)')
##		assert_p('Table', 'Content', '[[, Old, 1, TAR, 5839, DC, DC - Taras Ave, 1, 30-68 Taras Ave, Altona North, 3025, VIC, A], [, New, 1, , , , , , , , , , ], [, Old, 2, TAR, 5850, DC, VIC West Ad Support, 22, Lot 2 Little Boundary Rd, Laverton, 3028, VIC, A], [, New, 2, , , , , , , , , , ], [, Old, 3, TAR, 5853, DC, NSW North Sydney Ad Support, , 33, , , , A], [, New, 3, , , , , , , , , , ]]')
		assert_p('Table', 'Content', '[[, Old, 1, TAR, 5839, DC, DC - Taras Ave, , 30-68 Taras Ave, Altona North, 3025, VIC, A], [, New, 1, , , , , 1, , , , , ], [, Old, 2, TAR, 5850, DC, VIC West Ad Support, , Lot 2 Little Boundary Rd, Laverton, 3028, VIC, A], [, New, 2, , , , , 22, , , , , ], [, Old, 3, TAR, 5853, DC, NSW North Sydney Ad Support, , , , , , A], [, New, 3, , , , , , 33, , , , ]]')

##		zzzzzz
		select('Table', 'cell:Loc_Name,0(DC - Taras Ave)')
		click('BasicInternalFrameTitlePane$NoFocusButton2')
		select('Table', 'cell:7|Loc_Addr_Ln3,2()')
		select('Table', 'cell:7|Loc_Addr_Ln3,2()')

##		if window(r'Save Changes to file: C:\Program Files\RecordEdit\HSQLDB\SampleFiles\Ams_LocDownload_20041228.bin'):
##			click('No')
##			click('No')
##		close()
	close()
Пример #8
0
def test():
	from Modules import commonBits
	java_recorded_version = '1.6.0_03'

	if window(commonBits.applicationName()):
		click('FileSearch')
		if window('Open'):
##			select(commonBits.selectPane(), 'Ams_LocDownload_20041228.bin')
			select(commonBits.selectPaneFn(), 'Ams_LocDownload_20041228.bin')
			click('Open')
		close()

		#commonBits.setRecordLayout(select, 'ams Store')

		click('Edit1')
		select('LinesTbl', '1', '5|Loc_Addr_Ln1,0')
		select('LinesTbl', '22', '5|Loc_Addr_Ln1,1')
		select('LinesTbl', '33', '6|Loc_Addr_Ln2,2')
		select('LinesTbl', 'cell:7|Loc_Addr_Ln3,2()')
		select_menu('Utilities>>Compare with Disk')
##		select('Table1', 'cell:7|Loc_Addr_Ln3,2()')
		select('Table', 'cell:Loc_Name,0(DC - Taras Ave)')
		assert_p('Table', 'Text', 'DC - Taras Ave', 'Loc_Name,0')
		select('Table', 'cell:Loc_Name,0(DC - Taras Ave)')
##		assert_p('Table', 'Content', '[[, Old, 1, TAR, 5839, DC, DC - Taras Ave, 1, 30-68 Taras Ave, Altona North, 3025, VIC, A], [, New, 1, , , , , , , , , , ], [, Old, 2, TAR, 5850, DC, VIC West Ad Support, 22, Lot 2 Little Boundary Rd, Laverton, 3028, VIC, A], [, New, 2, , , , , , , , , , ], [, Old, 3, TAR, 5853, DC, NSW North Sydney Ad Support, , 33, , , , A], [, New, 3, , , , , , , , , , ]]')
		assert_p('Table', 'Content', '[[, Old, 1, TAR, 5839, DC, DC - Taras Ave, , 30-68 Taras Ave, Altona North, 3025, VIC, A], [, New, 1, , , , , 1, , , , , ], [, Old, 2, TAR, 5850, DC, VIC West Ad Support, , Lot 2 Little Boundary Rd, Laverton, 3028, VIC, A], [, New, 2, , , , , 22, , , , , ], [, Old, 3, TAR, 5853, DC, NSW North Sydney Ad Support, , , , , , A], [, New, 3, , , , , , 33, , , , ]]')

##		zzzzzz
		select('Table', 'cell:Loc_Name,0(DC - Taras Ave)')
		click('BasicInternalFrameTitlePane$NoFocusButton2')
		select('LinesTbl', 'cell:7|Loc_Addr_Ln3,2()')
		select('LinesTbl', 'cell:7|Loc_Addr_Ln3,2()')

##		if window(r'Save Changes to file: C:\Program Files\RecordEdit\HSQLDB\SampleFiles\Ams_LocDownload_20041228.bin'):
##			click('No')
##			click('No')
##		close()
	close()
Пример #9
0
def test():
    from Modules import commonBits

    java_recorded_version = '1.6.0_03'

    if window(commonBits.applicationName()):
        click('FileSearch')
        if window('Open'):
            ##			select('FilePane$3', 'Ams_LocDownload_20041228.bin')
            select(commonBits.selectPaneFn(), 'Ams_LocDownload_20041228.bin')
            click('Open')
        close()

        select('FileNameTxtFld1',
               commonBits.stdCopybookDir() + 'Ams_Location.protocomp')

        #commonBits.setRecordLayout(select, 'ams Store')

        click('Edit1')
        ##		select('Table', 'rows:[0,1,2,3,4,5],columns:[2|Loc_Nbr,3|Loc_Type]')
        select('LinesTbl', 'rows:[0,1,2,3,4,5],columns:[3|Loc_Type]')
        select_menu('View>>Column View #{Selected Records#}')
        ##		select('Table2', 'rows:[0,1,2,3,4,5],columns:[2|Loc_Nbr,3|Loc_Type]')
        select('BaseLineAsColumn$LineAsColTbl', 'cell:Row 1,0(TAR)')
        assert_p('Table', 'Text', '', 'Len,0')

        select('BaseLineAsColumn$LineAsColTbl', 'cell:Row 1,1(5839)')
        assert_p(
            'BaseLineAsColumn$LineAsColTbl', 'Content',
            '[[TAR, TAR, TAR, TAR, TAR, TAR], [5839, 5850, 5853, 5866, 5015, 5019], [DC, DC, DC, DC, ST, ST], [DC - Taras Ave, VIC West Ad Support, NSW North Sydney Ad Support, WA Ad Support, Bankstown, Penrith], [, , , , Bankstown, Penrith], [30-68 Taras Ave, Lot 2 Little Boundary Rd, , , Unit 2, 39-41 Allingham Street, 58 Leland Street], [Altona North, Laverton, , , Condell Park, Penrith], [3025, 3028, , , 2200, 2750], [VIC, VIC, , , NSW, NSW], [A, A, A, A, A, A]]'
        )
        select('BaseLineAsColumn$LineAsColTbl', 'cell:Row 1,1(5839)')
        click('BasicInternalFrameTitlePane$NoFocusButton2')
        select('LinesTbl', 'rows:[0,1,2,3,4,5],columns:[2|Loc_Nbr,3|Loc_Type]')
        select('LinesTbl', 'rows:[8,11,15],columns:[2|Loc_Nbr,3|Loc_Type]')
        click('BasicInternalFrameTitlePane$NoFocusButton2')
    close()
Пример #10
0
def test():
	from Modules import commonBits
	java_recorded_version = '1.6.0_03'

	if window('Protocol Buffer Editor'):
		click('Choose File')

		if window('Open'):
			select(commonBits.selectPaneFn(), 'ams_locdownload_20041228.bin')
			click('Open')
		close()

		click('Edit1')
		rightclick('Table', '4|Loc_Name,0')
		select_menu('Edit Record')
		click('Find1')
	#	click('MetalInternalFrameTitlePane', 193, 6)
		select('TextField', 'West')
		click('Find1')
		select('Table', 'cell:Data,3(VIC West Ad Support)')
		select('Table', 'cell:Data,3(VIC West Ad Support)')
		assert_p('Table', 'Text', 'VIC West Ad Support', 'Data,3')
		select('Table', 'cell:Data,3(VIC West Ad Support)')
		click('Find1')
		click('Find1')
##		click('Find1')
		select('Table', 'cell:Data,4(Westfield Shoppingtown)')
		select('Table', 'cell:Data,4(Westfield Shoppingtown)')
		assert_p('Table', 'Text', 'Westfield Shoppingtown', 'Data,4')
		select('Table', 'cell:Data,4(Westfield Shoppingtown)')
		click('Find1')
		click('Find1')
##		click('Find1')
		select('Table', 'cell:Data,4(Westfield Phoenix Plaza)')
		select('Table', 'cell:Data,4(Westfield Phoenix Plaza)')
		assert_p('Table', 'Text', 'Westfield Phoenix Plaza', 'Data,4')
	close()
Пример #11
0
def test():
	from Modules import commonBits
	java_recorded_version = '1.6.0_03'

	if window('Protocol Buffer Editor'):
		click('Choose File')

		if window('Open'):
			select(commonBits.selectPaneFn(), 'ams_locdownload_20041228.bin')
			click('Open')
		close()

		#commonBits.setRecordLayout(select, 'ams Store')

		click('Edit1')
		select('Table', 'cell:1|Brand_Id,2(TAR)')
		rightclick('Table', '1|Brand_Id,2')
		select_menu('Edit Record')
##		select('Table1', 'cell:1 - 3|Brand_Id,2(TAR)')
		click('Find1')
##		click('MetalInternalFrameTitlePane', 230, 8)
		select('TextField', 'West')
		select('TextField1', 'West_')
		select('ComboBox', 'All Fields')
		click('Replace')
##		select('Table', '')
		select('Table', 'cell:Data,4(West_field Shoppingtown)')
		select('Table', 'cell:Data,4(West_field Shoppingtown)')
		assert_p('Table', 'Text', 'West_field Shoppingtown', 'Data,4')
		select('Table', 'cell:Data,4(West_field Shoppingtown)')
##		click('MetalInternalFrameTitlePane', 253, 21)
		click('Find1')
##		click('MetalInternalFrameTitlePane', 80, 17)
		select('ComboBox', 'All Fields')
		click('Find1')
		assert_p('Table', 'Text', 'Westfield Phoenix Plaza', 'Data,4')
		click('Find1')
##		click('MetalInternalFrameTitlePane', 80, 17)
		select('ComboBox', 'All Fields')
		click('Find1')
##		click('Replace')
##		select('ComboBox', 'All Fields')
		click('Replace')
		select('Table', 'cell:Data,4(West_field Phoenix Plaza)')
		select('Table', 'cell:Data,4(West_field Phoenix Plaza)')
##		assert_p('Table', 'Text', 'West_field Phoenix Plaza', 'Data,4')
		select('Table', 'cell:Data,4(West_field Phoenix Plaza)')
		click('Find1')
##		click('MetalInternalFrameTitlePane', 80, 17)
		select('ComboBox', 'All Fields')
		click('Find1')
		click('Replace')
##		select('Table', '')
		select('Table', 'cell:Data,4(West_field Shoppingtown Eastgardens)')
		select('Table', 'cell:Data,4(West_field Shoppingtown Eastgardens)')
##		assert_p('Table', 'Text', '152 Bunnerong Road', 'Data,5')
		select('Table', 'cell:Data,4(West_field Shoppingtown Eastgardens)')
		click('BasicInternalFrameTitlePane$NoFocusButton2')
		select('Table', 'cell:1|Brand_Id,2(TAR)')
		select('Table', 'cell:1|Brand_Id,2(TAR)')

		click('BasicInternalFrameTitlePane$NoFocusButton2')
		click('BasicInternalFrameTitlePane$NoFocusButton2')

#		if window(r'Save Changes to file: ' + commonBits.implementationSampleDir() + 'Ams_LocDownload_20041228.bin'):
#			click('No')
#		close()
	close()
Пример #12
0
def test():
    from Modules import commonBits
    java_recorded_version = '1.6.0_03'

    if window(commonBits.applicationName()):
        click('FileSearch')
        if window('Open'):
            select(commonBits.selectPaneFn(), 'Ams_LocDownload_20041228.bin')
            click('Open')
        close()

        #commonBits.setRecordLayout(select, 'ams Store')

        click('Edit1')
        select('LinesTbl', 'cell:1|Brand_Id,2(TAR)')
        rightclick('LinesTbl', '1|Brand_Id,2')
        select_menu('Edit Record')
        ##		select('Table1', 'cell:1 - 3|Brand_Id,2(TAR)')
        click('Find1')
        ##		click('MetalInternalFrameTitlePane', 230, 8)
        select('TextField', 'West')
        select('TextField1', 'West_')
        select('ComboBox', 'All Fields')
        click('Replace')
        ##		select('BaseLineAsColumn$LineAsColTbl', '')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(West_field Shoppingtown)')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(West_field Shoppingtown)')
        assert_p('BaseLineAsColumn$LineAsColTbl', 'Text',
                 'West_field Shoppingtown', 'Data,4')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(West_field Shoppingtown)')
        ##		click('MetalInternalFrameTitlePane', 253, 21)
        click('Find1')
        ##		click('MetalInternalFrameTitlePane', 80, 17)
        select('ComboBox', 'All Fields')
        click('Find1')
        assert_p('BaseLineAsColumn$LineAsColTbl', 'Text',
                 'Westfield Phoenix Plaza', 'Data,4')
        click('Find1')
        ##		click('MetalInternalFrameTitlePane', 80, 17)
        select('ComboBox', 'All Fields')
        click('Find1')
        ##		click('Replace')
        ##		select('ComboBox', 'All Fields')
        click('Replace')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(West_field Phoenix Plaza)')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(West_field Phoenix Plaza)')
        ##		assert_p('BaseLineAsColumn$LineAsColTbl', 'Text', 'West_field Phoenix Plaza', 'Data,4')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(West_field Phoenix Plaza)')
        click('Find1')
        ##		click('MetalInternalFrameTitlePane', 80, 17)
        select('ComboBox', 'All Fields')
        click('Find1')
        click('Replace')
        ##		select('BaseLineAsColumn$LineAsColTbl', '')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(West_field Shoppingtown Eastgardens)')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(West_field Shoppingtown Eastgardens)')
        ##		assert_p('BaseLineAsColumn$LineAsColTbl', 'Text', '152 Bunnerong Road', 'Data,5')
        select('BaseLineAsColumn$LineAsColTbl',
               'cell:Data,4(West_field Shoppingtown Eastgardens)')
        click('BasicInternalFrameTitlePane$NoFocusButton2')
        select('LinesTbl', 'cell:1|Brand_Id,2(TAR)')
        select('LinesTbl', 'cell:1|Brand_Id,2(TAR)')

        click('BasicInternalFrameTitlePane$NoFocusButton2')
        click('BasicInternalFrameTitlePane$NoFocusButton2')

#		if window(r'Save Changes to file: ' + commonBits.implementationSampleDir() + 'Ams_LocDownload_20041228.bin'):
#			click('No')
#		close()
    close()
Пример #13
0
def test():
    from Modules import commonBits

    java_recorded_version = "1.6.0_03"

    if window("Protocol Buffer Editor"):
        select_menu("Utilities>>Compare Menu")
        click("*1")
        click("Choose File")

        if window("Open"):
            select(commonBits.selectPaneFn(), "Ams_LocDownload_20041228_Extract.bin")
            click("Open")
        close()

        click("Choose File1")

        if window("Open"):
            select(commonBits.selectPaneFn(), "Ams_LocDownload_20041228_Extract2.bin")
            click("Open")
        close()

        # commonBits.setRecordLayout2(select, 'ams Store')

        click("Right")
        select("TabbedPane", "")
        click("Right")
        select("TabbedPane", "")
        click("Choose File")

        if window("Save"):
            ##			select(commonBits.selectPane(), 'Compare')
            ##			doubleclick(commonBits.selectPane(), '0')
            if commonBits.isWindowsLook():
                select(commonBits.selectPane(), "zzTest_asmLocation.Xml")
            else:
                select("File Name", "zzTest_asmLocation.Xml")
            click("Save")
        close()

        click("Save1")
        assert_p("TextField", "Text", "")
        assert_p("TextArea", "Text", "")
        click("Compare")
        select("Table", "cell:Loc_Name,3(VIC West Ad Support)")
        assert_p("Table", "Text", "VIC West Ad Support", "Loc_Name,3")
        select("Table", "cell:Loc_Name,6(Miranda)")
        assert_p("Table", "Text", "Miranda", "Loc_Name,6")
        select("Table", "cell:Loc_Name,7(Ringwood)")
        assert_p(
            "Table",
            "Content",
            "[[, , , , , , , , , , , , ], [, Inserted, 1, TAR, 5839, DC, DC - Taras Ave, , 30-68 Taras Ave, Altona North, 3025, VIC, A], [, , , , , , , , , , , , ], [, Inserted, 2, TAR, 5850, DC, VIC West Ad Support, , Lot 2 Little Boundary Rd, Laverton, 3028, VIC, A], [, Old, 4, TAR, 5035, ST, Rockdale, Building B,  Portside DC, 2-8 Mc Pherson Street, Botany, 2019, NSW, A], [, New, 6, , 5096, , Canberra Civic, Target Canberra, Canberra City Centre, Akuna Ave, Canberra, 2601, ACT, ], [, Old, 5, TAR, 5037, ST, Miranda, Westfield Shoppingtown, Cnr. Urunga Pde & The Kingsway, Miranda, 2228, NSW, A], [, New, 7, , 5012, , Ringwood, Ringwood, Seymour Street, Ringwood, 3134, VIC, ], [, Old, 6, TAR, 5052, ST, Eastwood, Marayong Offsite Reserve, 11 Melissa Place, Marayong, 2148, NSW, A], [, New, 8, , 5030, , Epping, Epping Plaza Shopping Centre, Cnr. High & Cooper Streets, Epping, 3076, VIC, ], [, Old, 7, TAR, 5055, ST, Leichhardt, Marketown, Marion Street, Leichhardt, 2040, NSW, A], [, New, 9, , 5054, , Highpoint City, Laverton, Lot 2, Cnr Lt Boundry & Old Geelong Road, Laverton, 3028, VIC, ], [, Old, 8, TAR, 5060, ST, St Marys, St. Mary's, Charles Hackett Drive, St Mary's, 2760, NSW, A], [, New, 10, , 5062, , Castletown, Townsville, Cnr. Woolcock St. & Kings Road, Townsville, 4810, QLD, ], [, Old, 9, TAR, 5070, ST, Bass Hill, Bass Hill Plaza, 753 Hume Highway, Bass Hill, 2197, NSW, A], [, New, 11, , 5138, , Cairns Central, Cairns, Cnr. McLeod & Aplin Streets, Cairns, 4870, QLD, ], [, Old, 10, TAR, 5074, ST, Campbelltown, Campbelltown Mall, 303 Queen Street, Campbelltown, 2560, NSW, A], [, New, 12, , 5141, , The Willows, Thuringowa Central, Cnr Thuringowa Drive &  Range Rd, Thuringowa Central, 4817, QLD, ], [, Old, 11, TAR, 5078, ST, Warringah Mall, Frenchs Forest, Units 2-3, 14 Aquatic Drive, Frenchs Forest, 2086, NSW, A], [, New, 13, , 5146, , Palmerston, Palmerston Shopping Centre, Temple Terrace, Palmerston, 830, NT, ], [, Old, 12, TAR, 5081, ST, Ashfield, Ashfield Mall, Knox Street, Ashfield, 2131, NSW, A], [, New, 14, , 5002, , Coffs Harbour, Coffs Harbour, Cnr. Park Beach Road & Pacific Hwy, Coffs Harbour, 2450, , ], [, Old, 13, TAR, 5085, ST, Roselands, Condell park, Unit 2, 39-41 Allingham Street, Condell Park, 2200, NSW, A], [, New, 15, , 5966, DC, Huntingwood DC, Huntingwood DC, 35 Huntingwood Drive, Huntingwood, 2148, , ], [, , , , , , , , , , , , ], [, Inserted, 16, TAR, 5967, DC, Hendra DC, Hendra DC, Cnr Headly Ave & Nudgee Road, Hendra, 4011, QLD, A], [, , , , , , , , , , , , ], [, Inserted, 17, TAR, 5968, DC, Beverly DC, Beverly DC, 117 Main Street, Beverly, 5009, SA, A]]",
        )
        select("Table", "cell:Loc_Name,7(Ringwood)")
        click("BasicInternalFrameTitlePane$NoFocusButton2")
        click("BasicInternalFrameTitlePane$NoFocusButton2")
        click("*")
        select("FileChooser", commonBits.userDir() + "Compare" + commonBits.fileSep() + "zzTest_asmLocation.Xml")
        click("Run Compare")
        select("Table", "cell:Loc_Name,11(Highpoint City)")
        assert_p("Table", "Text", "Laverton", "Loc_Addr_Ln1,11")
        select("Table", "cell:Loc_Name,14(Bass Hill)")
        assert_p("Table", "Text", "Bass Hill", "Loc_Name,14")
        select("Table", "cell:Loc_Name,16(Campbelltown)")
        assert_p(
            "Table",
            "Content",
            "[[, , , , , , , , , , , , ], [, Inserted, 1, TAR, 5839, DC, DC - Taras Ave, , 30-68 Taras Ave, Altona North, 3025, VIC, A], [, , , , , , , , , , , , ], [, Inserted, 2, TAR, 5850, DC, VIC West Ad Support, , Lot 2 Little Boundary Rd, Laverton, 3028, VIC, A], [, Old, 4, TAR, 5035, ST, Rockdale, Building B,  Portside DC, 2-8 Mc Pherson Street, Botany, 2019, NSW, A], [, New, 6, , 5096, , Canberra Civic, Target Canberra, Canberra City Centre, Akuna Ave, Canberra, 2601, ACT, ], [, Old, 5, TAR, 5037, ST, Miranda, Westfield Shoppingtown, Cnr. Urunga Pde & The Kingsway, Miranda, 2228, NSW, A], [, New, 7, , 5012, , Ringwood, Ringwood, Seymour Street, Ringwood, 3134, VIC, ], [, Old, 6, TAR, 5052, ST, Eastwood, Marayong Offsite Reserve, 11 Melissa Place, Marayong, 2148, NSW, A], [, New, 8, , 5030, , Epping, Epping Plaza Shopping Centre, Cnr. High & Cooper Streets, Epping, 3076, VIC, ], [, Old, 7, TAR, 5055, ST, Leichhardt, Marketown, Marion Street, Leichhardt, 2040, NSW, A], [, New, 9, , 5054, , Highpoint City, Laverton, Lot 2, Cnr Lt Boundry & Old Geelong Road, Laverton, 3028, VIC, ], [, Old, 8, TAR, 5060, ST, St Marys, St. Mary's, Charles Hackett Drive, St Mary's, 2760, NSW, A], [, New, 10, , 5062, , Castletown, Townsville, Cnr. Woolcock St. & Kings Road, Townsville, 4810, QLD, ], [, Old, 9, TAR, 5070, ST, Bass Hill, Bass Hill Plaza, 753 Hume Highway, Bass Hill, 2197, NSW, A], [, New, 11, , 5138, , Cairns Central, Cairns, Cnr. McLeod & Aplin Streets, Cairns, 4870, QLD, ], [, Old, 10, TAR, 5074, ST, Campbelltown, Campbelltown Mall, 303 Queen Street, Campbelltown, 2560, NSW, A], [, New, 12, , 5141, , The Willows, Thuringowa Central, Cnr Thuringowa Drive &  Range Rd, Thuringowa Central, 4817, QLD, ], [, Old, 11, TAR, 5078, ST, Warringah Mall, Frenchs Forest, Units 2-3, 14 Aquatic Drive, Frenchs Forest, 2086, NSW, A], [, New, 13, , 5146, , Palmerston, Palmerston Shopping Centre, Temple Terrace, Palmerston, 830, NT, ], [, Old, 12, TAR, 5081, ST, Ashfield, Ashfield Mall, Knox Street, Ashfield, 2131, NSW, A], [, New, 14, , 5002, , Coffs Harbour, Coffs Harbour, Cnr. Park Beach Road & Pacific Hwy, Coffs Harbour, 2450, , ], [, Old, 13, TAR, 5085, ST, Roselands, Condell park, Unit 2, 39-41 Allingham Street, Condell Park, 2200, NSW, A], [, New, 15, , 5966, DC, Huntingwood DC, Huntingwood DC, 35 Huntingwood Drive, Huntingwood, 2148, , ], [, , , , , , , , , , , , ], [, Inserted, 16, TAR, 5967, DC, Hendra DC, Hendra DC, Cnr Headly Ave & Nudgee Road, Hendra, 4011, QLD, A], [, , , , , , , , , , , , ], [, Inserted, 17, TAR, 5968, DC, Beverly DC, Beverly DC, 117 Main Street, Beverly, 5009, SA, A]]",
        )
    close()
Пример #14
0
def test():
    from Modules import commonBits
    java_recorded_version = '1.6.0_03'

    if window(commonBits.applicationName()):
        select_menu('Utilities>>Compare Menu')
        click('*1')
        click('FileSearch')
        if window('Open'):
            select(commonBits.selectPaneFn(),
                   'Ams_LocDownload_20041228_Extract.bin')

            click('Open')
        close()

        click('FileSearch1')

        if window('Open'):
            select(commonBits.selectPaneFn(),
                   'Ams_LocDownload_20041228_Extract2.bin')
            click('Open')
        close()

        #commonBits.setRecordLayout2(select, 'ams Store')

        click('Right')
        select('TabbedPane', '')
        click('Right')
        select('TabbedPane', '')
        click('FileSearch')
        if window('Save'):
            ##			select(commonBits.selectPane(), 'Compare')
            ##			doubleclick(commonBits.selectPane(), '0')
            if commonBits.isWindowsLook():
                select(commonBits.selectPane(), 'zzTest_asmLocation.Xml')
            else:
                select('File Name', 'zzTest_asmLocation.Xml')
            click('Save')

        close()

        click('Save1')
        assert_p('TextField', 'Text', '')
        assert_p('TextArea', 'Text', '')
        click('Compare')
        select('Table', 'cell:Loc_Name,3(VIC West Ad Support)')
        assert_p('Table', 'Text', 'VIC West Ad Support', 'Loc_Name,3')
        select('Table', 'cell:Loc_Name,6(Miranda)')
        assert_p('Table', 'Text', 'Miranda', 'Loc_Name,6')
        select('Table', 'cell:Loc_Name,7(Ringwood)')
        assert_p(
            'Table', 'Content',
            '[[, , , , , , , , , , , , ], [, Inserted, 1, TAR, 5839, DC, DC - Taras Ave, , 30-68 Taras Ave, Altona North, 3025, VIC, A], [, , , , , , , , , , , , ], [, Inserted, 2, TAR, 5850, DC, VIC West Ad Support, , Lot 2 Little Boundary Rd, Laverton, 3028, VIC, A], [, Old, 4, TAR, 5035, ST, Rockdale, Building B,  Portside DC, 2-8 Mc Pherson Street, Botany, 2019, NSW, A], [, New, 6, , 5096, , Canberra Civic, Target Canberra, Canberra City Centre, Akuna Ave, Canberra, 2601, ACT, ], [, Old, 5, TAR, 5037, ST, Miranda, Westfield Shoppingtown, Cnr. Urunga Pde & The Kingsway, Miranda, 2228, NSW, A], [, New, 7, , 5012, , Ringwood, Ringwood, Seymour Street, Ringwood, 3134, VIC, ], [, Old, 6, TAR, 5052, ST, Eastwood, Marayong Offsite Reserve, 11 Melissa Place, Marayong, 2148, NSW, A], [, New, 8, , 5030, , Epping, Epping Plaza Shopping Centre, Cnr. High & Cooper Streets, Epping, 3076, VIC, ], [, Old, 7, TAR, 5055, ST, Leichhardt, Marketown, Marion Street, Leichhardt, 2040, NSW, A], [, New, 9, , 5054, , Highpoint City, Laverton, Lot 2, Cnr Lt Boundry & Old Geelong Road, Laverton, 3028, VIC, ], [, Old, 8, TAR, 5060, ST, St Marys, St. Mary\'s, Charles Hackett Drive, St Mary\'s, 2760, NSW, A], [, New, 10, , 5062, , Castletown, Townsville, Cnr. Woolcock St. & Kings Road, Townsville, 4810, QLD, ], [, Old, 9, TAR, 5070, ST, Bass Hill, Bass Hill Plaza, 753 Hume Highway, Bass Hill, 2197, NSW, A], [, New, 11, , 5138, , Cairns Central, Cairns, Cnr. McLeod & Aplin Streets, Cairns, 4870, QLD, ], [, Old, 10, TAR, 5074, ST, Campbelltown, Campbelltown Mall, 303 Queen Street, Campbelltown, 2560, NSW, A], [, New, 12, , 5141, , The Willows, Thuringowa Central, Cnr Thuringowa Drive &  Range Rd, Thuringowa Central, 4817, QLD, ], [, Old, 11, TAR, 5078, ST, Warringah Mall, Frenchs Forest, Units 2-3, 14 Aquatic Drive, Frenchs Forest, 2086, NSW, A], [, New, 13, , 5146, , Palmerston, Palmerston Shopping Centre, Temple Terrace, Palmerston, 830, NT, ], [, Old, 12, TAR, 5081, ST, Ashfield, Ashfield Mall, Knox Street, Ashfield, 2131, NSW, A], [, New, 14, , 5002, , Coffs Harbour, Coffs Harbour, Cnr. Park Beach Road & Pacific Hwy, Coffs Harbour, 2450, , ], [, Old, 13, TAR, 5085, ST, Roselands, Condell park, Unit 2, 39-41 Allingham Street, Condell Park, 2200, NSW, A], [, New, 15, , 5966, DC, Huntingwood DC, Huntingwood DC, 35 Huntingwood Drive, Huntingwood, 2148, , ], [, , , , , , , , , , , , ], [, Inserted, 16, TAR, 5967, DC, Hendra DC, Hendra DC, Cnr Headly Ave & Nudgee Road, Hendra, 4011, QLD, A], [, , , , , , , , , , , , ], [, Inserted, 17, TAR, 5968, DC, Beverly DC, Beverly DC, 117 Main Street, Beverly, 5009, SA, A]]'
        )
        select('Table', 'cell:Loc_Name,7(Ringwood)')
        click('BasicInternalFrameTitlePane$NoFocusButton2')
        click('BasicInternalFrameTitlePane$NoFocusButton2')
        click('*')
        select(
            'FileNameTxtFld',
            commonBits.userDir() + 'Compare' + commonBits.fileSep() +
            'zzTest_asmLocation.Xml')
        click('Run Compare')
        select('Table', 'cell:Loc_Name,11(Highpoint City)')
        assert_p('Table', 'Text', 'Laverton', 'Loc_Addr_Ln1,11')
        select('Table', 'cell:Loc_Name,14(Bass Hill)')
        assert_p('Table', 'Text', 'Bass Hill', 'Loc_Name,14')
        select('Table', 'cell:Loc_Name,16(Campbelltown)')
        assert_p(
            'Table', 'Content',
            '[[, , , , , , , , , , , , ], [, Inserted, 1, TAR, 5839, DC, DC - Taras Ave, , 30-68 Taras Ave, Altona North, 3025, VIC, A], [, , , , , , , , , , , , ], [, Inserted, 2, TAR, 5850, DC, VIC West Ad Support, , Lot 2 Little Boundary Rd, Laverton, 3028, VIC, A], [, Old, 4, TAR, 5035, ST, Rockdale, Building B,  Portside DC, 2-8 Mc Pherson Street, Botany, 2019, NSW, A], [, New, 6, , 5096, , Canberra Civic, Target Canberra, Canberra City Centre, Akuna Ave, Canberra, 2601, ACT, ], [, Old, 5, TAR, 5037, ST, Miranda, Westfield Shoppingtown, Cnr. Urunga Pde & The Kingsway, Miranda, 2228, NSW, A], [, New, 7, , 5012, , Ringwood, Ringwood, Seymour Street, Ringwood, 3134, VIC, ], [, Old, 6, TAR, 5052, ST, Eastwood, Marayong Offsite Reserve, 11 Melissa Place, Marayong, 2148, NSW, A], [, New, 8, , 5030, , Epping, Epping Plaza Shopping Centre, Cnr. High & Cooper Streets, Epping, 3076, VIC, ], [, Old, 7, TAR, 5055, ST, Leichhardt, Marketown, Marion Street, Leichhardt, 2040, NSW, A], [, New, 9, , 5054, , Highpoint City, Laverton, Lot 2, Cnr Lt Boundry & Old Geelong Road, Laverton, 3028, VIC, ], [, Old, 8, TAR, 5060, ST, St Marys, St. Mary\'s, Charles Hackett Drive, St Mary\'s, 2760, NSW, A], [, New, 10, , 5062, , Castletown, Townsville, Cnr. Woolcock St. & Kings Road, Townsville, 4810, QLD, ], [, Old, 9, TAR, 5070, ST, Bass Hill, Bass Hill Plaza, 753 Hume Highway, Bass Hill, 2197, NSW, A], [, New, 11, , 5138, , Cairns Central, Cairns, Cnr. McLeod & Aplin Streets, Cairns, 4870, QLD, ], [, Old, 10, TAR, 5074, ST, Campbelltown, Campbelltown Mall, 303 Queen Street, Campbelltown, 2560, NSW, A], [, New, 12, , 5141, , The Willows, Thuringowa Central, Cnr Thuringowa Drive &  Range Rd, Thuringowa Central, 4817, QLD, ], [, Old, 11, TAR, 5078, ST, Warringah Mall, Frenchs Forest, Units 2-3, 14 Aquatic Drive, Frenchs Forest, 2086, NSW, A], [, New, 13, , 5146, , Palmerston, Palmerston Shopping Centre, Temple Terrace, Palmerston, 830, NT, ], [, Old, 12, TAR, 5081, ST, Ashfield, Ashfield Mall, Knox Street, Ashfield, 2131, NSW, A], [, New, 14, , 5002, , Coffs Harbour, Coffs Harbour, Cnr. Park Beach Road & Pacific Hwy, Coffs Harbour, 2450, , ], [, Old, 13, TAR, 5085, ST, Roselands, Condell park, Unit 2, 39-41 Allingham Street, Condell Park, 2200, NSW, A], [, New, 15, , 5966, DC, Huntingwood DC, Huntingwood DC, 35 Huntingwood Drive, Huntingwood, 2148, , ], [, , , , , , , , , , , , ], [, Inserted, 16, TAR, 5967, DC, Hendra DC, Hendra DC, Cnr Headly Ave & Nudgee Road, Hendra, 4011, QLD, A], [, , , , , , , , , , , , ], [, Inserted, 17, TAR, 5968, DC, Beverly DC, Beverly DC, 117 Main Street, Beverly, 5009, SA, A]]'
        )
    close()