Telerik Forums
Test Studio Forum
1 answer
80 views
Hello, I've searched a lot but can't find anything that suits my needs. 

I need to compare two drop-down menus, they need to have the same text but I can't find anything that can do it in Telerik Test Suit.

Someone can help me?

Thanks in advance.
Boyan Boev
Telerik team
 answered on 30 Sep 2014
2 answers
113 views
During recording of automation, when selecting a parent from the drop down it was failing when playing back the test.
What was recorded from my step was: RadTreeView('ct100_firmComboBox_i0_firmTreeView'): 'SVAutomationVC' action -> 'Click'.
Eventually, before this step another step had to be entered to get this to work. This step was inserted before the click action: Scroll ListItem1 to top of window.
The test passed once this was inserted into the automation script.

Now, I am having issues with automating the selection of a child selection to this parent. At the drop down list the parent (SVAutomationVC) displays with '+' next to it. And once '+' is selected the user is able to view the child or children. When I record the steps of selecting the child and play back occurs it fails. I have tried to insert steps as done for the parent but nothing as worked.

I have attached my automation scripts and also a screen shot of how far the scripts take me in the application. Has anyone else had this problem or does anyone have an answer so that I can move past this point in my automation with a successful script?
Ivaylo
Telerik team
 answered on 30 Sep 2014
1 answer
63 views
I created a load test in test studio by creating order on test site.

Now I am running the load test with 10 users and expected that atleast 10 orders will be created
but not even a single order is created.

Does the test studio load test not work by running the entire test again for multiple users.
Ivaylo
Telerik team
 answered on 29 Sep 2014
1 answer
65 views
Hi,

We have successfully configured TFS bug tracking tool with TTS.
When i tried to submit the bug to TFS, Display with "Unable to submit bug to Team Foundation Server. Error: Area validation"
Boyan Boev
Telerik team
 answered on 26 Sep 2014
3 answers
101 views
I know this question has been asked and answered, but either I'm not understanding how to address my specific situation, or I am asking for something slightly different.

I have a scripted test that looks for specific text on screen, and if it does find that text, the test will Log.WriteLine and continue on with the test. What I would also like to happen, is for the test to be marked with a rex X as a fail, but still continue on with the test.

If I could please get some assistance, that would be great.

foreach (HtmlAnchor Reports in creativeReportsAnchors)
{
    try
    {
        Log.WriteLine(Reports.HRef);
 
        Reports.Click();
 
        //Refresh DOM tree
        System.Threading.Thread.Sleep(7000);
        ActiveBrowser.RefreshDomTree();
 
        if (ActiveBrowser.ContainsText(productionError) == true)
        {
            Log.WriteLine("ERROR: ");
        }
        else if (ActiveBrowser.ContainsText(stagingError) == true)
        {
            Log.WriteLine("ERROR: ");
        }
 
        System.Threading.Thread.Sleep(2000);
    }
    catch (Exception)
    {
 
    }
    finally
    {
        ActiveBrowser.NavigateTo(CurrentSiteUrl + "reports-creative.aspx");
    }
}
Cody
Telerik team
 answered on 25 Sep 2014
5 answers
190 views
My company is a .net shop and our data is very Dynamic.  Each time we access a form on a web page, that page creates what we call a “Recid”. When I record an automated test and then re-run that test, I get an error saying “element  was not found”. I am guessing this is because the page now has a Recid different than the one when I first recorded the test. How can I get around this? I need the automated test to except whatever the newest Recid will be.
 
Example.
 
When I recorded an automated test, the Recid=15266 (see below). The next time I access the same web-page, this Recid will equal 15227 (or even higher number)
 
https:/ser/Crf/Enter.aspx?Id=R01-0028BB&RecId=15226
  
I am testing out  Test Studio  trial to see if this is a product my company may want to purchase. However, the above issue would be a show stopper for us.
  
Also, is there a way to ignore pop ups when recording UI recorded tests?
Cody
Telerik team
 answered on 25 Sep 2014
2 answers
102 views
Hello,

   My version is 2012.2.1317.0.

My question is simple. Is it possible to call a test as a substep in a test? i.e. I have several automated tests that need to have the same workflow executed in them. I write that workflow as a test called 'basic workflow test'. I create a new test. In that new test is it possible to call the 'basic workflow test' as a step? This would save me time and reduce maintenance. 

   If I have posted this question in the wrong section and it should be put in the forums, please let me know. 
mousumi
Top achievements
Rank 1
 answered on 24 Sep 2014
3 answers
133 views
I have a telerik licensed tool. full version. I was searching for keyword driven framework online but couldnt find any document.

Can you please help me understand if Telerik supports keyword driven approach. 
If so please send me the appropriate link. Thanks.
Cody
Telerik team
 answered on 23 Sep 2014
16 answers
144 views
Hi!
In our webapplication we have a jquery search field in which letters are entered, and a list of peoples names are listed that contains the letters entered. I.e. if I enter "w" a list of people having "w" within one of their names are listed.
The list is not appearing when I replay the test, though. I have read the documentation on jquery controllers both on Teleriks help pages, and in this forum, but it is not helping me out.
This is the method that should "trigger" the list:

Actions.SetText(Pages.BestillAvbestillRollerFor0.TxtSokSearch, "w")

Does anyone have any suggestions on how to make it work?
Boyan Boev
Telerik team
 answered on 23 Sep 2014
2 answers
136 views
Hello -

Question: Is there a recommended approach to testing values returned in an SSRS report?

Context: I have just started evaluating Test Studio for use with my company's client extranet.  The site makes heavy use of SQL Server 2012 SSRS reports.  I want to be able to run a report and validate the results that come back by spot checking key values returned in the report table.  These tables are often thousands (if not tens of thousands) of rows long by dozens of columns wide.  Consequently, I can't create reliable ID's for each data point.

When I run the Test Studio recorder, select a few cells in the SSRS results, then run the test, I typically get errors indicating that Test Studio was "Unable to locate element."  Furthermore, it says that it was found by backup search using the xpath value.  I can resolve the failure by going to the "Resolve Failure" tab, removing the existing filters, and replacing them with the xpath suggestion.  From there, the test will work.

The down side is that this seems fairly fragile in nature.  The xpath for most data points looks something like this:

xpath=/html[1]/body[1]/form[1]/div[5]/div[1]/div[1]/div[1]/div[4]/div[1]/div[3]/div[2]/table[1]/tr[2]/td[1]/div[1]/div[1]/div[3]/div[1]/div[1]/div[1]/div[1]/table[1]/tbody[1]/tr[1]/td[1]/div[1]/div[1]/table[1]/tbody[1]/tr[2]/td[1]/div[1]/table[1]/tbody[1]/tr[1]/td[4]/table[1]/tbody[1]/tr[1]/td[1]/div[1]/span[1]/div[1]/table[1]/tbody[1]/tr[5]/td[3]/div[1]/div[1]/div[1]/table[1]/tbody[1]/tr[1]/td[1]/div[1]/table[1]/tbody[1]/tr[52]/td[6]/div[1]

To say that's ugly is an understatement, and it seems like it wouldn't take much of a page update to throw it off.  Plus, because I need to add many data point validations, I really don't want to go into Test Studio, create all the tests, and then run each one over and over until I resolve all the failures by following the steps above.

Restating the Question: Is there a recommended approach to testing values returned in an SSRS report?

Thank you in advance for any direction you can provide!

Best regards,
Jason W. Pegg
Cody
Telerik team
 answered on 22 Sep 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?