Vote count:
0
After getting some errors, and spending a week googling and asking, i came with resolution but cannot make sure if it's true or not
if you have two text fields, FirstName and LastName, you performed some actions on these controls, then refresh the page, if you try to perform another actions on these two controls the test will fail is this by any chance true??
because after working on two different pages,
first page has two different views, but some similar controls types, after performing some action on the page, the page will reload and display the second view. the playback will fails to find for example a submit button on the second view and keeps capturing the submit button from the first view. to pass this test, i had to navigate directly to prevent loading the first view, and directly loading the second view.
second page, is a search page, there're some field to fill to start the search, after that the page is redirected to the results page, by hitting a new search button the first page will be reloaded, and here the test is failing to find the same fields to fill again in order to perform another search with different criteria.
on the first page i'm getting an error says, there is some control blocking the control that im looking for on the second page, im getting an error says, The page could not be accessed if the page is refreshing...
i've tried many things starting by SearchConfiguration, SearchProperties, and ending up coding the test manually and nothing worked !
Aucun commentaire:
Enregistrer un commentaire