Telerik Forums
Test Studio Forum
13 answers
539 views
I'm looking at the workflow between developer, tester and CI server to come up with an approach for maintaining environmental specific settings (local dev box, dev/test environment, qa environment, production) such as:

  • Base URL
  • Username / Password by Actor / Role
  • Key Data Values 

I'm wondering how others are tackling this issue?  I see a number of disconnected techniques such as the VS test settings file, data sources, and test list settings.  There seems to be a lack of a universal "project file" across the tool sets which doesn't help either.  What I would like to be able to do is:

  • Developer - selects a "settings/parameters file" in Test Studio Express with environment parameters
  • Tester - selects a "settings/parameters file" in Test Studio Standalone with environment parameters
  • Build - execute runner with a specific "settings/parameters file" that contains environment parameters

Within the test then I can say "Navigate to {BaseUrl}/Reports", "Login as {Regular User}", etc... Without having to have three different types of files per environment what is the best strategy for managing this type of information?

UPDATE: I've added an item to the feedback portal to capture this gap in functionality.
Nikolai
Telerik team
 answered on 06 Sep 2019
1 answer
135 views

Since updating to the newest version, my IF statements are now failing. I need to check the state of an application in a table and the table cells ID changes according to the current state the application is in.  As a result I am using an If/Else statement such as "IF(Wait for Exists 'exampleCell0')" {steps if true}  "ELSE" {steps if false}.  Before this worked fine; when the cell had the same ID as I was looking for it would execute my IF steps and if it did not have the same ID it would execute my else Statement. Now I get this

 

'9/4/2019 10:04:02 AM' - 'Pass' : 7. Click 'SearchButtonTag'
'9/4/2019 10:04:04 AM' - 'Pass' : 8. Wait for '1500' msec.
'9/4/2019 10:04:34 AM' - 'Fail' : 9. IF (Wait for Exists 'ExampleCell0')
'9/4/2019 10:04:34 AM' - Unable to determine logical branch to go into. Unable to execute verification.
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Object reference not set to an instance of an object.
InnerException:
System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ExistsVerificationDescriptor.PerformWait(IAutomationHost host)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'9/4/2019 10:04:34 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'9/4/2019 10:04:34 AM' - Overall Result: Fail
'9/4/2019 10:04:34 AM' - Duration: [1 min: 6 sec: 121 msec]
------------------------------------------------------------

<<< Test-as-Step 'Example Tests\Misc Tests\Review Steps\OpenRecentApplicant.tstest' log ends.

 

I know this is not an issue with my environment as I was able to successfully run this test on another machine running 2019.2.619 using all of the same parameters after I failed on the latest update.

Plamen | Lead Technical Support
Telerik team
 answered on 05 Sep 2019
8 answers
165 views
Hi,

I am testing a site that has 21 major pages (modules) some of which contain embedded pages (modules).

I’m in the process of refactoring my large tests.  I’ve broken out steps that are common to each test into their own test file (e.g., environment setup, sign-in, etc.).
I’ve also broken up each primary module into its own separate test file which, along with the common tests, I’m treating as separate functions.
I then use each of these tests to create unique tests using “Test as Step” in the Step Builder.

Thus far, I have been successful in getting this to work for some of my tests.
The problem I’m having is that when a test (function) does fail (e.g., Page 8), I can’t set a breakpoint or “Run to Here” command on that file because only the selected page is executed (i.e., none of the common setup tests that are required to get to the page 8 test are executed).

I’m stuck and wonder if missing a key step, or whether there’s a better approach to handling this type of work.

Any suggestions or help would be greatly appreciated.

Thanks,
Dan 
Elena
Telerik team
 answered on 23 Aug 2019
10 answers
598 views
So my load tests work perfectly now which is great;-) However I`d like to ask you one more thing regarding load testing. Not sure whether to open a new ticket or not. If needed, I`ll do so afterwards. 

If my understanding is correct load testing should represent simulating of more users trying to execute the same test. I know it`s just basic explanation. I`ve read the article connected to data driving of load tests - http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/load-testing/designing-load-tests/load-modifying/load-data-driving.aspx. To be honest I don`t know exactly what`s this for. Here is a sample. 

I have a login test where user is logged into an application. If I want to simulate more users logging in at the same time I can do it using load test. I also know I can data drive performance tests so it`s executed one by one depending on users in external file (e.g. SQL db). If I capture my login test in load test settings I can then set number of virtual users (we have only trial pack for 20 users). If I data drive it what`s this for? Does that mean that e.g. if I have 5 different users in my external file and 20 virtual users set that every virtual user will log in 5 times using a different username from the external file? What`s the main difference between load tests without data driving or with data driving?

I hope the explanation is somehow clear;-) I want to be sure I understand this correctly. 

Thank you. 

Petr
Elena
Telerik team
 answered on 23 Aug 2019
1 answer
130 views

How can I change the size of the element selector? (check the picture) I can't seem to click and drag it, and I'd like to see more than two or three options.

 

Also, is there a way to turn of the element image snapshot by default?

Plamen | Lead Technical Support
Telerik team
 answered on 21 Aug 2019
5 answers
137 views

Good Afternoon,

I've downloaded offline installer "TestStudio_Ultimate_2019_2_0619_1_Trial.msi" and chose "Customize", disabled all VS Extensions ("Will Not Be Installed"), and ran the installer.  Noticed that the VS Extensions were loaded anyway (VS 2017 is on my machine).

This is more of a heads-up and to confirm that this is a bug.   Please advise.

Best Regards,

Carl Eric McMillin

Plamen | Lead Technical Support
Telerik team
 answered on 14 Aug 2019
1 answer
104 views

Good Morning,

I'm helping a coworker with setting up Test Studio Ultimate Perpetual in an run-time environment that is VERY constrained.  Even as local administrator on his laptop we have limited-to-no authority to change some of the settings listed as mandatory (https://docs.telerik.com/devtools/teststudiodev/prerequisites/calibrate-browsers).  Are there workaround(s) per-setting that might get around the following issues?

The behavior we see is that after a) installing the application as admin, b) starting the application as admin and loading the project from the "Get Started->Start With Sample Project"  we can neither execute tests to Internet Explorer v11 ("about:blank" always shows, never navigates to URL) nor record tests ("Connecting recorder" times out and gives error "Unable to connect Recorder.  Recording will not function...").  We have logging enabled and I can provide that if it would help.

Also, the "Test Studio Test Runner" application seems to misreport the version of IE (self-reports 11.885.17134.0) as 9.11.17134.0.  It also does not report a version for Chrome at all.  Please refer to attached image "TSRVersions.jpg".

Thanks in Advance,

Carl Eric McMillin

 

 

Elena
Telerik team
 answered on 12 Aug 2019
3 answers
259 views
Our API is protected via NTLM and seems api test studio does not have option for it. how can I get it working for the requests?
Plamen | Lead Technical Support
Telerik team
 answered on 08 Aug 2019
5 answers
123 views

Hello everyone,

I have a problem with some test in the Telerik Test Studio Utimate. In some typing test runs, some characters are not entered in the input.
See the attachment.






Elena
Telerik team
 answered on 06 Aug 2019
3 answers
178 views

When we are looking to get new elements into an existing page, the recorder pulls into a new page with the querystring appended

For organization sake, how do you go about adding or moving a new element to an existing page?

Elena
Telerik team
 answered on 05 Aug 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?