Telerik Forums
Test Studio Forum
1 answer
76 views
I'm working on Kiosk and trying to use the Silverlight RadCoverFlow item for the first time (and I'm still fairly new to Silverlight 4 in general). I understand that when you click an item in your list, it brings that item into focus, but is there another quick event out there for once the item is in focus and making the item in focus clickable.

So say I have a list of 3 items, item 1 is in focus and item 2 is out.  I bring item 2 in focus for the user to see it. if they like it, they can click it and it brings them to the next step.

Thanks in advance
Miroslav Nedyalkov
Telerik team
 answered on 14 Nov 2011
1 answer
115 views
Hello,

I am trying to automate my UI tests with Test Studio. So far, I am enjoying work with this framework.
However, I have a doubt. I want to compare what is displayed in the UI from a search with the contents of my Oracle DB. Is this possible?

I'd already read the documentation about Data driven tests and this is not what I need to do. I am not trying to use the information on my Oracle DB as my test's input.I need to use the information on my Oracle DB to compare with the one that displays on my Silverlight APP UI.

Thank you, so far, for the support.

Best regards,
Maria Lisboa
Anthony
Telerik team
 answered on 11 Nov 2011
1 answer
176 views
Hello,

I am trying to automate some tests on Test Sudio framework and now I'm having some problems.

I am trying to compare two values on diffrent grids. This values are dynamic so their different on each reproduction.

Here is the code that I am using right now and is not correct:

"        [CodedStep(@"Verify RootGrid1.Name 'Equal' 'Root'", RequiresSilverlight=true)]
        public void Req216_CodedStep()
        {
            // Verify RootGrid1.Name 'Equal' 'Root'
            Assert.IsFalse((ArtOfTest.Common.CompareUtils.StringCompare(Pages.HttpGlintthsdemo8700Shell.SilverlightApp.RootGrid1.Name, "Root", ArtOfTest.Common.StringCompareType.Exact) == false), string.Format("Verify RootGrid1.Name \'Equal\' \'Root\' failed.  Actual value \'{0}\'", Pages.HttpGlintthsdemo8700Shell.SilverlightApp.RootGrid1.Name));
            
        }
    
        [CodedStep(@"Verify RootGrid2.Name 'Equal' 'Root'", RequiresSilverlight=true)]
        public void Req216_CodedStep1()
        {
            // Verify RootGrid2.Name 'Equal' 'Root'
            Assert.IsFalse((ArtOfTest.Common.CompareUtils.StringCompare(Pages.HttpGlintthsdemo8700Shell.SilverlightApp.RootGrid2.Name, "Root", ArtOfTest.Common.StringCompareType.Exact) == false), string.Format("Verify RootGrid2.Name \'Equal\' \'Root\' failed.  Actual value \'{0}\'", Pages.HttpGlintthsdemo8700Shell.SilverlightApp.RootGrid2.Name));
            
        }
        
         [CodedStep(@"Verify RootGrid2.Name 'Equal' Verify RootGrid1.Name + 1", RequiresSilverlight=true)]
        public void Req216_CodedStep2()
        {
// the value of rootgrid2 needs to be the value on rootgrid1 +1
            int val2 = Convert.ToInt32(Pages.HttpGlintthsdemo8700Shell.SilverlightApp.RootGrid2.Text);
            int val1 = Convert.ToInt32(Pages.HttpGlintthsdemo8700Shell.SilverlightApp.RootGrid1.Text);
            int val_c = val1 + 1;
            
            // Verify RootGrid2.Name 'Equal' Verify RootGrid1.Name + 1
            Assert.AreNotEqual(val2, val_c);
            
        } "

What I am doing wrong?


Thank you.

Best regards,
Maria
Stoich
Telerik team
 answered on 11 Nov 2011
1 answer
104 views
Hi Guys,
I am Malle new to the Telerik tool. I tired recording some tests, i observed that the test gets failed when there is an Ad comes in between. Can some one guide me how do i do this?
Plamen
Telerik team
 answered on 10 Nov 2011
1 answer
212 views
trying something of this form

Manager.LaunchNewBrowser(

 

BrowserType.FireFox,false);

 

ActiveBrowser.NavigateTo(

 

"http://www.google.com");

 


Am I missing anything

throws exception:
System.InvalidOperationException: Sequence contains no elements
   at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect)
   at WebTests.NavTest1.TestMethod1() in D:\NAVSrc\Main\CMA.VM\WebTests\NavTest1.cs:line 96
Plamen
Telerik team
 answered on 10 Nov 2011
3 answers
135 views
Hello,

I'm trying to automate tests using Test Studio framework of a Silverlight application. Now, I want to setup my database before running some tests to ensure that the tests are going to run successfully.

 How can I do it? Is there any option on Test Studio that helps me doing it?

Best regards,
Maria
Plamen
Telerik team
 answered on 09 Nov 2011
6 answers
114 views
Does we have any option in telerik test studio by changing single test cases (i have to change the same field in every test cases) will reflects every test case or not ?


I am generating scripts with the staging URL, where as Client wants to test it with Live URL..For doing this, We need to change the URL in every test case. Instead of doing this can we have a option to change the URL of all the cases by modifying at one place.
Plamen
Telerik team
 answered on 09 Nov 2011
3 answers
135 views
Hi Team,

Do we support the relative path of xpath instead of absolute path?
Because absolute path not stable enough, page's small change will cause case failed, so I'd like to use relative path, seem I putted the relative path, the element can not be found.
Absolute path: /html[1]/body[1]/div[10]/div[2]/div[1]/div[3]/div[1]/div[1]/ul[1]/li[1]/a[1]
Relative path: //div[@id='nameplate-header']/div[1]/ul/li[1]/a

Thanks
Waylon
Keith Hill
Top achievements
Rank 1
 answered on 08 Nov 2011
7 answers
142 views
Hello,
I have been asked to schedule a simple login test on our website to run every 15 minutes.  Since we are unable to repeat a test in a single schedule more often once per day and I would like to avoid setting up 96 of those schedules I am searching for alternatives.  I have been considering placing the same test in a test list 12 times with 15 minute waits between each iteration or looping through the same test multiple times with 15 minute waits between each iteration however I have been unable to determine how to do any of these options.  Do you have any suggestions?  I am working in the full version of Test Studio.

Thanks in advance,
Nick
Cody
Telerik team
 answered on 08 Nov 2011
3 answers
202 views
does the tab key from keyboard supports while entering data in to the fields from running test in telerik?
Plamen
Telerik team
 answered on 07 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?