Jump to content
WAPT Forum
Sign in to follow this  
Guest Paul Hennessey

Use of AJAX UpdatePanel

Recommended Posts

Guest Paul Hennessey

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

 

Share this post


Link to post
Share on other sites
Guest rbidner

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

 

 

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

 

Share this post


Link to post
Share on other sites
Guest eswann
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!

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...