Skip to content

inammar/Selenium-Try-Catch-Method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Try-Catch-Method

Project goal - to find exception in different cathegories when phrase "table" is entered in the Search field.

  1. startTest – navigates to the appropriate website with driver.get and accepts all cookie preferences.
  2. testActions – navigates to the Search field, clears it and enters the phrase “table” in the Search field.
  3. int[ ] ids – all categories in which the word "table" is searched. Examples of categories: “Furniture”, “Transport”, “Real Estate”, “Computing”, “Clothes, Footwear” and etc.
  4. Every category is visited using for loop.
  5. With Try-Catch Method exceptional category from all list of the same categories is found and additional action to accept decision is made.

About

Selenium Try Catch method

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages