Hi all,
I'm trying WAPT on my .net app. The first test that I've created just lets the user save a little bit of data to my database.
However, when I run the test within WAPT, no data is saved. When I remove the UpdatePanels from my page, it all works fine.
I know this has been raised here before - is there a solution yet? How are people managing the testing of AJAX-enabled pages within WAPT?
Thanks,
Paul
Page 1 of 1
Use of AJAX UpdatePanel
#2
Posted 20 May 2009 - 07:13 PM
in the testing we have done it appears two variables are corrupted once you have an ajax call and need to be reset to the correct values manually
__VIEWSTATE and __EVENTVALIDATION are set to static strings. We have had to set them to the variables __VIEWSTATE3 and __EVENTVALIDATION3 where the number is the extension given to the variable when the data is captured earlier in the script.
Looks to be a bug in WAPT
__VIEWSTATE and __EVENTVALIDATION are set to static strings. We have had to set them to the variables __VIEWSTATE3 and __EVENTVALIDATION3 where the number is the extension given to the variable when the data is captured earlier in the script.
Looks to be a bug in WAPT
QUOTE (Paul Hennessey @ Apr 25 2009, 11:45 AM) <{POST_SNAPBACK}>
Hi all,
I'm trying WAPT on my .net app. The first test that I've created just lets the user save a little bit of data to my database.
However, when I run the test within WAPT, no data is saved. When I remove the UpdatePanels from my page, it all works fine.
I know this has been raised here before - is there a solution yet? How are people managing the testing of AJAX-enabled pages within WAPT?
Thanks,
Paul
I'm trying WAPT on my .net app. The first test that I've created just lets the user save a little bit of data to my database.
However, when I run the test within WAPT, no data is saved. When I remove the UpdatePanels from my page, it all works fine.
I know this has been raised here before - is there a solution yet? How are people managing the testing of AJAX-enabled pages within WAPT?
Thanks,
Paul
#3
Posted 02 June 2009 - 09:31 PM
QUOTE (rbidner @ May 20 2009, 01:13 PM) <{POST_SNAPBACK}>
in the testing we have done it appears two variables are corrupted once you have an ajax call and need to be reset to the correct values manually
__VIEWSTATE and __EVENTVALIDATION are set to static strings. We have had to set them to the variables __VIEWSTATE3 and __EVENTVALIDATION3 where the number is the extension given to the variable when the data is captured earlier in the script.
Looks to be a bug in WAPT
__VIEWSTATE and __EVENTVALIDATION are set to static strings. We have had to set them to the variables __VIEWSTATE3 and __EVENTVALIDATION3 where the number is the extension given to the variable when the data is captured earlier in the script.
Looks to be a bug in WAPT
I think this may also be my issue. Would it be possible for you to explain more clearly what you did when you say "We have had to set them to the variables..." ? Where exactly did you set these variables? Any additional explanation would be greatly appreciated.
Thanks!
Share this topic:
Page 1 of 1

Help










