Telerik Forums
Test Studio Forum
4 answers
299 views

When first trying the software on a WPF app, it was using the [TextBlockValue]TextBlock for the names. Since the value of the text block can change (and we need to check whether the name is valid), I added x:Uid to all elements we want to test.

However, it looks like test studio is still preferring [TextBlockValue]TextBlock instead of the x:Uid to search for the element. Is there any way we can force Test Studio to look at the x:Uid instead?

Thanks!

Ivaylo
Telerik team
 answered on 08 Jul 2015
14 answers
125 views

Hi,

I extract values from more elements and I want then to choose randomly one of them:

1. Extract selection 'ByValue' on 'Normalpreis' into DataBindVariable $(normal_pk)

2. Extract selection 'ByValue' on 'ermasigt' into DataBindVariable $(ermasigt_pk)

2. [Choose_random_price_cat_CodedStep] : Select 'ByValue' option '1' on 'Cat274411276264077Select':

    Dim n_pc As Object = GetExtractedValue("normal_pk")
    Dim e_pc As Object = GetExtractedValue("ermasigt_pk")
            
    Dim norm_pc As String = CType(n_pc, String)
    Dim erma_pc As String = CType(e_pc, String)
            
    Dim random As New System.Random()
    Dim i As Integer = random.[Next](1, 2)
    Dim j As Integer = random.[Next](1, 5)

    Dim avail_pk() As String = {norm_pc, erma_pc}

    'Select 'ByValue' option '1' on 'Cat274411276264077Select'
    Pages.FindEventsWebSales2.avail_pk(i).SelectByValue(j, true) ' originaly instead of avail_pk(i) it was Cat274411276264077Select

    'Invoke jQuery 'select' event'
    Dim jQueryControl As ArtOfTest.WebAii.jQuery.jQueryControl = Pages.FindEventsWebSales2.avail_pk(i).AsjQueryControl
    jQueryControl.InvokejQueryEvent(ArtOfTest.WebAii.jQuery.jQueryControl.jQueryControlEvents.change)

Can anybody help me?

BR, Jurij

 

Ivaylo
Telerik team
 answered on 07 Jul 2015
5 answers
69 views

Hi All,

 I am excepting an element which sometimes shows up and someother time doesnt and it depends on testcase. But in our code we have something like below.

Element adjustmentDetailsWindow = Manager.ActiveBrowser.Find.ById("viewDetailsContentWindow");

So problem is when window is present, we get correct results, but if window is not present, then we get an exception saying "Object Reference not set to isntance of object"

I put them in try catch block.But is there any better way to avoid exception as well when window is not present.?

Thanks,

VVP

Ivaylo
Telerik team
 answered on 07 Jul 2015
12 answers
195 views
Does any one seen a problem with installing Storage service for Test Studio. I've been trying to install Test Studio Storage services and keeps getting error:
'Service 'Telerik Storage Service' (Telerik Storage Service) failed to start. Verify that you have sufficient privileges to start system services.' This error popup while it is try to do SQLExpress installation.

I have check with my DevOps and he said I have Admin priviledges for my machine and also the VM  windows 7 machine that I am trying to setup. Is there a known issues that I am not aware of or is there any setup docs that would help would be great.

Thank you,

JamesNG
Andrew
Top achievements
Rank 1
 answered on 06 Jul 2015
3 answers
101 views

Hi,

 

When i click on download option in my application, i get a popup saying "Do you want to open or save file.xls" from some website. 

Is there any way to read that file name in the popup (Image.jpeg) or in window which appears after Clicking Save as button in dialog(SaveAsWindow.jpeg).

 Kindly let me know 

 

Ivaylo
Telerik team
 answered on 06 Jul 2015
3 answers
84 views

Hi,

 We are about to purchase Test Studio, but before I have a problem.

 Is the Scheduling Server separately licenced?

I want to try emailing the test results to myself, is the scheduling server included to trial version?

 

Ivaylo
Telerik team
 answered on 06 Jul 2015
1 answer
64 views

Hello Team,

 

I am working on a application where users with different roles and access rights are involved. The base level user submit a report which has to be approved by other users( user at higher level in hierarchy). Each time a report is submitted, a submission ID is generated which is used for futher correspondence. I have created two fully functional test cases which are: 

 

Test 1: Create abd submit new report

Test 2: Approve Submitted report

 

I am planning to integrate both the test cases so that whatever submission ID is generated by first test case, can be populated to the 2nd test case. Right now, I am explicitly entering the ID in 2nd case to filter out the report to be approved. Through forums and internet, I got a rough idea that some data binding and coded step is involved but could not figure out the correct solution.Can someone help to achieve this goal?

 

 

Thanks

Ivaylo
Telerik team
 answered on 06 Jul 2015
4 answers
77 views

Hi guys,

 

  We are using a web app that needs to run on FF 6.0.1. I had the latest version of firefox, where I could record without any problems.

  I had to uninstall it and install a 6.0.1 version. But everytime I get an error(pic.1.). A have enabled the extension, but it still shows the error.

  Can you help me please?

Thank you

J.

Konstantin Petkov
Telerik team
 answered on 03 Jul 2015
1 answer
88 views

Is there any way I can decide under which Page of Element Explorer the recorded element should be placed when I explicitly add to element repository during recording. 

In My Case the Application Under Test URL changes as version changes so if i already have some elements present for one AUT page and when i want to add new elements to same page while recording on new version of AUT(app under test), it creates new Page under Element Explorer.

Why I need to achieve this is because when I refer to these elements in Coded steps using Pages.XYZ.Element1 pattern I need to remember multiple Pages of element explorer even though they contains locators of a single AUT page.

Please suggest possible solution to this.

 

Thanks

 

Ivaylo
Telerik team
 answered on 03 Jul 2015
1 answer
33 views

Hello,
I have several questions conserning Telerik Test Studio. We would like to buy this product but need some additional information. 

1. Our main task is RadCharts testing, not only like a control but also like a set of lines, points or something like that. For example, its nesessary for searching two lines intersection point. Can Test Studio give us possibility to reach all these elements programmatically? 
2. I've tried to make new Visual C# Test Studio project in Visual Studio 2010 directly and made new test by recorder with several user's actions. After it I tried to edit generated programm code in Visual Studio and run test but changes didn't apply. Break points and debug didn't work too. How can I solve this problem? I'm interested in Visual Studio 2010 only.  

Thank you in advance

Konstantin Petkov
Telerik team
 answered on 03 Jul 2015
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?