Hi Team,
There are few scenario that need to automate:-
1:-First I need to pass WebUrl (any random Url),then in that url I ,need to find “Menu” ex:-where list of different type of item are available. ex:-restaurant/hotel web url.
1.1:-If “Menu” not find, Then message should displayed “No Pizza” in
message box .
2:-If “Menu” text find, then loop will enter inside & start finding “Pizza”
text/image, Then it should Count different type of Pizza are displayed in
that Webpage.(There are 3-condition in it) 3-Message need to displayed
according to condition.
2.1:-(A)-Select Primarily pizza if:
->They sell 5+ different pizza items on the menu
->This is the main entree that a restaurant sells (may include pasta,
salads, calzones, etc.)
->Often this will be the first thing on their menu (not counting
Starters/Appetizers)
(B)-Select Some pizza if:
->They sell 1-5 different pizza items on the menu
->The restaurant does sell pizza, but also has other entrees on the
menu (pizza is included on the menu but many guests might order
something different)
->Often this will not be the first thing on their menu (not counting
Starters/Appetizers)
(C)-Select No pizza if:
->There is no pizza on the menu
Note:- ->I need to find out “Menu” in the Web URL(any random Web
Url), whether it is a hotel/finance URL etc…
->if “Menu” text find then loop will go inside & perform above 3-pizza
conditions.
->if “Menu” not find then it should displayed message like “No Pizza”
Script build should be like that it will accept any random Web URL &
process according to above condition
There are 1-million Restaurants web url are officially are there. those are need to automate.
Need help on this.
Expecting “Xml” format logic build