I need to check page status by if...else statement.
I use following way:http://screencast.com/t/Lgs2YIJlg2l
If "logout" link is visible I click it to logout user.
But if "logout" is absent I shouldn't do anything, but this test is failed
I use following way:http://screencast.com/t/Lgs2YIJlg2l
If "logout" link is visible I click it to logout user.
But if "logout" is absent I shouldn't do anything, but this test is failed
Unable to locate element. Details: Attempting to find [Html] element usingFind logic (Html): [id 'Exact' header_0_ctl00_ctl02_logout] AND [tagname 'Exact' a]Unable to locate element. Search failed!