Telerik Forums
Test Studio Forum
5 answers
104 views
Hi!

I'm testing a Silverlight application.
I have a step on my test that's to type something in a textbox.
The recording works fine, but in the execution that step fails, there is no text typed into the textbox.

I've found that if I set "SimulateRealUser" to False, in the execution the text is typed in the textboxes, and no errors occurs.

Could you explain me what's the difference between having "SimulateRealUser" to True or False, and why when it's set to True my step fails?

Thanks,
Paulo
Rodney
Telerik team
 answered on 27 Dec 2013
5 answers
139 views

When I made execute for a simple test case the result was "Fail - 0 passed of 0 executed"
and on viewing the text view there was an error

--------------------------------------------------
'4/30/2010 2:22:23 AM' - Error encountered during execution.
--------------------------------------------------
'4/30/2010 2:22:23 AM' - Error attempting to ping runner. Error: System.IO.IOException: Pipe is broken.
   at System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
   at System.IO.Pipes.PipeStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.WriteCommandToPipe(PipeCommand command, PipeStream pipe, Boolean waitForDrain)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.Ping()
--------------------------------------------------
'4/30/2010 2:22:23 AM' - Aborting....
Anand
Top achievements
Rank 1
 answered on 27 Dec 2013
3 answers
59 views
We just bought Test Studio, it seems great! I am currently going through our Silverlight application and adding automation ID's to all of our Telerik UI controls, since the full Xaml path seems volatile.

I noticed something I hope I don't have to manually edit every time-

I click on a textbox in our application, and type text into it.  2 elements are added to the repository, not 1.
Example:

  • LeftClick on Item4Textboxview
  • radwatermarktextbox: Type 'name' into rwtbLastNameRadwatermarkertextbox

I've attached two screenshots of the find logic for both elements.  Why does it want to also use the full Xaml path for the click? I'm happy I can remove that, and the extra element is removed from the element repository, but we have hundreds of UI controls.  I hope I don't have to edit every click element since the Xaml path changes sometimes. Is there a shortcut?

Thanks!
-Dan
Dan
Top achievements
Rank 1
 answered on 27 Dec 2013
1 answer
88 views
Hi,

I jsut upgrade from old version(2012_2_1420) in which there is 1 result file for the list.

But in the latest version, all cases reulsts are separate within the list. And when I exported to Word/Excel/VS, I can not get the steps details.

Can I export all cases and their steps into one .aiiresult file? That's really helpful as the final report.

Thanks a lot.
Boyan Boev
Telerik team
 answered on 26 Dec 2013
2 answers
40 views
Hi,

I just upgrade from "2012_2_1420" to latest "2013.2.1210".

Before my upgrade, all cases can passed both Standalone running and List running.

But after upgrade, cases were failed in list running. I checked the log that some exception as

'12/25/2013 5:27:43 PM' - LOG: Unexpected dialog encountered. Closing the dialog, and halting execution.
'12/25/2013 5:27:45 PM' - 'Pass' : 10. Wait for Exists 'MoveToNextPageButtonRadbutton'
'12/25/2013 5:27:45 PM' - 'Fail' : 11. Execute test 'Public_Waiting_PleaseWait.tstest'

and log details

ArtOfTest.Common.Design.Exceptions.ExecutionException: Unexpected dialog:

But some cases passed with this same step in this list.

And for this faild case, I also can pass it in standalone running

So could you help me?

My IE version 9.0.8112, OS Win7

Attached is the result file and my list settings screen shot
Ivaylo
Telerik team
 answered on 26 Dec 2013
1 answer
65 views
Hi,

I just upgrated my version to latest 2013.2.1210

But the debug mode is not work when Run - From Here or Run - Selected Steps. Seems all cases can not use these function.

Run - To Here is fine.

Attached is the error log. Please have a check. Thanks in advance.

Failure Information:
~~~~~~~~~~~~~~~
Unable to determine the type of 'radcombobox' element. Check the log for details.
InnerException:
System.ArgumentException: Unable to determine the type of 'radcombobox' element. Check the log for
 
details.
Konstantin Petkov
Telerik team
 answered on 26 Dec 2013
5 answers
112 views
Hey everyone,
I'm having trouble trying to figure out the most efficient way to build my suite of tests.  The issue is, I have tests that do environment specific things.  For example, in one of my tests, I query our qa environment database to get a specific value back which is then used to help datadrive the test.  Now what if I want to run this same test in UAT or Prod?  This means I need to change in all the tests which environment I am pointing to.  I want to be able to just have to change one value in a test and then everything will run in the correct environment.

My idea was creating a custom C# class that has functions that based on which environment you are in, returns the correct value.

Here's a quick example of what I want.

public String getUrl(Environment env)
{
if(env == Environment.QA)
{
return "qaurl";
}else if(env == Environment.UAT)
{
return "uatUrl"
}
}

Is this possible in Test Studio?  If so, where can I create my C# class to use and reference it in my project?  I am not familiar with the C# way since I'm coming from a Java background.















Boyan Boev
Telerik team
 answered on 25 Dec 2013
1 answer
78 views
Just did my first check-in into TFS. Having problems because the character limit is being hit.

Why do you guys put so many extra characters in the file paths? 
Ivaylo
Telerik team
 answered on 25 Dec 2013
1 answer
43 views
I am doing a test of an ajax form that we have running, and one of the conditions it does is sets a buttons state using class based on some of the jquery.ui built-in classes.  Our form is running this very long running ajax routine (we are doing some complex file IO) is using signalr to send feedback back to the ui.  What I would like to do is check the state of a button html element on the screen, and wait while it has a specific class.  when that class disappears (the button becomes enabled) I would like to proceed.

Here is the buttons initial html:

<button class="jw-button-next ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-secondary ui-state-hover ui-state-disabled" role="button" aria-disabled="false" type="button">

notice 'ui-state-disabled' there, that is what I want to be waiting to disappear.

Any suggestions?
Boyan Boev
Telerik team
 answered on 24 Dec 2013
1 answer
69 views
We have three testing environments:  Dev, QA, and Production.  We also have scripts that do database comparison between app and DB.  Currently, the connection string is hard-coded.  I know that this should be variable/datasheet driven.  What would be best practice for this considering that we will test on three seperate databases during the sprint?  Using the datasheet variable, the sheet would have to be changed each time we want to hit a different database.  I undertand this would be easier than changing the coded connection string in each test, but it seems like there is probably a better way to do this that I cannot think of.  Ideas/thoughts/enlightenment?

Thanks!!
Boyan Boev
Telerik team
 answered on 24 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?