Forum Discussion
AlexanderM
15 years agoStaff
Hello Sumedha,
Yes, you can handle the Viewstate value in your script. You can find a sample script here:
However, I would not advise doing this - TestComplete can handle the value itself.
If you want to check whether the value is processed correctly by TestComplete, you can implement the OnLoadTestingResponse event handler:
- in the handler's code, save the actual server response to a text file;
- after the test is executed, you can compare the Viewstate values returned in server responses against the values sent in the appropriate requests (see Load Testing results, the sent values are in the request headers).
>>> Also can I use the same task in the script for all the users or do I need to create a copy.
Yes, you can do this - even when using the same task for all users, TestComplete handles the Viewstate value individually for each user.
Related Content
- 4 years agolongchasen
- 3 years agotracyha
Recent Discussions
- 2 hours agoSvetaG