Skip to content

Commit

Permalink
QA-7204 updated steps in webapps.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
kbo001 committed Nov 20, 2024
1 parent 786bb32 commit deaefad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion common_utilities/selenium/webapps.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,11 @@ def answer_repeated_questions(self, question_label, input_type, input_value):
elements = self.driver.find_elements(*answer_locator)
for position in range(1, len(elements) + 1):
per_answer_locator = (By.XPATH, self.per_answer_format.format(question_label, input_type, position))
self.wait_to_clear_and_send_keys(per_answer_locator, input_value)
self.scroll_to_element(per_answer_locator)
time.sleep(1)
self.clear(per_answer_locator)
self.send_keys(per_answer_locator, input_value)
time.sleep(2)
print(str(per_answer_locator), input_value)

def open_domain(self, current_url, domain_name):
Expand Down

0 comments on commit deaefad

Please sign in to comment.