09-15-2011, 04:10 PM
can you tell ,if teh webelement you are checking is present in the screeen or not .with these kind of statements ,generally i feel if it doesnot get that element immediatly , it waits certain time and then proceeds to next step.
put a sync point before teh if statement this will remove any chances of
page loading delay of that statement.
put a sync point before teh if statement this will remove any chances of
page loading delay of that statement.