Index: suite_leahi/tst_headerbar_information_popup/test.py =================================================================== diff -u -rf7c5babf0cceeac7cacd155523b3fca43ac25a95 -r5fba778211ba0dddf8e32cf60789e9afb6b44d62 --- suite_leahi/tst_headerbar_information_popup/test.py (.../test.py) (revision f7c5babf0cceeac7cacd155523b3fca43ac25a95) +++ suite_leahi/tst_headerbar_information_popup/test.py (.../test.py) (revision 5fba778211ba0dddf8e32cf60789e9afb6b44d62) @@ -1,4 +1,4 @@ -# Subject/Title: LDT-1650 HeaderBar - SW - 02 - Information - Q&R +# Subject/Title: LDT-1650 HeaderBar - SW - 02 - Information - Q&R and Misc SW Enhancements - SW - 02 - General Aesthetics - Q&R # # Functionalities: Testing all items of HeaderBar Information Pop up # @@ -10,6 +10,7 @@ # 5 Set and Compare Information Parameters at their Minimum values # 6 Set and Compare Information Parameters at their values Beyond the Maximum Allowed # 7 Set and Compare Information Parameters at their values Below the Minimum Allowed +# 8 Verify Information Pop-up SD Card Section import os import names @@ -153,7 +154,27 @@ ) test.endSection() + +def headerbar_information_popup_sd_card_section(): + """ + Method to verify Information Pop-up SD Card + """ + test.startSection("Verifying Information Pop-up SD Card Section") + # Compare SD Card Section Contents + for content in config.SD_CARD_SECTION_CONTENTS: + obj = waitForObjectExists( + utility.setObjectText(names.o_InformationParameters, content) + ) + test.compare( + obj.text, + content, + f"Comparison of Information Pop-up SD Card Section Contents: {content}", + ) + + test.endSection() + + def main(): utils.tstStart(__file__) # Set OS version @@ -288,5 +309,7 @@ dd_compatibility_rev = 0, dd_serial = "0" ) + + headerbar_information_popup_sd_card_section() utils.tstDone()