views:

38

answers:

1

Hi,

I'm facing a kinda weird problem today. Selenium appears to click on a link in one test case, but, ignores the same link in the subsequent case. This happens with any permutation-combination of test cases. Whichever case run 2nd, fail due to the above problem. can anyone suggest a solution for this?? I've tried selenium.click and selenium.clickat. combination of mouseup+mousedown doesn't work even at the first go. selenium.fireevent also doesn't seem to make any difference.

Really stuck at this. Can anyone please help????

Thanks and Regards,
Vamyip

A: 

Does the link open a new window? If so, I would try the selectWindow("myMainWindow") command to be sure the proper page has the focus.

Pablo
Nopes, the target opens in the same window. Thanks
vamyip