Telerik Forums
Test Studio Forum
1 answer
132 views

Hi Telerik,

In my application when i'm recording, the gojs part is not highliting. it showing whole gojs part in one box but i need also inner elements to highlite.

please provide me the solution.

Thank you

Nikolay Petrov
Telerik team
 answered on 24 Feb 2017
4 answers
123 views

Hello,

I have two steps in the test:

* Navigate  to

* Handle 'Logon dialog'

 

When I run the test in Chrome, I get a dialog to login at the top, the Test Studio writes the credentials, is logged in and sees the website.

When I run it in chrome, the logon dialog step never executes, the IE displayes the logon dialog, but the credentials are not inputted. It get stuck (see attachment)

 

Is there a way to enter credentials in IE? What am I doing wrong?

 

At first, there was trouble with stored credentials, I resolved it by deleting them from the control panel. W10 Pro, IE11. I have found similar issue at http://www.telerik.com/forums/test-studio-is-asking-for-credentials-for-site-ahead-of-time but creating a new test didn't work for me.

Elena
Telerik team
 answered on 24 Feb 2017
1 answer
100 views

I have this weird issue where the response from my API call is not giving me the option to view it as JSON under the Body tab. I have confirmed that the server is returning Content-Type: application/json, and when I use Fiddler for the exact same call it parses the reply as JSON.

This is the request in raw format:

Content-Type: application/json
User-Agent: Telerik Test Studio for APIs
Host: www.scorpio-concepts.co.za
Content-Length: 53
Expect: 100-continue
Connection: Keep-Alive
 
{
    "email": "foo@bar.com",
    "password": "f00b@r"
}

This is the raw reply from the server:

HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 24
Content-Type: application/json
Date: Tue, 21 Feb 2017 14:57:50 GMT
Server: Apache/2.4.10 (Debian)
 
{"error":"Auth Failure"}

 

Anybody got any clue? I tested using the sample app and project, and there it seems to work, so I don't think it's related to a missing library or anything.

Nikolay Petrov
Telerik team
 answered on 24 Feb 2017
1 answer
235 views

 

Hi,

Since the last test studio update, I cannot impement our app anymore. When I try this with Android Application Configuration in Test Studio, I get the warning 'Unable to create APK: ERROR: Unknown option '--no-version-vectors'. 

We google this, and found that this was often because of an old version of Android SDK Build-Tools still installed on the computer next to a newer version. We updated Android SDK Manager and saw that Android SDK Build-Tools version 25.0.2 was visible next to version 21.1.2.

We deleted the version 21.1.2 and tried again, but this time we got the warning that Test Studio could not find Android SDK Build-Tools.

Can you help us how to solve this?

Kind regards,

Emine van Graafeiland

PTI

 

Nikolay Petrov
Telerik team
 answered on 23 Feb 2017
10 answers
185 views

Hi,

I'm trying to capture the "friendly" name values for list items.  Based on the information I've been able find, I've prioritized the <li> tag in the Project settings, but when I click the list item, instead of recording the list item name value, I'm getting the list item id value to appear in my script.  Given that the list item ids are dynamically generated and can change when new list items are added, I'm trying to get the static name property to be recorded in my script.  This will greatly improve the readability and robustness of my scripts.

I've attached a screenshot showing:

1.  The UI of the actual dropdown and its associated code in the DOM

2.  My project settings showing the prioritized <li> tag

3.  How the elements are recorded in my scripts, and what I'm trying to achieve.

I've tried numerous settings, but the result is always the same.  Any help in this area will be greatly appreciated.

Thanks much,

Dan

Elena
Telerik team
 answered on 22 Feb 2017
2 answers
314 views

I've always had issues with these two "Calc" buttons, even with Selenium. 

I'm using Test Studio and simple left click does not work. I selected to code the step, one method prints errors no click, the other no errors still no click.

By the way, both Calc pictures seen in screenshot attached, have the same code.

 

1) By Attributes | Result: Error when executing

        [CodedStep(@"Desktop command: Calc1yClick")]
        public void Calc1yClick()
        {
            // Desktop command: LeftClick on CalcButtonTag
            HtmlControl Calc1yClick = Manager.ActiveBrowser.Find.ByAttributes<HtmlControl>("div class=btn btn-sm btn-primary", "data-bind=click: $root.calc, disable: !$root.isCalcEnabled()", "div class=btn btn-sm btn-primary", "data-bind=click: $root.calc, disable: !$root.isCalcEnabled()", "TextContent=Calc");
            Calc1yClick.Click();
        }

 

1) By XPath | Result: Finishes with no errors, but does not click on Calc button

        [CodedStep(@"Desktop command: Calc1yClick")]
        public void Calc1yClick()
        {
            // Desktop command: LeftClick on Calc1yClick
            HtmlControl Calc1yClick = Manager.ActiveBrowser.Find.ByXPath<HtmlControl>("/html[1]/body[1]/section[1]/div[1]/ul[1]/li[1]/a[1]/button[1]");
            Calc1yClick.Click();
        }

 

Actual Code:

<div class="pull-right" data-bind="visible: $root.inputsEnabled()">
    <button class="btn btn-sm btn-primary" data-bind="click: $root.calc, disable: !$root.isCalcEnabled()">Calc</button>
</div>

 

CssSelector extrated from Inspect: 

#rorInputsdbf047fe-1781-4f71-8f62-71bea1699aa6 > form > div > div:nth-child(2) > div > button

 

XPath extracted from Inspect: 

//*[@id="rorInputsdbf047fe-1781-4f71-8f62-71bea1699aa6"]/form/div/div[2]/div/button

Elena
Telerik team
 answered on 20 Feb 2017
1 answer
68 views

Our team is planning to Load test our application which requires User Login. We have Test Studio (Ultimate) and already placed order for 10,000 VUs package. I am having confusion understanding the difference between these two ways of load testing. I have created automated scripts including signing in and other actions.

One way i found is, assigning  VUs to the same test with no actual username/passwords. Recording the traffic using single user interaction.

Other one is to bind a data source containing that many actual usernames and passwords. This will be Data Driven Load Testing if I am not wrong.

So to understand which is tha one we need and useful to us, Can I get more knowledge about the things I have mentioned above.

Thanks 

Elena
Telerik team
 answered on 20 Feb 2017
1 answer
110 views

Hello, it's me again :)

I have multiple websites :

  • http://site1.com/fr
  • http://site1.com/en
  • http://site2.com/fr
  • http://site2.com/en
  • http://site3.com/fr
  • http://site3.com/en

I use the baseUrl concept with FulPath settings for the recording and it's perfect.

Do you know how I can launch all my tests with differents baseURL without any test duplication ?

Can I add a variable in my test list and use it in each test ?

All my website use the SAME tests. BaseURL is the only change. So I don't want to duplicate all the tests. (This can create errors in case of forgetfulness.)

Thank you very much.

 

Elena
Telerik team
 answered on 20 Feb 2017
3 answers
114 views

Hi everybody !

1) I want to use Test Studio Mobile in Genymotion application (or an other emulator equivalent).

Is TSM compatible ? 

I need to test my website on differents devices on my virtual machine. (so I need emulator).

 

2) Webtest on iOS don't work on my machine.

I have an iPad Pro 9.7 and the device is "connected" on the telerik app. My ipad is present in TSM but the green arrow (launch test) is not available. If I click on my android device, the arrow is available but not with my ipad... Why ?

 

Thank you very much.

Elena
Telerik team
 answered on 20 Feb 2017
3 answers
246 views

We tried to automate the popup in desktop application,unfortunately it is  not recording.

Please help on this

 

Hoping for reply,thanks in advance

Nikolay Petrov
Telerik team
 answered on 20 Feb 2017
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?