Telerik Forums
Test Studio Forum
1 answer
153 views

I am struggling with finding the best way to configure my tests dynamically.

I am logging into one of 4 or 5 servers. Sometimes I can use the same username/password pair and sometimes I cannot. I would also like to set environment variables specific to each environment. The only way I can do it now, is this. Say I have a "MyWebTest" to run. The first step is a code step that can log in and set variables. Everything after the login is in MyWebTestStep. What I have to do now is create 5 tests:

MyWebTestAAA: (1) LoginStepAAA (2) MyWebTestStep

MyWebTestBBB: (1) LoginStepBBB (2) MyWebTestStep

MyWebTestCCC: (1) LoginStepCCC (2) MyWebTestStep

and so on. This seems lame.

 

Or I can have the LoginStep do all of the configuration.

 

If I am running a test as a test, I have the 3 properties: CustomProperty1, CustomProperty2, CustomProperty3. I can put information in those and pull out the configuration info that I want.

 

If I am running a test within a test list, there is only one property that I can use, or mis-use. That the is baseUrl. Nothing else allows me to add arbitrary text. I can put http://url.com?env1=this&env2=that. And then I can put information in those and pull out the configuration info that I want.

But what I would like is o have only one "MyWebTest" and run a test list and, within that, run "MyWebTest" configured for AAA, the run in configured for BBB and then run it configured for CCC and I cannot do this. Again, I want to do this without having to create multiple copies of "MyWebTest".

 

If I do something using the custom properties, I can only use it when running as a test. If I use the baseUrl, I can only use it when running as a test. If I do both in different places, these things fight against one another. Is there a reasonable way to do this?

 

Elena
Telerik team
 answered on 12 May 2020
6 answers
145 views

Hi, 

While running test scripts the click events are failing, which were worked fine when i had recorded. Now, i have installed new trail version, after wards the scripts getting failed at click events. Can you please assist me how to fix these problems.

 

I have attached screenshots for reference,Please find the attachments. Thanks in Advance.

 

 

Thanks & Regards

Srilatha

 

Plamen Mitrev
Telerik team
 answered on 06 May 2020
1 answer
204 views

Internet explorer (IE) has stopped working during test execution throws error: ***** is not responding recover webpage.

"This issue happening only with Operating Systems: Windows 10 and Windows Server 2019, whereas works fine with Windows 7."

I am using internet explorer version 11.778.18362.0 to test my silverlight/asp web application using TestStudio_Ultimate_2018_2_0606_3.

Tests run "without" any issues using Windows 7, now we are trying to test SL application with Windows 10 / Windows Server 2019 but IE has stopped working during test execution (see attached). Every time I run a test, at some point of time it gives "***** is not responding recover webpage" error message and failing test. There is no consistency, where it fails either Silverlight or ASP pages.

Is anyone experiencing same issues? Any ideas to fix these kind of issues.

Thanks,

Tekmal

Plamen Mitrev
Telerik team
 answered on 04 May 2020
1 answer
111 views

I am facing problem in text size display. How to increase size according to our wish. Also is there any way to enable dark mode in telerik test studio?

 

Thanks.

 

 

Plamen Mitrev
Telerik team
 answered on 22 Apr 2020
4 answers
149 views

Hello

i am unable to run my test steps when i made changes in test steps and edited elements. But when i try to run then compiler showing error  and i dont understand where i have made mistake. please help me.

 

[ Compiler ]
17:32:30 'WARNING' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\001-GeneralCode\GeneralCode.tstest.cs(690,37) : warning CS0472: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
17:32:30 'WARNING' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\001-GeneralCode\GeneralCode.tstest.cs(1770,37) : warning CS0472: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
17:32:30 'WARNING' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\001-GeneralCode\GeneralCode.tstest.cs(2503,16) : warning CS0219: The variable 'result' is assigned but its value is never used
17:32:30 'WARNING' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\001-GeneralCode\GeneralCode.tstest.cs(2565,16) : warning CS0219: The variable 'result' is assigned but its value is never used
17:32:30 'WARNING' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\13000-VetoUserAccessPermission\Operations\13005-VetoUserTicketCreationWithUserPermissionInsertOnly02.tstest.cs(121,18) : warning CS0219: The variable 'status' is assigned but its value is never used
17:32:30 'WARNING' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\13000-VetoUserAccessPermission\Operations\13005-VetoUserTicketCreationWithUserPermissionInsertOnly02.tstest.cs(154,18) : warning CS0219: The variable 'status' is assigned but its value is never used
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5010-TemporaryBlockOperationAllExternal.tstest.cs(701,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5010-TemporaryBlockOperationAllExternal.tstest.cs(703,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5010-TemporaryBlockOperationAllExternal.tstest.cs(868,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal44Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal44Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5010-TemporaryBlockOperationAllExternal.tstest.cs(869,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal44Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal44Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5010-TemporaryBlockOperationAllExternal.tstest.cs(870,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal44Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal44Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5040-TemporaryBlockCopyOperation.tstest.cs(462,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5040-TemporaryBlockCopyOperation.tstest.cs(463,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5040-TemporaryBlockCopyOperation.tstest.cs(464,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'INFO' > Build Failed

compiler issues

hoping for quick and favourable response. thank you

Piyush

Plamen Mitrev
Telerik team
 answered on 22 Apr 2020
1 answer
117 views

Hi All,

 

I am using test studio 2012 , and trying to automate application in internet explorer 11 in windows 10.

when I run test case in my local machine it is working, but run the test case in one of my VMs which has window 10 and IE11, it is not working there, getting timeout error, it is launching an IE browser but not navigating to given URL.

 

Has anyone faced such issue before.

 

 

Plamen Mitrev
Telerik team
 answered on 21 Apr 2020
1 answer
117 views

Hi,

 

I am Vimala, I am trying to export all the names of the scripts created in the telerik test studio but I am unable to do it.Please kindly suggest me how can I do it.

 

 

Thanks & Regards

Vimala Padakanti

Elena
Telerik team
 answered on 09 Apr 2020
1 answer
163 views

In the past I could download the test steps description by:

Selecting a completed test run on the Results page

Opening one of the scripts from that result to display the steps

Export to Excel would download in .xls format the step number, description, result, and failure info

Today that same export only downloads in .xls format the step number, result, and failure info

I need to capture the description for each step for my archive

Plamen Mitrev
Telerik team
 answered on 06 Apr 2020
11 answers
105 views

My Test Studio step is entering test into an input with knockout data binding. Input is updated on screen but view model is not populated by knockout data binding. I tried to turn on SimulateRealTyping and clicking on element before entering text. It didn't help. What's the best way to use Test Studio steps with knockoutjs?

Here's my element:

<input class="form-control" data-bind="value : PolicyNumber" for="Policy Number" name="PolicyNumber" type="text" title="">

Plamen Mitrev
Telerik team
 answered on 26 Mar 2020
4 answers
152 views

Hi all!

Is there a official way to migrate tests from Silverlight applications to a equal build WPF application? (Presuming the UI items are located on the same place with the same name).

Are there any dependencies or snares, which would prevent me from migrating the tstest files to WPF by hand?

Has anybody know-how in this type of migration?

Roberto
Top achievements
Rank 2
 answered on 20 Mar 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?