Telerik Forums
Test Studio Forum
4 answers
104 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
259 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
71 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
104 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
90 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
93 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
1 answer
99 views
Hi,

I would like to know if anyone has able to create web ui test using chrome or firefox rather than ie? if so, please let me kow.

Thanks.
Cody
Telerik team
 answered on 27 Jul 2012
3 answers
272 views
To wait for an element to exist, you have to do this:

var element = app.FindName("element");
element.Wait.ForExists();

In my silverlight application, at some point I have to wait for either elementA to exist or elementB to exist. So I created two tasks that each wait for one of the elements to exist:

var waitForElementATask = Task.Factory.StartNew(() => WaitForElement("elementA"));
var waitForElementBTask = Task.Factory.StartNew(() => WaitForElement("elementB"));
Task.WaitAny(waitForElementATask ,waitForElementBTask);

with WaitForElement() being:

private void WaitForElement(string name)
{
   var element = app.FindName(name);
   element.Wait.ForExists();
}

I thought this would be a good way to find out which one of the two elements show up. However, when I run this code, neither element will ever be found, even though they do show up. 

Anybody has any ideas? 
Anthony
Telerik team
 answered on 25 Jul 2012
2 answers
158 views
I have been playing around with the Test List feature in Test Studio.  It runs the tests one at a time, one after the other.  However, is there a way to run multiple tests at the same time?  I do not think there is a way.  But, I wanted to check with you guys.  Please let me know.
Top Gun
Top achievements
Rank 1
 answered on 25 Jul 2012
1 answer
48 views
How do I access IE8's Developer Tools menu?  Doing a Record does not seem to work.....


Ivaylo
Telerik team
 answered on 25 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?