Telerik Forums
Test Studio Forum
4 answers
114 views
I have a table of data where I am trying to find a specific row in the table using data from an excel spreadsheet, and then I want to click a checkbox at the beginning of the row. There are several other steps that will cause the row to be deleted, then I want to run the test again using the next search term in the excel file. I can find the particular row I am looking for by using a chained find to find the table itself, and then the row, but I can't figure out how to back up in the same row to a previous element.

Can I do this test using the UI? I'd like to take advantage of the data binding of the excel data to my test steps.

If I can only do this test using code, can you show me the code I would need to use, including the code to read in the data from my excel file?

I've attached the relevant section of the DOM, the table I am searching. I am using version 2014.3.903.0 of Test Studio. If there is anything else you need, let me know.
Boyan Boev
Telerik team
 answered on 24 Dec 2014
1 answer
44 views
Hi,

I am facing some issues with the Telerik Integration with IE.

Here are the details:
Internet Explorer: 11.0.5
Telerik: 14.3

Problem:
I have a Lenovo thinkpad laptop with Windows 8.1 Enterprise running on it. The recommended screen resolution is 2560*1440.
When I run my tests, telerik opens IE with zoom set to 100%. However, this is very small and I can barely identify the DOM elements for recording.
When I change the zoom or screen resolution, telerik still opens IE with zoom set to 100%. I'm not sure why though.

Also, when I change the zoom to 175% or lower the screen resolution, the tests fail.

Please could you help me with this issue?

Regards,
Niharika
Cody
Telerik team
 answered on 23 Dec 2014
1 answer
72 views
Can Test Studio be integrated with Jenkins such that tests are kicked off after a build is installed?   If so, where is the documentation on this?  I've searched the forums, but the links are getting server errors.
Boyan Boev
Telerik team
 answered on 19 Dec 2014
1 answer
60 views
Hi I'm having a ton of problems verifying text on my web application. Is there a best way to go about verifying text that isn't always going to be in the exact same spot?

Thanks in advance!
Cody
Telerik team
 answered on 18 Dec 2014
5 answers
103 views
Hi,

I am trying to get familiar with binding datasource.  I was able to create and bind if I used local data, but not with an excel.  Could you please help?

I created an excel file and added it in to my project (please see file 'Users' attached below).
I selected a test and clicked the Blind test.  Then selected "Users" under the Data Selection and I got an error.  Please see the file 'error' attached below. 

Thanks,
Mindy
Ivaylo
Telerik team
 answered on 17 Dec 2014
1 answer
142 views
With changes that have been made to my tests over the weeks, I have a number of elements in my project that are no longer used. I'd like to remove them (my elements repository has become large and cumbersome). So I suppose I have two things... First, when an element is not referenced in any tests/steps, right clicking on the element will show 'Delete' as an option. However, it doesn't work. I've tried selecting the element and using the delete key. That has no effect, either. So, how do I remove an element from my project? Also, I have some very busy web pages I'm testing. There are scores of elements on a single page. So I have quite a few elements listed in the project under the PageName. Sometimes Test Studio will add a new 'batch' of elements under PageName0 or PageName1. Fine - I can combine them (to a degree). But can I arrange them in logical groups that make sense to me? So rather than having 56 elements listed under a single page, I can have, say, 8 pertaining to search in a group and 11 list items grouped, etc.? That'd make the world a better place if I could. It would also make the world better if I could remove the dozens that have become orphaned over time.
Cody
Telerik team
 answered on 16 Dec 2014
1 answer
63 views
After you moved the user guide to the new site, I can no longer get to the API reference. I just get a blank screen. Do you have another link to the reference pages?

I am using the Firefox browser, version 26.0. I get the same result in the Chrome browser. I've attached a screenshot and a copy of the DOM.
Cody
Telerik team
 answered on 16 Dec 2014
0 answers
224 views
We have recently released a new Test Studio documentation. After this release "User Guide" under Test Studio Help tab has some issue with rendering the new documentation. Here is how to fix it:

1. Download and unzip the attached file (UserGuide.zip). It contains two *.reg files. Those add the required registry value to the respective location 32/64 bit systems. It simply tells to Test Studio built-in browser control to use the latest standards for rendering the sites.

2. Double click the file which is for your system (32/64 bit) and click Yes.

3. Restart Test Studio and the new documentation should appear correctly when you hit "User Guide" button under the Help tab.
Boyan
Top achievements
Rank 1
 asked on 16 Dec 2014
4 answers
96 views
I have a question, I am evaluating Telerik and  it looks like I need to customize the base class that the test cases derive from.
I have done this with other products, but I am not certain how to do it with Telerik and if I would be missing soemthing by doing it this way.

I am not sure if I can have my test cases derive from another class which derives from BaseWebAiiTest. The test class will call a super class and then this super class will call down to the "steps" implemented in the "MyTest" class. Error will be thrown in caught by the super class if they happen to occur. 

I am not sure if this would work in Telerik framework, what would would I comprimise from Telerik's framwework behind the scenes work , test execution, reporting, etc. Also what  about the [] blocks that are defined withing the test case.

public class MyTest : CustonWebAiiTest{

  public MyTest(){
   super(BaseState.whateverTheCase);

 public void allStepsAreHere()throws Exception{
   //all the test case methods that are called would be in here

  }
 }

 }

 

//THIS WOULD BE MY ABSTRACT CLASS THAT TEST CASES DERIVE FROM. It takes a parameter for the constructor and it calls the execute method which in turns implements a base state and then calls down to MyTest to run the steps of the test case.

public abstract class TestCase : BaseWebAiiTest {
     public TestCase(BaseState basest){
        execute();
     }
    public abstract void AllStepsAreHere()throws Exception;

    public void baseStateDef(BaseStateDef bs){
    //sets my base state
     };
     
    public void execute(){
    try{
     baseStateDef(baset);
     run();
     } catch (Exceptions);
    }

Thanks.

 

Boyan Boev
Telerik team
 answered on 16 Dec 2014
3 answers
34 views
The links to the User Guide are now broken.
Any idea how to get to and downlowd the User Guide?

Thank you!
Boyan Boev
Telerik team
 answered on 15 Dec 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?