Telerik Forums
Test Studio Forum
3 answers
232 views
I have a silverlight application and as I start recording steps, I can see the "Detect Silverlight " screen, so I think it should have noticed that I have not just a HTML webpage.

I can record steps as normal, but sometimes (I cannot say when during the recording) it does not record steps like typing text in a Textbox. It seems, that it does not get the element or something.
I stop the record and start it again for sometimes.
Somehow it is working again, but haven't done anything in between to get the connection stable.

Can you tell me what I can do, that Telerik Test Studio notices all my steps or what can I check, what is maybe wrong, when a step is not beeing recorded?

Best regards,
Adriane
Ivaylo
Telerik team
 answered on 07 Aug 2012
1 answer
60 views
Hello,

I have a spreadsheet with 265 columns but when I run the test I get the message:

Exception thrown executing coded step: '[PO_Indicators_CodedStep_Check90pctStrokeUnitPOIndicator] : Verify attribute 'class' on 'ind90pctStrokeUnit' indicator'. InnerException: System.ArgumentException: The extracted variable 's90pctStrokeUnitIndicator' does not exist in the store. Make sure there is an extract step that has executed before executing this step. at ArtOfTest.Common.Design.Extensibility.ExtractionDataStore.GetValue(String name) at ArtOfTest.WebAii.Design.BaseWebAiiTest.TestData.get_Item(String column) 

When I look in the setup binding I only get data up to column 255 wheras if I edit the data source all data up to 265 is displayed. Please can this be extended?

Regards,
David
Anthony
Telerik team
 answered on 03 Aug 2012
3 answers
84 views
Hello,

We have one Video player which is used in sliver light web application and we want to test on it using Test studio.
But We are not able to run video while Test studio is running, even we are not able to click on Play/Pause buttons.

on our website with out Test studio this video player is working fine. 
so can any one give us advice how we can test our video player with test studio?

Thank You,
Gunjan   
Anthony
Telerik team
 answered on 03 Aug 2012
4 answers
181 views
Hi,

I have a exported telerik Tests from Test Studio into Visual Studio, but I cannot run the tests.In Test Studio, they run, in Visual Studio, the same test gave the message following.
Can yomeone tell me, what I have to to in Visual Studio to run the tests?

------------------------------------------------------------
'01.08.2012 10:02:53' - Using .Net Runtime version: '4.0.30319.269' for tests execution.
'01.08.2012 10:02:53' - Starting execution....
'01.08.2012 10:02:53' - Detected a Silverlight Test. Setting EnableSilverlight=True
'01.08.2012 10:02:53' - Failure detected during execution. Details:
------------------------------------------------------------
'01.08.2012 10:02:53' - System.ApplicationException: Exception thrown attempting to launch Silverlight application. Please make sure Silverlight is properly installed and you are able to launch it. ---> System.ArgumentException: Invalid path to Out-Of-Browser application: http://dmm-vm-prod/MediaCenterTRANS/
   at ArtOfTest.WebAii.BrowserSpecialized.SilverlightOutOfBrowser.SilverlightOutOfBrowserActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String arguments, String pipename)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.BrowserSpecialized.SilverlightOutOfBrowser.SilverlightOutOfBrowserActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String arguments, String pipename)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'01.08.2012 10:02:53' - Test completed!

 

Adriane
Top achievements
Rank 1
 answered on 03 Aug 2012
4 answers
101 views
Hello,

We want to use Test Studio or other tool for automated testing, but before we decide we have some questions.
Does the application has any of the below functionalities:
- email alert (I saw this was an option for some test but how about performance test, load test ... )
- can we use multiple users to run tests in the same time? How many?
- can we run scripts in the beginning/middle/end of the test?
- can we simulate response from an address that is unavailable from testing server? (Let's say the application calls an internet service and the test  server does not have internet access would be good if we simulate a response)
Byron
Telerik team
 answered on 02 Aug 2012
1 answer
249 views
Hi,

I'd like to know what is the difference between "Test Studio" and "Test Studio Express" packages. Because in the support and the licencing pages, the are listed as two differents products.

Regards,

Gladys
Cody
Telerik team
 answered on 02 Aug 2012
1 answer
68 views
Hi Team,
i want to execute my test script on a specific firefox browser, which means i need to launch a firefox browser with a profile. like in selenium, we may use "new firefox(firefox profile path)" to new a firefox. Does our test studio support that? My version is 2012.1.719.0.
Byron
Telerik team
 answered on 01 Aug 2012
4 answers
99 views
Hi,

Is there a way to check a website for specific words? For example, when I receive an 'Unexpected Error' on the page, I can still navigate through the toolbar and therefore, the test passes.

What I am looking to do is to fail the test if the words 'Unexpected Error' displays on the page.

Could anyone help with this?


Thanks
eugene
Top achievements
Rank 1
 answered on 31 Jul 2012
1 answer
87 views
Hi
Currently, I use customized code to find object
But on firefox , I can not find it. I see log file, count of htmlCollection =0
 public void DeleteSheet_CodedStep()
        {
            object sheetName = GetExtractedValue("SheetName");
             
            Assert.IsNotNull(sheetName, "variable SheetName on calling method is not defined");
             
            string sheetNameString =  (sheetName as string).Trim();
             
            Log.WriteLine(string.Format("{0} variable is defined", sheetNameString));     
             
            sheetNameString = Utility.HandleLongString(sheetNameString);
            
            Log.WriteLine(sheetNameString);
            
            sheetNameString = Utility.HtmlEncode(sheetNameString);
            
            Log.WriteLine(sheetNameString);   
            
            HtmlDiv htmlDiv = Find.ById<HtmlDiv>("dnn_ctr431_ViewMediaResource_UP");  
            
            Log.WriteLine("htmlDiv"+htmlDiv);
            
            //Add find on firefox until find out result
   /*         if (ActiveBrowser.BrowserType == BrowserType.FireFox || ActiveBrowser.BrowserType == BrowserType.Chrome )
            {
                while (htmlDiv == null)
                {
                    ActiveBrowser.RefreshDomTree();
                    htmlDiv = Find.ById<HtmlDiv>("dnn_ctr431_ViewMediaResource_UP");
                }
            }
    */
            
            IList<HtmlDiv> htmlDivsCollection = htmlDiv.Find.AllByAttributes<HtmlDiv>("class=body-component");

    /*        if (ActiveBrowser.BrowserType == BrowserType.FireFox )
            {
                while (htmlDivsCollection.Count() == 0)
                {
                    ActiveBrowser.RefreshDomTree();
                    htmlDivsCollection = htmlDiv.Find.AllByAttributes<HtmlDiv>("class=body-component");
                }
            }
    */
            
            Log.WriteLine(string.Format("{0} html div count found", htmlDivsCollection.Count.ToString()));
            
            foreach(HtmlDiv listItem in htmlDivsCollection)
            {
                IList<HtmlDiv> contentColletion = listItem.Find.AllByAttributes<HtmlDiv>("class=body-component-content");
                
                Log.WriteLine(contentColletion[0].TextContent);
                
                if (String.Compare(sheetNameString, contentColletion[0].TextContent) == 0)
                {
                    Log.WriteLine("mediaSheet found");
                    
                    IList<HtmlControl> default_sheet = listItem.Find.AllByAttributes<HtmlControl>("class=body-component-menu-delete");
               
                    if(default_sheet != null && default_sheet.Count > 0)
                    {
                        Log.WriteLine(string.Format("language tile object {0} deleted", sheetNameString));
                        listItem.MouseHover();
                        default_sheet[0].MouseClick();
                    }
                    
                    break;
                } 
Please refer attachment
Thanks so much
Stoich
Telerik team
 answered on 30 Jul 2012
1 answer
88 views
Hi,

Is it possible to use Test Studio to test a Microsoft Access client application?

Thanks in advance,

Ian.
Cody
Telerik team
 answered on 30 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?