Telerik Forums
Test Studio Forum
5 answers
165 views
Hi,

I'm getting error saying "Invalid input type 'Text' for this control. Control was expecting 'Number' ", when i convert the recorded step to code and pass value from the data table(excel).

Steps
1) Record the step and playback (works fine)
2) Record the step and convert the step to code (worksfine)
3) Record the step and Data bind to external excel (worksfine)
4) Convert the step to code which is data bound (error is thrown)

I have attached the screen shots of

1) Control properties
2) Code

Error message:

Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[Lodge_Monthly_Status_for_MINING_1_CodedStep] : Enter text '566' in 'AvgNumEmployeesText''.
InnerException:
System.ArgumentException: Invalid input type 'Text' for this control. Control was expecting 'Number'
   at ArtOfTest.WebAii.Controls.Control.CreateInstance[TControl](Element e, Boolean throwIfNull)
   at ArtOfTest.WebAii.ObjectModel.Element.As[TControl]()
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get[TControl](HtmlFindExpression expr)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get[TControl](String[] clauses)
   at Pages.SafetyRegulationSystem5Page.get_AvgNumEmployeesText() in C:\Telrik\MSNew\Monthly Status (External)\Pages.g.vb:line 914
   at Monthly_Status__External_.Lodge_Monthly_Status_for_MINING__1_.Lodge_Monthly_Status_for_MINING_1_CodedStep() in C:\Telrik\MSNew\Monthly Status (External)\Mining\Lodge Monthly Status for MINING (1).tstest.vb:line 293


Please let me know how to resolve this issue.


Thanks
Raj
Elena
Telerik team
 answered on 07 Nov 2017
1 answer
50 views

Hi,

In our application we have Kendo grid having different cell data, how can we do multiple data validation (Bulk objects) using TestSudio.

I didn't find anything related to that in User's Guide.

Please do needful.

Regards,

Raj.

Elena
Telerik team
 answered on 07 Nov 2017
8 answers
109 views

Hi,

I've been able to successfully run a test suite with < 40 tests without issue until a couple days ago when it simply stop running a test list (suite).  When this occurs, no results are returned to the TS client.  This usually occurs within the first 15 or 20 minutes.  When the full suite runs, it takes 2+ hours to complete.

The number of tests in my suite hasn't changed significantly over the last several months, and I've not done anything to change my configuration, so am at a loss to determine the cause of this issue.

I've looked through the Forums to see if there's anything that might be applicable to my situation, but didn't see anything. 

I'm at a loss to determine the cause of the problem, and would appreciate any assistance you can provide.

Thanks,
Dan

Elena
Telerik team
 answered on 06 Nov 2017
2 answers
66 views

I started using test studio for a webapp build in javascript. I came across a few things that don't work in my tests.

After recording i find that when clicking on certain div's or options in a dropdown (or an other element), it records it as "other" or as "Link". Then when i execute it, it goes well most of the time but with some steps test studio clicks the wrong element, or cant find the element.

I think this is due too it not having an id, but i came across an error where test studio filled the wrong inputfield even though all my input fields have an id. What am i doing wrong here?

 

 

 

Nikolay Petrov
Telerik team
 answered on 06 Nov 2017
16 answers
119 views
Hi,

I've downloaded the new Test Studio Service API documentation zip from the user guide site.
However after extracting the zip contents, when I open either the scheduling or storage.html files, the page displays "Loading Documentation..." but never seems to load the actual page content. I've tried on both IE and Firefox (thought it might have been a browser thing) but still no luck

Are you able to check whether you are able to download & view the service api html documentation?

Thanks!
Elena
Telerik team
 answered on 02 Nov 2017
3 answers
41 views

Replication steps:

1. Logged into application using recorder

2. Have done some advance verification like some expected text is present or not

3. After that performed some operations on the application

When the verification fails the script going to stop and it won't execute further steps

Can I have any solution to run the entire script even though some verification failed

Regards,

Raj.

 

 

Elena
Telerik team
 answered on 02 Nov 2017
1 answer
46 views

Hi,

In our application we have some web elements having tag name 'iFrame', we are unable to check the verification on such elements using Highlighter of the recording option.

I am getting this issue only for iFrame elements.

Regards,

Raj.

Nikolay Petrov
Telerik team
 answered on 01 Nov 2017
2 answers
383 views

I currently have various tests, some of them use the login step where you can check encrypt and it will protect the password of the user used. I also have tests that are coded steps and I code the user and password to deal with the login. I would prefer to have a configuration file where I do the username and password as a configuration property that would be used to in the coded steps so that in the event of needing to change the user used for testing I wouldn't have to change it for all the steps. 

 

First off I found the C:\Program Files (x86)\Telerik\Test Studio\Bin config file and I put the following in the configuration tags: 

 <configSections>
<section name="users" type="[namespaceNameHere].UserConfigSection" />
  </configSections>
  <users>
    <add id="1" name="Automated Testing User" username="jessica.gonzales" password="AxkrhLLZjmWbai/5hpEJ6w==" />
<!--<add id="2" name="[Username Description]" username="[username]" password="[safe password]"/>-->
  </users>

Jessica
Top achievements
Rank 1
 answered on 31 Oct 2017
9 answers
163 views
Hi,

I'm currently evaluating the Test Studio tool. In this process I have found that selecting a dropdown value fails during execution. The tool doesn't throw an error message but just doesn't select the value during execution. I had no issues while recording. Please find the attached screenshot.

Below are the events that took place while recording:

1) Select the dropdown box
2)List of values appear
3)Select a value, the value displays in the field after selecting

Regards,
SP
Elena
Telerik team
 answered on 31 Oct 2017
1 answer
161 views

Hello,

 

I can connect to TFS to see my projects (1st image).

 

When i choose one and click "OK", it can't connect to source control (2nd image).

But i can connect by Web, Visual Studio.

 

Thanks for answers

regards

Elena
Telerik team
 answered on 31 Oct 2017
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?