redring
8 years agoRegular Visitor
Making code generic by storing images to an object
Here are two scenarios and I would like to know how to automate it. I am currently looking to keyword testing options but open for writing a script also.
Scenario 1:
I have web apps with different configuration- app A and app B. Both apps has an image to be clicked but the image is in different color in each app and wanted to test that the right image is loaded. I'm not sure how to store and retrieve the images based on which app is loaded.
Scenario 2:
Both apps has forms with different number of rows. How to automate entering values based on the row in these form and also check row's name is displayed correctly
Thank you!