To add more details
I need to validate the pop up existence upon an action. However , the toast pop up will disappear soon once it appears. So i am not sure how to edit this toast element.
Upon locating the toast element , it showed as [id 'Exact' ext-element-1][tagIndex 'Exact' div:2492]
I tried to edit the tagindex expression and changed it to regexpression match .Also i tried with contains. In both cases , the test failed saying 'Element could not found'
Nevertheless, I tried to run the test with the original search criteria ie; [id 'Exact' ext-element-1][tagIndex 'Exact' div:2492].
It fails inconsistently with the following error.
Unable to locate element. Details: Attempting to find [Html] element using
(Html): [id 'Exact' ext-element-1][tagIndex 'Exact' div:2492]
Unable to locate element. Search failed!
Element was found by backup search only! We recommend editing the element to correct the primary find expression.
Backup search: 'xpath=/html/body/div/div/div/div/div'
Please let me know how to proceed on this.
> how to deal with the pop ups that disappear after a few secs. In this case its Extjs.Toast.
> how to use the backup search criteria as the primary one ie; the x path
Thanks in advance