Hi, i have a question. I want to create a test that is "dynamic" meaning, when the test has finished to run, it will go back to the beginning take another url, and will run again on the new url. what i need is a loop test that will receive different parameters in each run, but the test steps are the same.
Is that possible in test studio?
Thanks for any help.
Hello,
I have a problem with extracting a value form Kendo Grid.
The table is with three columns and I want to extract the text in second column of the first row. The second column cointains a full name of person.
Every time I run the test the full name in second column is different and I want to get this full name and use it for later.
I do the extraction with Quick Tasks.
Example:
Extract-kednoGrid:[2, 0] Cell text is "FirstName SecondName LastName"
and I change only the DataBindVirableName to FullNameTableCell (for example)
But when I run the test gives me the following error:
Value cannot be null.
Parameter name: key
InnerException:
System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at ArtOfTest.Common.Design.Extensibility.ExtractionDataStore.AddToStore(VerificationDescriptor descriptor, DescriptorValueStore values)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
I am trying to schedule the test list using TFS but keep getting errors. I have attached entire log here.
Regards,
Dhaval Pathak
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
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.
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!
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.
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.