简体   繁体   中英

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

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM