Forum  Commercial Foru...  Commercial Foru...  Automated Testing - VS2010
Previous Previous
 
Next Next
New Post 6/6/2012 2:15 AM
Unresolved
  aves
28 posts
No Ranking


Automated Testing - VS2010 

 Hello,

We would like to create automated WebGUI test using Visual Studio 2010, but there are some problems and we would appreciate some advice. We found some solution on thread here but still are unable to get correct results.
Problem is that "additional cuid-Attribute in the HTML" is not recognized by VS2010 testing (UI Test Builder).
Do you have any better idea than searching MSDN for "how to bend VS2010 test builder to recognize new attribute" or any experience with it?
 
Thanks for the reply,
Aves
 
New Post 6/6/2012 2:00 PM
  palli
14313 posts
1st Level Poster




Re: Automated Testing - VS2010 

 Hi Aves,

I will forward your question to someone with better knowledge of automated testing approaches for Visual WebGui.

The small tests I made to verify, they agree with your results. When doing CODED UI testing, the capturing occurs on the UI element affected (clicked for instance). The cuid attribute, added by UniqueIdExtender is added on the VWG Html element only, not on the sub elements. This means the cuid will not be detected by the capturing process unless you click on the VWG node, and for a RadioButton for instance, you are most likely to click on either the image or the text, neither of which have a cuid attribute, so the capturer captures screen coordinates, not cuids.

Maybe there is some other approach that needs to be taken and possibly the CODED UI testing does not quite fit Visual WebGui application. If you go back to the thread you referenced here, and take a look at the comment made by KristofBerger, this Ranorex package seems to be able to handle Visual WebGui testing.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 6/7/2012 7:25 AM
  aves
28 posts
No Ranking


Re: Automated Testing - VS2010 

 

Hi Palli,
Finally we moved forward in our automat testing using VS2010. We found, there is attribute “ControlDefinition” which contains lots of information and also CUID element. So now we are able to recognize components.
However we hit another problem, which makes us unhappy again. To find desired component in application it takes around 45 seconds for automat, so this solution is not much usable. Do you have any experiences with this kind of problem?

Aves

 
New Post 6/7/2012 10:40 AM
  palli
14313 posts
1st Level Poster




Re: Automated Testing - VS2010 

 Hi Aves,

I don't personally have much experience in automated testing, so I'm still waiting for more information from someone at our dev/tech team who has. 

However, it may be worth trying to run the application in non-debug mode, as while you are running it in full debug mode with IE's script debugging enabled, it can be really slow. I would personally turn obscuring off and then run the app via Ctrl-F5 so it will open in no-debug mode and then do my testing.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 6/10/2012 4:52 AM
  palli
14313 posts
1st Level Poster




Re: Automated Testing - VS2010 

 Hi Aves,

We now have a technitian in the learning process of getting familiar with Visual Studio 2010 automated testing for Web Applications and we will post updates when we have some, either here on this thread or in the form of KB article(s). 

If the project you use as a prototype for testing is something you would be willing to sumit to us, I am sure it would speed things up for this technitian to be able to look at the project and the test package. Your project would be handled as confidential of course, unless otherwise permitted, and would serve the purpose of speeding up the learning process. If you are willing to submit such a project and it's testing package, please email it to support (see email address in my signature) and please reference this thread by including an Http link to the thread.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  Automated Testing - VS2010
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS