To run your WATiN Automation code/Script from web application or by using web application
Jus add this Header tag in .aspx file
< AspCompat="true" >
Example: - suppose that you have code file as MyWatinCode.aspx and MyWatinCode.aspx.cs.
Now go to MyWatinCode.aspx file and replace the top most Header Tag
<@ Page Language="C#" AutoEventWireup="true" CodeBehind=" MyWatinCode.aspx.cs" Inherits="AutomationTesting._ MyWatinCode" ValidateRequest="false">
By
<@ Page Language="C#" AutoEventWireup="true" CodeBehind=" MyWatinCode.aspx.cs" Inherits="AutomationTesting._ MyWatinCode" AspCompat="true" ValidateRequest="false" >
And run your Automation code in web Application .if still you are facing any issues please reply me.
Correction/Comments are always welcome :)
Happy Automation.....
Thanks,
Md.Jawed
5 comments:
Congrats for your 1st posting. Looking forward to see more :)
Thanku Very much Amal.
i m very hapy to see you comments @ my blog.
hey,..I had been through your blog and its really helpful for me..Why don't you start blogging about different (classes, functions, attributes) that are being used most popularly in WatiN for the people to get to familiar with WatiN commands and their usage very easily?
BTW,.. I am Harish (the above post is done by me..You can reach me out @gamberharish@gmail.com
Hi Harish,
Thank you very much for you feedback. sure i would love to write blogs as per your feedback.
keep posting you feedback and help.
Thanks!!
~jawed
Post a Comment