Telerik Forums
Test Studio Forum
5 answers
271 views
Hello,

how can I change the recording browser from Internet Explorer to Mozilla Firefox. I have set up Mozilla as my default browser and I have checked the test to run using it in the execution tab but when I try to record a test, a window of IE opens.

Thank you
Velin Koychev
Telerik team
 answered on 02 Jul 2013
1 answer
119 views
I have come across what I believe to be an IE10 related issue with the way Test Studio interacts with IE10 using XPath.  Our application uses elements with dynamic ids.  In order to find these elements during a playback, XPath was used.  It appears that after interacting with several elements which are located via their XPath, IE10 will stop responding and display the "Internet Explorer has stopped responding" message box.  At this point, the browser needs to be closed and the automated test stopped.  Initally, we used a long XPath to get to the desired elements.  After the Telerik training class yesterday (thanks Todd!), it was advised that we use a short XPath such as //*[@Id = ""].  I applied this change to one of the dynamic elements and it appeared to work correctly.  After applying the XPath modification to the 6 other dynamic elements, IE again stopped responding halfway through the test.  The problem is predictible, as the test fails at the same point every time - which is after the constant XPath calls.  After struggling with the test for several more hours, I decided to run it in IE10 using IE8 browser and document mode.  The test is not displaying the error any longer and is running through to completion.  Has anyone else experienced this issue?  Any suggestions on a cause other than IE10?  Again, it runs if IE10 is in IE8 browser and IE8 document modes.  I have not yet been able to run the test on a true IE8 or IE9 machine.  I welcome any suggestions!  Thanks!!
Ivaylo
Telerik team
 answered on 01 Jul 2013
1 answer
629 views
Nunit Template - "System.NullReferenceException:Object reference not set to an instance of an object"  is displayed when calling method from one class to other

Error is displayed when Iam calling method from class 2 to class 1.

Please find below sample code

namespace UnitTestProject4

{

public class Class1: BaseTest

[Test]

    { public void Testmethod1()

        {

            Manager.LaunchNewBrowser(BrowserType.InternetExplorer);

            ActiveBrowser.NavigateTo("http://www.wikipedia.org/");

            Class2. Testmethod2 ("Telerik Test Studio");

            Find.ByName<HtmlInputSubmit>("go").Click();

        }

  public partial class Class2

        {

           static Settings setting = new Settings();

            static Manager Manager = new Manager(setting);

            public static void Testmethod2 (string A)

            {

             Manager.ActiveBrowser.Find.ById<HtmlInputSearch>("searchInput").Text = A;

            }

        }

    }


Velin Koychev
Telerik team
 answered on 28 Jun 2013
1 answer
89 views
Hi,

we encounter problems with tests executed in a test list. For some unknown reason the application crashes sometimes when the execution of a test list ends. A window to "Save/Restart", "Save" or "Exit" Test Studio is displayed. I attached the exception from the log file. Maybe the issue is related with our high result count (which is 851).
Ivaylo
Telerik team
 answered on 28 Jun 2013
5 answers
380 views
How does one open a new window during recording and continue to record in that window? The new window would contain a different site where data is needed to be extracted, the original window will need to stay open and returned to once the data has been extracted from the new window?
Cody
Telerik team
 answered on 27 Jun 2013
1 answer
95 views
Hi Team,

I'm currently running a functional test on my website that has login, add a patient, add a claim and make a payment for that patient. The test is very inconsistent every time I run it. Sometimes the test clicks on the add button perfectly fine, other times it clicks the button right next to it even though i have set it to left click on that specific point. Other times it will click on the submit button but it won't actually click on it, if that makes any sense. The test is not data bound to anything or is running over and over again. I simply click run once and sometimes it will run perfectly fine and other times it clicks on the wrong button. 
Rodney
Telerik team
 answered on 26 Jun 2013
1 answer
186 views
Our company has two completely different front end powered applications. We have one of the applications (powered by Silverlight) launching a new IE10, or Firefox, tab with the other application (powered by HTML5 / Javascript) loading information passed to it by the first app. I would like a way to have Test Sudio verify that the new tab was opened, and that the new tab has the correct url. Is there way to do this?
Cody
Telerik team
 answered on 25 Jun 2013
5 answers
121 views

Hi, i am currently facing an issue with recording in telerik. This is an open issue pending debugging from telerik. Meanwhile i wanted to enquire, is it possible in any way to record my test case in visual studio and playback and debug in telerik. As i have seen, that the entire recording is sccusfully done in VS. and i wish to use teleriks multiple browser playback att attribute.

 

Thanks

akhil

Boyan Boev
Telerik team
 answered on 25 Jun 2013
2 answers
160 views
I have 2 problems. 

I'm trying to test your kendo ui datepicker using test studio, but I can't click the month. my scenario is i want to go to 2 years before the default date.
I'm trying three things to do this:
1. Usual click
2. Using command like "Desktop Command: Left Click...:"
3. Using javascript on click command

none of them works.
The date picker we use is exactly like in your demo:
http://demos.kendoui.com/web/grid/from-table.html


My company also use Kendo Grid to display the data. We tweak it a little so you can click the data and it will redirect you to another page.
My testing scenario is I want to click the data so i can go to another page.
Three commands I already used and failed:
1. KendoGridCell Click on Cell [2,0]    
2. Desktop command: LeftClick on Go To TheLink
3. Invoke 'OnClick' event on 'TableCell'


Can you please help me solve my problem?



Rodney
Telerik team
 answered on 24 Jun 2013
1 answer
156 views
Is there anyway you can dynamically handle width and height on Svg Tag element? I have a script where I restore down a browser and make sure charts fits to the browser window. I basically login into website and restore down browser window and add a verification element to the test as shown below:
Verify attribute 'width' has 'Same' value of '968' on 'SvgTag0'
Verify attribute 'height' has 'Same' value of '252.5' on 'SvgTag0'
Test runs fine if always the width and height is exactly same. But usually this is not the case. If you resize and then restore down the attribute values will change. Is there any way you could handle this dynamically since its always hard to restore down the browser to exact same width and height?

Thanks,
Mamata


Cody
Telerik team
 answered on 24 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?