Command Selenium.isElementPresent freezes the selenium server

View previous topic View next topic Go down

Command Selenium.isElementPresent freezes the selenium server

Post by Adviser on Thu Aug 13, 2009 4:23 pm

Hi,
One of the user face problem using isElementPresent command. His problem are as follows:

"command selenium.isElementPresent("link=logout") is working fine with firefox
but I have to use IE7 for my AUT.When I use isElementPresent("link=logout")
command with IE7 many time(Not always) selenium server gets freez and not
getting response till 30 to 40mins."

Solution:

I think your element is dynamic which changes it value every time you run it or you have used waitforpageToLoad command before this so that it will wait for a long time.

Try to use xpath for it and dont't use wait if ur using it. Hope this will help you.

Bye

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum