Telerik Forums
Test Studio Forum
8 answers
259 views
Hello,

I am working on creating a test where I need to check every checkbox that appears on a page.  This page is driven by rule validation from data entered on other pages, so the number of check boxes on the page could vary from 1 to 200 depending on the test case that is being run.  The checkboxes are displayed in an HtmlTable, on per body row.  The only difference in the id of the checkboxes is the bolded part: uwciRepeater_ctl01_checkBox_Approve.  Based on what number it is, it will show ctl00, ctl01, ctl02, etc.

I attempted changing expression in the find logic on the item to remove the ctl01 part and using a Do-While, but this still selects just the first checkbox.   I have been attempting different coded steps to no success.  I played with the idea of recording a huge if...then statement within the test, but I feel like that would be a large amount of steps and not the most optimal solution.  I was wondering if anyone would have an example of a coded step that could solve this issue.

Thank you,

Tyler
Ivaylo
Telerik team
 answered on 12 Nov 2015
3 answers
134 views

Okay, I have multiple environments (Dev, UAT, Stage and Production). Currently I am creating automated tests in our Dev environment. The idea is to use the same test to run in other environments. When I try it, I notice that nothing happens because the primary target for the element is different depending on the environment it is in. I've attached screenshots for examples, and each environment are accessed through different URLs (http://devapp/ and http://uatapp/). Is there a way to make this work? Or will I have to create a new test for each environment. Thanks in advance.

 

Cody
Telerik team
 answered on 10 Nov 2015
3 answers
73 views

I just installed Telerik Test Studio. When I try and create a new project, the following messages are displayed:

Unable to create folder 'H:\Test Studio Projects\TestProjects3\Data'.' 

Unable to create folder 'H:\Test Studio Projects\TestProjects3\Results'.'

Unable to create folder 'H:\Test Studio Projects\TestProjects3\TestLists'.'

Once I click ok for all, I am directed to the test studio but it keeps loading.

 

How do I stop the errors from appearing so I can work on a project?

Cody
Telerik team
 answered on 10 Nov 2015
1 answer
116 views

Hi there,

 

I am having a problem extracting text correctly while preserving formatting and pasting it somewhere while preserving formatting. I am extracting a license key from within a <pre> tag, storing it in a databind variable and outputting that text into a text input and verifying that the license is valid. I am having problems where when I extract the text, there ends up being additional whitespace and formatting issues with the text, causing the license key to be changed from its original state, making it invalid. I have also tried copying the key with its correct formatting into an excel spreadsheet, and binding the sheet into my test and pulling the key from there but it doesn't seem to work correctly as well. Is there any way to properly extract data while preserving formatting in test studio?

 

Thanks,

 Khalid

Ivaylo
Telerik team
 answered on 10 Nov 2015
4 answers
81 views
I have one weird situation with a test execution. Element verification and annotation show the right element, but the button (Sign in) is not selected during the execution. Test project included in att.
Uroš
Top achievements
Rank 2
 answered on 09 Nov 2015
2 answers
81 views

Hi Admin,

I'm so confused that IE stopped working once I verify some element when I record the steps.You can see the attached file for detail. And Test Studio recorder exited.Could you please tell me how to solve this problem. Thanks.

Ella

Ella
Top achievements
Rank 1
 answered on 09 Nov 2015
1 answer
194 views

Hi,

 

I am using test studio to test an AngularJS app. It is essential for me to use Simulate Real Click on all text fields to allow the two way binding to occur.

Is there a way of speeding up the simulate real click speed, as it take a very long time for each test.

Regards,

Zaki.

Konstantin Petkov
Telerik team
 answered on 06 Nov 2015
3 answers
106 views

Hi,

i got the following hidden input field

<input id="regit" type="hidden">

I got two issues here

1. Get the value of regit

2. Use the value to Navigate To a url 

Any ideas?

 Zaki.

Boyan Boev
Telerik team
 answered on 06 Nov 2015
1 answer
102 views

Telerik is attempting to say that the radio buttons I'm selecting are hidden.  They are both displaying on the page and I'm able to select both of them.  When you select either value the input in the div above is being updated from those radio buttons. That input is the only element that's being hidden by this page but telerik shouldn't be throwing that error.

 

<div class="radiogroup-container">
<input name="RL_400154" class="form-control question-value bound radiogroup initialized" id="P_300414" value="True" data-options='{"eventBinders":[{"eventName":"click","fn":"validate","context":"this"},{"eventName":"click","fn":"_MainRuleBody"}],"value":"","required":true,"enabled":true,"readOnly":false,"stackVertical":false,"dataValueField":"Value","dataTextField":"Description","dataSource":[{"Value":"True","Description":"Yes"},{"Value":"False","Description":"No"}]}'>Yes</input>
<div class="ifs-radiogroup">
<label class="radio-label radio-inline bound"><input name="1446491355081" id="1446491355081-0" type="radio" value="True">Yes</label>
<label class="radio-label radio-inline bound"><input name="1446491355081" id="1446491355081-1" type="radio" value="False">No</label>
</div>
</div>​

Boyan Boev
Telerik team
 answered on 05 Nov 2015
4 answers
93 views

Hi

I am new to Telerik and have downloaded a trial version.  I am trying to record a simple script against IE11 on Windows 8.  Whenever I click on Highlight Elements IE becomes non-responsive.

I have attempted the same recording in Chrome and whilst that records successfully the website in question behaves slightly differently on Chrome and the execution on IE of the Chrome recorded script is failing.

Bearing in mind I am new to this tool does anyone have any suggestions?

Thanks

 

Su

Ivaylo
Telerik team
 answered on 05 Nov 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?