 | MessageBoxVerifyAndCloseMessageBox Method |
Najde jediný zobrazený messagebox, ověří jeho text podle zadaného řetězce a zavře jej pomocí daného tlačítka
Namespace:
TescoSW.MW.UITests.Common.PageModel.Components.Others
Assembly:
TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 15.2.7099.36746
Syntaxpublic static void VerifyAndCloseMessageBox(
string textValue,
GlobalValuesMessageBoxButtons buttonType = GlobalValuesMessageBoxButtons.OK
)
Parameters
- textValue
- Type: SystemString
Ověřovaný text messageboxu - buttonType (Optional)
- Type: TescoSW.MW.UITests.CommonGlobalValuesMessageBoxButtons
Tlačítko na které se má v messaboxu kliknout (povolené hodnoty enumu OK,No,Cancel), defaultně je nastavena hodnota OK
See Also