views:

27

answers:

0

Hi,

I've been using selenium-rc for c# since past 10 days, and I'm getting a strange problem with it. Whatever scripts I write, won't work on my colleagues PC, and vice-versa. Also, sometimes, the code which runs well in one test case, seems to fail in another test case, while both are being run on the same computer.

e.g. 1. when I write Selenium.KeyPressNative("10");, it simulates a keypress on my colleagues PC, but, doesn't seem to work on my PC. 2. When I write a series of statements to get focus off a textbox and click outside of it somewhere, so that the value in that textbox is accepted by the system, these statements works in one test case, but, fails in another testcase with almost no modifications at all.

This seems to be weird behavior.

Any facing same problems and know the reason behind??

Thanks and Regards,
Vamyip