UI test is performed in pytest (test is performed good)
'''from page_objects import MainPage, LoginPage
def test_locate_best_accept(browser):
LoginPage(browser) \
.login_user(login='****_user', password="******")
MainPage(browser) \
.select_symbol(symbol='ACY') \
.select_quantity_symbol(quantity=600) \
.select_destination_best() \
.click_request_button() \
.accept_request()'''
After performing the step '.click_request_button()' I need to get and save in the 'python dictionary ' data from response WebSockets. How to implement it? I am new to automated testing
Aucun commentaire:
Enregistrer un commentaire