Telerik Forums
Test Studio Forum
3 answers
147 views
Hi,

I am using Test Studio for Performance Testing the XBAP Application.

Our Application works like this:

XBAP application resides in the server on accessing the application through web browser with url having extension .xbap

Through HTTP communication, web browser loads all the dll from web server in a temproary file.

And Application starts working through browser.


When I record using Test Studio(using Recording Web Test), it captures only the first XBAP call, later any transaction in the application is not able to record.

When I used Recording As WPF Test.The Test studio is not able to connect Recorder to the application which is running in the browser.

Please suggest how to do performance testing for these kind off applications using Test studio.

Please reply me soon.
you can reach me(Pavan) in:+91-9742732701
or Mugil(Pavan's Manager) in: +91-9700421801 or +91-8903142282

Cody
Telerik team
 answered on 22 Mar 2012
1 answer
61 views
Hi, 

I'm trying to turn on the 'Prompt for element name before adding’ option "in the General tab of Project Settings".  
But I'm not able to find where it is. 
Nor can I find it in the online help. 
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/search-results.aspx?start=0&q=Prompt%2bfor%2belement%2bname 

Please help. 
Thanks
Ohsha
Top achievements
Rank 1
 answered on 22 Mar 2012
1 answer
124 views
Hello,

I'm trying to get info when test list fails on some test.
Email is send to configured account but email is not readable. It look like it's formated badly and email client can't handle this.
Below example what kind of message I get (using :Telerik Test Studio version 2011.2.928.0 with licence)

h t m l >  h e a d >  M E T A  h t t p - e q u i v = " C o n t e n t - T y p e "  c o n t e n t = " t e x t / h t m l ;  c h a r s e t = u t f - 1 6 " >  t i t l e >  T a b l e  / t i t l e >  s t y l e  t y p e = " t e x t / c s s " >  h t m l ,  b o d y  {  m a r g i n :  0 ;  p a d d i n g :  3 0 p x ;  t o p :  0 ;  l e f t :  0 ;  t e x t - a l i g n :  c e n t e r ;  }  b o d y  {  f o n t - f a m i l y :  A r i a l ,  H e l v e t i c a ,  s a n s - s e r i f ;  c o l o r :  # 5 0 5 0 5 0 ;  }  d i v # M a i n  {  w i d t h :  7 0 0 p x ;  b a c k g r o u n d :  # d c e 9 f 1  u r l ( ' c i d : r e s o u r c e s / m a i n _ b a c k . p n g ' )  r e p e a t - x  l e f t  t o p ;  p a d d i n g :  3 0 p x ;  m a r g i n :  0  a u t o ;  t e x t - a l i g n :  l e f t ;  }  # l o g o  {  f l o a t :  r i g h t ;  c l e a r :  b o t h ;  m a r g i n :  0 ;  p a d d i n g :  0 ;  w i d t h :  1 4 8 p x ;  h e i g h t :  2 8 p x ;  b a c k g r o u n d :  u r l ( ' c i d : r e s o u r c e s / w e b u i _ m i n i _ l o g o . g i f ' )  n o - r e p e a t  l e f t  t o p ;  }  # l o g o  s p a n  {  d i s p l a y :  n o n e ;  }  h 2  {  c l e a r :  b o t h ...
And message source:
<   h   t   m   l   >  
    
           <   h   e   a   d   >  
    
                   <   M   E   T   A       h   t   t   p   -   e   q   u   i   v   =   "   C   o   n   t   e   n   t   -   T   y   p   e   "       c   o   n   t   e   n   t   =   "   t   e   x   t   /   h   t   m   l   ;       c   h   a   r   s   e   t   =   u   t   f   -   1   6   "   >  
    
                   <   t   i   t   l   e   >  
    
                                           T   a   b   l   e  
    
                                   <   /   t   i   t   l   e   >  
    
                   <   s   t   y   l   e       t   y   p   e   =   "   t   e   x   t   /   c   s   s   "   >  
    
                                           h   t   m   l   ,       b   o   d   y  
    
                                           {  
    
                                           m   a   r   g   i   n   :       0   ;  
    
                                           p   a   d   d   i   n   g   :       3   0   p   x   ;  
    
                                           t   o   p   :       0   ;  
    
                                           l   e   f   t   :       0   ;  
    
                                           t   e   x   t   -   a   l   i   g   n   :       c   e   n   t   e   r   ;  
    
                                           }  
    
                                           b   o   d   y  
    
                                           {  
    
                                           f   o   n   t   -   f   a   m   i   l   y   :       A   r   i   a   l   ,       H   e   l   v   e   t   i   c   a   ,       s   a   n   s   -   s   e   r   i   f   ;  
    
                                           c   o   l   o   r   :       #   5   0   5   0   5   0   ;  
    
                                           }  
    
                                           d   i   v   #   M   a   i   n  
    
                                           {  
    
                                           w   i   d   t   h   :       7   0   0   p   x   ;  
    
                                           b   a   c   k   g   r   o   u   n   d   :       #   d   c   e   9   f   1       u   r   l   (   '   c   i   d   :   r   e   s   o   u   r   c   e   s   /   m   a   i   n   _   b   a   c   k   .   p   n   g   '   )       r   e   p   e   a   t   -   x       l   e   f   t       t   o   p   ;  
    
                                           p   a   d   d   i   n   g   :       3   0   p   x   ;  
    
                                           m   a   r   g   i   n   :       0       a   u   t   o   ;  
    
                                           t   e   x   t   -   a   l   i   g   n   :       l   e   f   t   ;  
    
                                           }  
    
                                           #   l   o   g   o  
    
                                           {  
    
                                           f   l   o   a   t   :       r   i   g   h   t   ;  
    
                                           c   l   e   a   r   :       b   o   t   h   ;  
    
                                           m   a   r   g   i   n   :       0   ;  
    
                                           p   a   d   d   i   n   g   :       0   ;  
    
                                           w   i   d   t   h   :       1   4   8   p   x   ;  
    
                                           h   e   i   g   h   t   :       2   8   p   x   ;  
    
                                           b   a   c   k   g   r   o   u   n   d   :       u   r   l   (   '   c   i   d   :   r   e   s   o   u   r   c   e   s   /   w   e   b   u   i   _   m   i   n   i   _   l   o   g   o   .   g   i   f   '   )       n   o   -   r   e   p   e   a   t       l   e   f   t       t   o   p   ;  
    
                                           }  
    
                                           #   l   o

Any idea why ??
----------------------------------------------
<SOLVED>

I found a workaround solution for this, another email accounts (send and recive account)  on the other host seem to have no problem with sending and reciving messages. Everything is visible fine.
Strange.. but I can use it too so no problem anymore.

Anthony
Telerik team
 answered on 22 Mar 2012
3 answers
190 views
Hi, 

I'm trying telerik for the first time, and need to know the trick to wait. 

I was trying to wait for an element to exist but it failed on me, because the WaitOnElementsTimeout  somehow is fixed to 10000, is it 10 seconds or 10000 
seconds? I need to wait for at least 5 of 8 minutes. This is too short and I can't even change it myself. 

Please help. 

Thanks

Plamen
Telerik team
 answered on 22 Mar 2012
1 answer
161 views
Hi.
I am recently try to find the code coverage using Ncover. http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/knowledge-base/code-coverage/using-ncover.aspx    like this post.
But my problem is i build my solution on VS and run the webpage by debug. I didn't publih the site on IIS. And my database server is also installerd locally.
I tried to select Windos Services SQL(MSSQLSERVER). however the result is

***************** End Program Output *****************

No
[NCover Explorer]: NCover encountered an error while executing

[NCover Explorer]: Trend and coverage files will not be reloaded



How can I fix this?

Thank you !
Anthony
Telerik team
 answered on 21 Mar 2012
5 answers
156 views
I use following step to select value from combo-box, but after saving the form the combo-box has empty value.
http://screencast.com/t/0M396CyN
Select_Country is defined as
http://screencast.com/t/dXvX1f8wg3v
algot
Top achievements
Rank 1
 answered on 21 Mar 2012
1 answer
143 views
Hi folks,

Is there a restriction on the use of Excel .xlsm files as data sources?  Test Studio reports that my BaseData.xlsm, created with Office 2010,  file is "...not a valid 'Excel' source file".

Thanks,
Nigel Edwards, Transition Computing.
Anthony
Telerik team
 answered on 20 Mar 2012
2 answers
82 views
Hi all,

I think I have found a logic issue with content validation, but it maybe that I'm just not understanding something, or not applying the test correctly.  Would somebody clarify this for me, please?
I have a field called 'roleCreatedOn' that contains a plain text date-time.  The HTML is:

<td id="roleCreatedOn">

19/03/2012 11:29:54

</td>


I want a test that checks that the field is not empty, so I set the Build Verification as:
    Content Verify TextContent NotContain (empty)
But when I then check that the validation is correct, Test Studio displays this:

Content.TextContent of elementdoes not match!

   Match Type: 'NotContain'
   Expected Result: ''
   Value at time of failure: '19/03/2012 11:29:54'

Parameters:
-----------
TagSegmentType  = 'TextContent'
CompareType     = 'NotContain'
ExpectedString  = Expected:[] , Actual:[19/03/2012 11:29:54]


Since the field is not empty, surely the test value returned should be true?  Why does Test Studio think the Expected Result should be ''?
Am I testing for an empty or null field correctly?

Thanks,
Nigel Edwards, Transition Computing. 
Nigel
Top achievements
Rank 2
 answered on 20 Mar 2012
3 answers
59 views
Hi.
Is that possible to run the tests in the list randomly everytime without modify the order manually?
Thanks in advance
Anthony
Telerik team
 answered on 19 Mar 2012
1 answer
144 views
Ran into this message on an automated test I ran today using FireFox.  Looks like it failed at the start of execution.  Any insights as to the cause?  The other odd thing is that while I was watching the screen during execution, opening and closing browser windows during navigation test steps, one of the FireFox windows appeared completely blank/white with the text "Preparing the browser for automation".  From this point on, each subsequent browser window opened in FireFox looked the same and none of them closed -- they simply stacked up one after another.  ??? 

------------------------------------------------------------
'3/16/2012 4:36:27 PM' - Using .Net Runtime version: '4.0.30319.239' for tests execution.
'3/16/2012 4:36:27 PM' - Starting execution....
'3/16/2012 4:36:49 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'3/16/2012 4:36:49 PM' - System.ArgumentException: Hwnd of zero is not valid.
   at System.Windows.Interop.HwndSource.CriticalFromHwnd(IntPtr hwnd)
   at ArtOfTest.Common.Win32.Window.GetRectangle()
   at ArtOfTest.Common.Win32.Window.GetBitmap(Size windowSize)
   at ArtOfTest.Common.Win32.Window.GetBitmap()
   at ArtOfTest.WebAii.Design.AutomationHostState.FromBrowser(Browser browser, BrowserStateCaptureMode mode)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetHostState(IAutomationHost host, BrowserStateCaptureMode captureMode)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.CaptureCurrentState(AutomationStepResult currentStepResult, Exception ex)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance, Boolean& stopExecution)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'3/16/2012 4:36:51 PM' - Test completed!

Ivaylo
Telerik team
 answered on 19 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?