Telerik Forums
Test Studio Forum
3 answers
164 views
Hi,

This is similar to Data Driven Testing - Combo Boxes, I tried the similar approach but I got the following error:

" (CS0030) Cannot convert type 'Telerik.WebAii.Controls.Xaml.RadComboBoxItem' to 'ArtOfTest.WebAii.Silverlight.UI.ComboBoxItem'"

I would like to ask what approach shall I use to fix the error I am getting.

Or are there other alternative how I can use the Data Driven approach when selecting combo box since the combo box that I will be used for testing is very dynamic.

Thank you
Nikolai
Telerik team
 answered on 21 Dec 2010
2 answers
164 views
Hi. I have next code
var table=Csv.GetDataSet("C:\\Documents and Settings\\Administrator\\Desktop\\SFT\\Data\\Units.csv").Tables[0];
var tableRow=table.Rows[0][1];
table.Rows[0][1]= scuId;
Csv.SaveTable(table,"C:\\Documents and Settings\\Administrator\\Desktop\\SFT\\Data\\Units.csv");

I launch test and it fails because of values is separated by comma.

Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[UnitGroupCreation_CodedStep2] : Write group name in file'.
InnerException:
System.IndexOutOfRangeException: Cannot find column 1.
   at System.Data.DataColumnCollection.get_Item(Int32 index)
   at System.Data.DataRow.set_Item(Int32 columnIndex, Object value)
   at SFT.UnitGroupCreation.UnitGroupCreation_CodedStep2() in c:\Documents and Settings\Administrator\Desktop\SFT\UnitGroupCreation.aii.cs:line 75

If I modify Units.csv manually and change separator from ',' to ';' the test will be passed successfully.

The problem is not resolved if I change list separator in the regional configurations in my system. Could anybody help?
Cody
Telerik team
 answered on 21 Dec 2010
1 answer
129 views
Hi All
   i have a problem with session out functionality with vb script using telerik webaii tool. can u please suggest me below queries.
  1. how we will capture the session out window as well as session out time through automation
  2. which method we will use for wait for url, wait for application. 
could you please provide me anyone navigation part along with screen shots. if possible provide me telerik videos

 
Cody
Telerik team
 answered on 20 Dec 2010
1 answer
127 views
I have created a data driven test that works fine with one entry in the data table.  However, when I try to add a second entry to the data table, the test fails with the following error:

'12/15/2010 1:10:54 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'12/15/2010 1:10:54 PM' - System.Exception: Unexpected dialog: Internet Explorer
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteDataDrivenTest(Test test, BaseWebAiiTest codeInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)

What happens in the test is a link is clicked that pops up a new browser instance that contains a pdf file.  I close that browser instance and return to the original page.

It works fine on the first pass but on the second data table entry, it closes the original web page instead of the pop up and throws an error that an unexpected error has occurred in internet explorer with the option to send the error to microsoft.  I also get the same error if I try to use the base url functionality instead of including the url in my script.

If you need any more information to help me resolve this issue, please let me know.
Stoich
Telerik team
 answered on 20 Dec 2010
7 answers
125 views
hello,
here is another worry about planning, in fact when I plan a test I receive no mail on my outlook or even my msn box, and here is the error massage I receive:
ExecutionEngineRunner Exit Error: The string spécifié Is Not In The form required for an e-mail address. Stack: at System.Net.Mime.MailBnfHelper.ReadMailAddress (String data, Int32 & offset, String & displayName)
   
Has System.Net.Mail.MailAddress.ParseValue (String address)
   
Has System.Net.Mail.MailAddress .. ctor (String address, String displayName, Encoding displayNameEncoding)
   
Has System.Net.Mail.MailAddress .. ctor (String address, String displayName)
   
Has Telerik.WebUITestStudio.Scheduling.WindowsService.Mail.MailSender.SetSender (String email, String displayName)
   
Has Telerik.WebUITestStudio.Scheduling.WindowsService.ExecutionEngineRunner.SendMail (RunResult result, NotificationSettings settings)
   
Has Telerik.WebUITestStudio.Scheduling.WindowsService.ExecutionEngineRunner.rc_Exited (Object sender, EventArgs e)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Nikolai
Telerik team
 answered on 20 Dec 2010
7 answers
215 views
Hello,

I have successfully scheduled TestLists to run on a server different from my local PC.  However, when I click the "Reload from Server" button, the TestList disappears from my results list.   This execution server is the same as the scheduling server. 

Also, I am successfully able to run a scheduled test on my local PC, and get the results displayed, but I have yet to receive an e-mail. 

Please help.
maria.

Stoich
Telerik team
 answered on 20 Dec 2010
1 answer
202 views
Hi

Need a help in using the wait function.

I just recorded few steps in my product.  The product has a session-out popup window to be verified.
For this the user has to wait for 2-3 minutes to view the popup.
My problem is how do I record (or insert the step to wait) this waiting time.
Basically how do I nsert the wait step. 

Please help me to solve this. 

Thanks & Regards
Archana
 
Nikolai
Telerik team
 answered on 20 Dec 2010
1 answer
101 views
I have two spreadsheets one for US and one for UK as data sources.

In each individual tests that we recorded - we have put if else conditions depending on the country users have selected for business functionality testing. In some cases the functionality might be similar.

Can we in anyway dynamically pick the spreadsheet that we want because data for US and UK will be different eventhough in some cases the functionality might be similar.
Cody
Telerik team
 answered on 20 Dec 2010
5 answers
131 views
Hi,

I'm using WebUI Test studio Developer Edition on VS2010. I have a new project and using the local.testsettings but the Webaii settings are being ignored on my coded vs unit test code. I'm trying to access the baseurl using the Manager.Settings.BaseUrl. It's always returning empty string.
Cody
Telerik team
 answered on 17 Dec 2010
1 answer
78 views
Here's an enhancement request.   Please include the Machine Name that a TestList  was run on.  This would be especially helpful for scheduled tests that are running against different PCs which might have different configurations.  Need to know which PC had the failure.

The e-mail that is sent after a scheduled TestList includes this information in the Subject line, so doesn't seem like a far reach to include it in the Results calendar. 

thanks!
maria.
Konstantin Petkov
Telerik team
 answered on 16 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?