Concept of creating the Self Healing Model - ( InProgress )
Hey folks, I'm currently working on implementing the concept of self-healing. Below is the initial draft of my script. I'll keep you posted on my progress and provide updates once I complete this task : Step 1: Utilize Selenium to scrape the current page and save the elements in a CSV file as outlined below. Step 2: Capture the attributes of each element and store them in a database. This can be done either manually or by implementing a script to update the scraped elements into the database. Step 3: Implement Self-Healing mechanisms for situations where the attribute of an element undergoes changes. Tests should be capable of identifying the correct element based on its alternative attributes, employing Machine Learning (ML) techniques. a. Train the ML model to determine the probability of each element. b. Training requires two datasets in CSV format. Step 4: Initiate model training exclusively when element-not-found exceptions (NoSuchElementException) occur. This ensures that...