Quick Description
Building on the "If/Optional" logic, tests need to behave differently based on the execution context like browser type (Chrome vs Safari) or screen resolution (Mobile vs Desktop).
User Story
As a Cross-Browser Tester,
I want to use if/optional steps depending on the browser or resolution
so that I can handle mobile-specific menus or browser-specific popups in a single prompt.
General Approach
Examlple
Quick Description
Building on the "If/Optional" logic, tests need to behave differently based on the execution context like browser type (Chrome vs Safari) or screen resolution (Mobile vs Desktop).
User Story
As a Cross-Browser Tester,
I want to use if/optional steps depending on the browser or resolution
so that I can handle mobile-specific menus or browser-specific popups in a single prompt.
General Approach
Examlple
IF resolution less than 768px THEN Click "Hamburger Menu".IF browser is "Safari" THEN ....