Telerik Forums
Test Studio Forum
13 answers
360 views
Hello, I have been trying to run a test which involves opening and closing a certain dynamic popup window in an app. The strange thing is that unless I put a wait step before I connect to the popup window the test always fails, but if the 'connect to popup window' step runs before the window in question has fully loaded Test Studio can't seem to connect to it.

This suggests to me that Test Studio's WaitForNewBrowserConnect function is only checking to see if the popup has loaded one time, when it is first called, and if the popup loads after that the function fails to notice.

I am using a Partial URL for the popup window, and I tried simulating a real click for the link that produces the popup but it had no effect. I also tried the solution suggested on this page (http://docs.telerik.com/teststudio/testing-framework/frequently-asked-questions) with no luck.

Here is the error I am getting:

ArtOfTest.Common.Design.Exceptions.ExecutionException: Exception occurred waiting for the new browser to connect. ---> System.OperationCanceledException: Exception occurred waiting for the new browser to connect. ---> System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.HtmlDialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
   --- End of inner exception stack trace ---
Cody
Telerik team
 answered on 26 Mar 2015
3 answers
104 views
Hi,

         I am using Test Studio_Ultimate_2014_4_1411_Trial version.

         When I was tried to Record the web test, the link didn't navigate the URL which I Entered in the Navigate Box.

         I gave this URL : https://www.google.co.in/

         But it navigates the localhost page below. 

                                               http://localhost:53736/WebUI/Pages/Start/[object%20Object]

         I didn't Understand where i did mistake. Please suggest me how to resolve this problem.

        In the previous versions (Test Studio_Ultimate_2014_3_903_Trial) it was worked successfully. 

        I have faced this issue in the updated versions below.

                     Test Studio_Ultimate_2014_4_1211_Trial and Test Studio_Ultimate_2014_4_1411_Trial

        Herewith I have attached you the video Reference. Please find it.


Thanks
Saravanan


Cody
Telerik team
 answered on 26 Mar 2015
1 answer
131 views
Hi,

I am using Test Studio_Ultimate_2015_1_319_Trial version.

If I have the option to make sub folders inside Data Folder means,it will easy to separate my data workbooks having different Module.

Because I have more than 100 Excels with different Module. I feel difficulties to search and binding data excels.

In our previous discussion u said that Data Folder only the place where we can maintain our Excel Workbooks.

http://www.telerik.com/forums/data-binding-issue---excel-sheet-inside-folders-are-not-displayed

If Possible means Please add Features to make sub folders inside the Data Folders for the upcoming versions.

I am Waiting for positive Response.

Thanks
Saravanan
Cody
Telerik team
 answered on 26 Mar 2015
7 answers
240 views
I have a code like this:

 

Assert.IsFalse((ArtOfTest.Common.CompareUtils.StringCompare(DataSetCell.Text, ((

 

string)(System.Convert.ChangeType(Data["Dataset"], typeof(string)))), ArtOfTest.Common.StringCompareType.Same) == false), string.Format("gridviewcell: text same {0}. failed. Actual value {1}", ((string)(System.Convert.ChangeType(Data["Dataset"], typeof(string)))), DataSetCell.Text));

 


This line has thrown an exception with message like below.

Exception thrown executing coded step: '[Verify_CodeName_CodedStep] : Verify Code Name, RequiresSilverlight=True'.
InnerException:
ArtOfTest.Common.Exceptions.AssertException: Assert.IsFalse - [Expected:False],[Actual:True]
   at ArtOfTest.Common.UnitTesting.Assert.IsFalse(Boolean condition)
   at ArtOfTest.Common.UnitTesting.Assert.IsFalse(Boolean condition, String message)
   at GRCSuite_Default.Test_DA_Dashboard_Completeness.Verify_CodeName_CodedStep() in c:\Users\kayson\Documents\WebUI Test Studio Projects\GRCSuite_Default\Test_DataAdmin\Dashboard\Test_DA_Dashboard_Completeness.aii.cs:line 148

Where is error message logged? It will help a lot in the debugging.
Cody
Telerik team
 answered on 23 Mar 2015
4 answers
96 views
When this script step executes successfully on the website it shows up as fail in Test Studio

                     HtmlFindExpression expr = new HtmlFindExpression("class=~records_per");
                     HtmlSelect select1=Find.ByExpression<HtmlSelect>(expr);
                     select1.SelectByText("All", true);

                    ArtOfTest.WebAii.jQuery.jQueryControl jQueryControl = select1.AsjQueryControl();
                    jQueryControl.InvokejQueryEvent(ArtOfTest.WebAii.jQuery.jQueryControl.jQueryControlEvents.change);

The scripted step is used to select the "All" option from a dropdown list. When "All" is selected, the page will automatically refresh to show "All" the data on a page. Is there something missing? I look forward to your response.

Boyan Boev
Telerik team
 answered on 23 Mar 2015
1 answer
95 views
I would like to start using remote machines as execution agents.  Is a license required for this and if not where can I download the software for it?
Ivaylo
Telerik team
 answered on 21 Mar 2015
1 answer
75 views
Hi,

Where may I find the release notes for today's update?

Thanks

Wade
Boyan Boev
Telerik team
 answered on 21 Mar 2015
5 answers
153 views
Im kinda new to this automation tool, just wanted to ask one of the problems were having when we try to record/capture a certain scenario. 

1. We try to enter this text/data on one of the entry fields:
        "This is the data to be converted into a blank statement"
2. After entering the above, I highlight "This is the" from the entry fields
3. after doing step 2 (highlight on the words are still on), i clicked the button labeled "Convert to Blank"
4. end of test.

now after we run the script, we always have an error  unable to locate the element

Cody
Telerik team
 answered on 20 Mar 2015
3 answers
190 views
I'd like to run all of my tests on a remote server, but whenever I start Test Studio, the Test Runner application starts.

I've unchecked the "Run on start up" option - so it doesn't run on start-up... but it still runs and appears as an option in the "Run List Remotely" dialog box.

I checked the Test Studio settings but didn't see any way to disable Test Runner start-up.
Cody
Telerik team
 answered on 20 Mar 2015
3 answers
144 views
In order to get a better picture of the results of our tests, we're trying to run them on a remote server.

Test Runner is configured to run on start-up - but it only seems to activate when a user remotes in to the headless server via RDP.

The machine is rebooted occasionally, and I typically discover this by selecting Run List Remotely in Test Studio - then finding no remote computers available to run my tests (these are tests of an ASP.NET MVC website).

When this happens, I remote into the server and Test Runner starts, then I can continue testing until the machine is rebooted again.

I tried creating a scheduled job via PowerShell to start the Test Runner via Telerik.TestStudio.Scheduling.Client.exe... but that doesn't seem to have solved the problem.

I found this in the Test Studio documentation: http://docs.telerik.com/teststudio/knowledge-base/scheduling-kb/keep-active-session

It says "Telerik tests running against HTML-based web applications (ASP .NET and others) frequently can work on a locked machine because most test steps don't use the mouse or keyboard."

That doesn't seem to be the issue - the issue here seems to be that a user account hasn't logged in in the first place.

The article also cautions against the approach documented on Windows Server 2008. The server I'm working with is Windows 2008 RT Enterprise SP1.

So what is the best way to correct this issue - preferably using PowerShell if scripting is required?
Cody
Telerik team
 answered on 20 Mar 2015
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?