WAPT Forum: Use of AJAX UpdatePanel - WAPT Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Use of AJAX UpdatePanel

#1 User is offline   Paul Hennessey 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 25-April 09

Posted 25 April 2009 - 03:45 PM

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

0

#2 User is offline   rbidner 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 03-March 09
  • Gender:Male
  • Location:Canada

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


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


0

#3 User is offline   eswann 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 02-June 09

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



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!

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users