Page Not Posting Back Data When Using Fluent Automation to Click Submit

孤街浪徒 提交于 2019-12-13 09:05:11

问题


I am automating some tests on an ASP.NET form with Fluent Automation. When the program clicks the submit button, the page refreshes and the fields are cleared of data.

I have tried using a link button and an ASP button control for this and get the same results with either of them.

I am using the following code to trigger the click:

I.Click([MYBUTTON]);

Anyone have a suggestion as to why my automated button click is not firing a proper postback?


回答1:


After doing further debugging, it turns out that the Fluent Automation tests were working as they should.

I also have Glimpse installed on my site for testing. With Glimpse disabled, my page post backs were not working properly. I removed Glimpse from the site and my tests are working as expected.



来源:https://stackoverflow.com/questions/22999336/page-not-posting-back-data-when-using-fluent-automation-to-click-submit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!