verifytext in Selenium IDE script failing in IE even when it should be passing -


got selenium ide script recorded , being played using selenium server in -htmlsuite mode.it supposed put type user name, password , domain click login. after logging in, @ 1 corner, should show username @ domain. have verifytext this. when ran script in firefox, working correctly, in ie, keeps failing - giving me error message actual value 'username @ domain' did not match 'username @ domain'. tried assert , same thing. bug in selenium or something?

you should try using waitfortext, waitforelementpresent or waitfortextpresent commands, depending on specific need.

the reason being usually, when text created script on/after page load, selenium doesn't know - can't possibly wait every script finish, because there's lot of scripts never finish , run forever. therefore, need wait specific elements appear before can assert them.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -