I am really fed up from this problem and not finding any solution.
The problem is that I am trying to test a website using test automation in C#. For this I need to sign in, but the sign-in button is not actually a button, it's a span tag with property set 'role=button'
.
I am using Selenium with Chrome web driver and using unit extensions to automate the test. The problem is whenever I run the test in Test Explorer the click event is performed, but the page does not navigate to next page, and nothing happens. However, when I set a break point and run the same test through main
function it works fine.
I have to set the break point to perform click operation and perform login operation.
I am using a Visual Studio console application. Here is the pic of my web site html tag.