This is a migrated thread and some comments may be shown as answers.

[Solved] Can't create a VS webtest for load testing, icon greyed out

3 Answers 29 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jason
Top achievements
Rank 1
Jason asked on 22 Oct 2009, 04:51 PM
I've created a project, and created a web aii file for a simple test, and everything builds and runs fine.  Right now I'm attempting to do some performance testing (basically find some way to record how long it takes between each step or the test). 

I watched this video (http://tv.telerik.com/webui+test+studio/video/converting-webaii-test-load-test ) here and this seems to be the next step, but the icon for "Convert test to a VS WebTest for load testing" is greyed out.  (at 0:22 in the video).  Am I missing some component here?  Every other option in the video seems to be available.

Thanks

P.S. attached a screenshot with an example.  I also realize that my screenshot shows a VB Test Project, while the video tutorial shows a Visual C# test project, but i've tried that too and it doesn't work.

3 Answers, 1 is accepted

Sort by
0
Missing User
answered on 22 Oct 2009, 06:05 PM
Hi Jason,

WebUI Test Studio uses the built in Load Test for Visual Studio, and the icon is greyed out for Professional Edition since there is no Load Test available. I apologize for the confusion, we will look to update this requirement for the Load Test feature in WebUI in the online references and documentation.

Kind regards,
Nelson Sin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jason
Top achievements
Rank 1
answered on 22 Oct 2009, 07:56 PM
Thanks for the reply Nelson, I guess my next question is how can I do some timed / performance testing without this tool?  Basically, I want to set up some way of recording the time takes for an operation to complete.  For example, the steps I have in this simple test involve navigating to google.ca and entering some text and click enter.  The next step in the test explorer is some validation to make sure there's something on the next page.

Is there some way I can get the test to display a warning or error message (but still continue the test) if an operation doesn't perform in the time I specify for this?  Is this what the WaitOnElementsTimeout Property is for?

The Error Message log displays some useful information, like

'22-Oct-09 1:38:29 PM' - 'Pass' : Navigate to : 'http://www.google.ca/'
'22-Oct-09 1:38:29 PM' - 'Pass' : Set 'input_Text_Q' text to 'testing web ui'
'22-Oct-09 1:38:32 PM' - 'Pass' : Click 'input_Submit_BtnG'
'22-Oct-09 1:38:34 PM' - 'Pass' : Verify element 'input_Text_Q' 'is' visible.

So I can get somewhat of an idea of how long each operation took, but it's still somewhat misleading (why is there a 3 second delay between entering the input text, and clicking the submit button?  Also, the actual google search takes less than a second (0.11 seconds) and the time between the submit button and verification step is 2 seconds.

Basically, I want the test to log every time a step / operation takes more than X seconds, and X can vary for each element, how can I do this?
0
Missing User
answered on 22 Oct 2009, 08:30 PM
Hi again Jason,

So without the load test option, you would probaly need to write a quick timer implementation. You can convert the steps to code that you want to clock and you'll see the underlying test execution code methods.  Here you can add your timer and write the results to the log in the Visual Studio .TRX file with Manager.Log.WriteLine().

The delay inbetween typing and clicking submit is pretty much the time it take for WebUI complete the two operations. Please keep in mind that when typing, the entire string can be sent or simulated typing can be enabled and typing speed adjusted in the Properties Window. Similarly, a simulated real Mouse Click can be used also.

Regards,
Nelson
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Jason
Top achievements
Rank 1
Answers by
Missing User
Jason
Top achievements
Rank 1
Share this question
or