I have added the following two Keywords to my Test Setup:
Test Setup Navigate to Home Page Home Page Card Is Visible
I navigate to the Home Page and verify that the Home Page Card is visible at the start of every test case. However, I have one test case that only needs these two keywords:
Home Page Card is visible on Home Page
I need this test case to pass as long as the Test Setup passes. And I would like to remove the two keywords from the test case itself. Is that possible with Robot Framework using the Browser Library?
Test Setup
section should be done by using run keywords
, likeTest Setup run keywords Navigate to Home Page AND Home Page Card Is Visible
Home Page Card is visible on Home Page
[Test Setup] # empty section removes setup defined above
Navigate to Home Page
Home Page Card Is Visible