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.
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
Hi,
I am a new test studio user and I am working on some initial test scripts.
One of the first sets of scripts is testing a login including:
I am wondering is it possible to automate #4 above using the Test Studio UI?
Our password reset process sends an email to the user with a one time use URL.
I suppose the scenario would be to identify a dedicated user account for the email to go to, then login to web mail access with a known email UID/PSW. Select the email. click on the link, and then follow it back through. to access our password reset prompt which is waiting for the new password to be specified.
Question is: The link is dynamically generated. How would I account for that?
Or should I be asking for a developer to modify the password reset to have a method that allows for a known Password reset token for this user that is static?
i have a problem with running tests with chrome.
Page keeps refreshing and test fail at last.
note that this does not happen when i try for google page , is this a compatibility issue or what?
Thanks
Hi!
We have automated tests setup for our WPF application. Our application has a self updating process that closes itself, replaces its exe with an updated exe and then restarts itself. We have implemented a way to test this procedure by using a mock application at startup and then feeding in our actual application as mentioned in your KB (http://docs.telerik.com/teststudio/advanced-topics/coded-samples/wpf/connect-to-running-app). We use the Manager.ActiveApplication.Detach(false) function to free the exe from the testing framework, we then update it and then reattach to the application when it restarts using the same method used when we feed in our actual application at startup.
This process works perfectly when running it via a Test List in the Telerik Test Studio IDE Runner. Unfortunately, this process only works on a single run through when we run the very same code on the ArtOfTestRunner.exe on our CI server. It will then refuse to work again until we restart the server. When we run the Manager.ActiveApplication.Detach(false) function, the ArtOfTestRunner.exe will immediately begin the next test in the Test List, instead of running the next step in the currently executing test (which is to hook back into the application after it restarts).
Do you have any insight as to why this is happening? Why would it work the first time, but continue to fail there after until the server has been restarted?
Hope to hear back soon
I have a question about how Manual Testing in Test Studio works. I did not see much documentation regarding the Manual Testing. In the screenshot below, I did an import of my test cases from a spreadsheet. That is perfectly the way I wanted but once I have that imported, I would like to add different notes to each step of the Manual Test. But I noticed that all the steps in the test share the same note. Is that how Manual Test was designed or am I missing something in the functionality of Test Studio.