Telerik Forums
Test Studio Forum
1 answer
102 views
I have installed Telerik test studio trial version and while I launching the studio is crashing every time. Even I cant enter the trial key also, it crashes before i entering. Why it is happening. I checked all prerequisites for Test studio and my machine is qualified. Please help on this.
Elena
Telerik team
 answered on 15 Mar 2016
1 answer
85 views

I am trying to schedule the test list using TFS but keep getting errors. I have attached entire log here. 

 

Regards,

Dhaval Pathak

Elena
Telerik team
 answered on 12 Mar 2016
3 answers
129 views

Hi,

I have recorded a test, as one of the test steps are clicking on a drop down menu.

I changed opened a feature in our UI which causes it to change a bit (some tabs added). After the change, the tests failed and from what I could see is that the button ID changed.

It tries this:

Pages.Kenshoo.FrameMainViewIframe.Button1490BtnIconElSpan.Click(false);

After I opened the feature on the test server, seems like the button id changed (1490).

Any way to run this using a regex to capture the id?

 

Error:

 

Pages.Kenshoo.FrameMainViewIframe.Button1490BtnIconElSpan.Click(false);

 

Exception thrown executing coded step: '[WebTest_CodedStep] : Click 'Button1486BtnIconElSpan''.
InnerException:
ArtOfTest.Common.Exceptions.FindElementException: Element Not found!
FindExpression used: 
[id 'Exact' button-1486-btnIconEl] AND [tagname 'Exact' span]

   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.WebAii.Synchronization.Wait.ForCondition(Func`3 condition, Boolean invertCondition, Object custom, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.WebAii.Synchronization.Wait.ForExists(Int32 timeout, Boolean refreshElement)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.GetElement(HtmlFindExpression expr, Boolean waitOnElement, Int32 timeout)
   at ArtOfTest.WebAii.TestTemplates.ElementContainer`2.Get(TFindExpression expr, Boolean waitOnElement, Int32 timeout)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get(HtmlFindExpression expr)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get[TControl](HtmlFindExpression expr)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get[TControl](String[] clauses)
   at TestProject1.Pages.KenshooPage.FrameMainViewIframeFrame.get_Button1486BtnIconElSpan() in c:\Users\tomeri\Documents\Test Studio Projects\TestProject1\Pages.g.cs:line 115
   at TestProject1.WebTest.WebTest_CodedStep() in c:\Users\tomeri\Documents\Test Studio Projects\TestProject1\WebTest.tstest.cs:line 53

Elena
Telerik team
 answered on 11 Mar 2016
3 answers
62 views

Hello Telerik Team,

 

I am getting deeper into the new versions features, ex. new Mobile Projects feature. And I just wanted to ask, if there any ability, to automate mobile web testing, through iOS and Android mobile browsers, using new Mobile Projects feature? And if it's not possible for now, do you have any plans for implementation of this seemingly very useful feature in nearly future?

 

Best Regards.

Boyan Boev
Telerik team
 answered on 10 Mar 2016
5 answers
224 views
Hi,

On one of my tests the steps include clicking on various links and waiting to see that the correct URL is loaded. These seem to fail (seemingly randomly, or at least according to a pattern that I can't figure out).


The scenario is as follows:

1. load index
2. wait for menu to exist
3. click on link in menu
4. confirm that browser navigates to topic page (waitforurl)
5. wait for a link to exist and then click on it
6. repeat 4 and 5 for a sub-topic page.
7. confirm that browser nagivates to article page (wait forurl)

The tests fail at 4 and 7. I can see in the browserUI that the page has correctly loaded, and finished loading within the wait period.

All I can guess is that perhaps some element on our page is confusing the picture somehow (either an iframe element or a modal window).

The exception is reproduced below:

Thanks,
Ed

-----------------------------------------------------------------------------------------------------------------------------------------

ArtOfTest.Common.Design.Exceptions.ExecutionException: Wait for condition has timed out ---> 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.Browser.WaitForUrl(String url, Boolean isPartial, Int32 timeout) at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.WaitForUrlActionDescriptor.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 --- 
Boyan Boev
Telerik team
 answered on 10 Mar 2016
1 answer
119 views

Hi.

I am simulating a click on an entity within a web page. 

What I would like to do is to parametrize the entity name and pass it the value from the local data table I created.

I am unable to create a parameter, therefor, unable to bind the data table to the step.

My step is:

Pages.Kenshoo.FrameMainViewIframe.BUTestLink.Click(false);
I need the BUTestLink to be a parameter and binded to the data table.

 

thanks for the help!

Ivaylo
Telerik team
 answered on 10 Mar 2016
6 answers
267 views

Hi Team,

 

Please guide me how can I Click on "Edit" link just by giving the index number as shown in the attached Image

This Edit link is also a part of HTML table and so far I figured out the code as :

 

            HtmlTable table = Find.ByExpression<HtmlTable>("TagIndex=table:0");
            Assert.IsNotNull(table);
            
            HtmlTableRow row = table.Find.ByExpression<HtmlTableRow>("innertext=~Edit","tagname=tr","tagindex=a:0");
            
            HtmlTableCell cell = row.Cells[3];
            HtmlAnchor a = cell.Find.ByExpression<HtmlAnchor>("innertext=~Edit","tagname=a");
            a.Click();

 

But this code is NOT working. Please guide me how to accomplish this task ?

 

Note : the values in the table cells are always changing i.e., they are dynamic. So we cannot rely on existing data.

Boyan Boev
Telerik team
 answered on 09 Mar 2016
5 answers
84 views

Hi,

  I have downloaded the Telerik test studio and recorded on the RadGridView with 8 columns and 10 rows.we have to scroll horizontally to edit the data in the cellelement 05(i.e. 0th row and 5th column). I have recorded the steps, while playback it is unable to get the element in to focus and perform action on it. It failed saying the reason "Unable to locate element".search Failed!

      The following code snippet is xaml code related to RadGridView

            <telerik:RadGridView AutoGenerateColumns="False" ItemsSource="{Binding Customers}" Margin="0,0,8,178">
                <telerik:RadGridView.Columns>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding FirstName}" Header="First Name"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding LastName}" Header="Last Name"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Gender}" Header="Gender"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Email}" Header="Email"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding FirstName}" Header="First Name1"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding LastName}" Header="Last Name1"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Gender}" Header="Gender1"/>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Email}" Header="Email1"/>
                </telerik:RadGridView.Columns>
            </telerik:RadGridView>

   Any help how to solve this problem is very helpful.

 

Regards,

Nagasree.

   

Konstantin Petkov
Telerik team
 answered on 04 Mar 2016
2 answers
118 views

Is there a way to set a default value for the UserStepWaitOnElements flag?  I have looked for this but did not find a way.  

With running our tests on an execution server, I've found it necessary to have this flag checked on every step, otherwise the test executes too quickly and fails because the associated actions are not completed as quickly.  I prefer to do this, rather than using execution delays.

If no default setting is available, could this be considered as for a new feature?  

 

Thanks,

Briar

Briar
Top achievements
Rank 1
 answered on 03 Mar 2016
12 answers
364 views
Hi Guys,

I am trying out Telerik trail version to see if it fits the purpose of my company trying to implement automation testing.

I have run in to some problems:
1st thing is that Test studio does not detect FF and it saying we did not detect FF please install. I have it installed and running on my machine (I have manually configured the browsers). So not sure what the problem is.

Next problem is when I am trying to run a test with Chrome it freezes on at the configuring browser step.

Other problem is when I was trying to record sign in activity on gmail login, Test studio hangs when it says logging in with the progress bar half way through the logging in process.

Also I am trying to record and TS on our web app. The recording is fine but it fails when trying to run it. All the login data is entered correctly with real typing simulation enabled but when it clicks on the login button user is unable to login and login unsuccessful message is thrown. I have made sure to try different things to solve the problem and it doesn't help. I have tried it manually with the same date and other data and they work fine.

I have also noticed that I have testing frame work firefox 3 is incompatible and TF Http FF client is installed as well.

I am not sure how I can convince my organization to pick up the tool unless I have a solution for this problems.


Thanks in advance for the help

Regards
Praveen

Konstantin Petkov
Telerik team
 answered on 03 Mar 2016
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?