Telerik Forums
Test Studio Forum
4 answers
160 views

I am a new user to "Test Studio". I need some help with the following: 

#1) How to setup a Batch Testing in Test Studio so that I can setup multiple scripts to run in a sequential order? 

#2) How to setup a schedule to run multiple scripts automatically over night without manual intervention?

#3) How to setup a folder where all the test results (Pass/ Fail) will be available after the over night test run?

Please send me the details steps. Thanks so much.

 

 

Elena
Telerik team
 answered on 29 Sep 2017
5 answers
89 views

(I am just starting to play around with remote test execution and there isn't a lot of clear documentation, so I may simply be missing the basics.)

I have a VM configured as a Remote Execution Server and it is successfully running basic tests when initiated from within Test Studio and the Scheduling Server. In the last couple of weeks I have been redoing some tests to make them simpler and more flexible when handling errors, and in doing so I have copied some Coded Steps from other existing tests. This has ended up in a scenario where many of my tests will not run on the Remote Execution Server because they cannot find the elements I have added to the Element Library. To clarify, the elements exist in my library on other tests, but it seems that because they are not local to this specific test, the elements cannot be found. NOTE: The whole project runs great locally on Test Studio; it is only the remote run that fails to find the elements.

If I record on that test and click on the respective elements, creating steps that I don't need, then the test seems to run remotely without error. However, I will have to do this for hundreds of elements and it will be quite time-consuming. Is there a way to mass transfer project files / elements to the remote execution server so it knows what they are?

Similarly, I also noticed that when I duplicate a test to modify it and create a different scenario, it only brings over the elements that are created in Test Studio steps. Anything referenced in a coded step (i.e., Actions.SetText(Pages.WebsiteName.ElementName, text)) does not bring over the element, so if I later want to create a Test Studio step using this element, I have to re-record it in order to recognize it in the local test. Trying to select the item from "Elements" and use the "Step Builder" doesn't help, as it only shows the "Getting Started with the Step Builder" text when I go to Actions or Verifications. If I record that element once in the local test, then Actions and Verifications will display their options. Is there a way to bring elements into new tests without having to re-record them or manually copy Test Studio steps that include the elements?

(I hope I'm using the right terminology...)

Thanks ahead of time!

 

Regards,

Steven Klassen

Nikolay Petrov
Telerik team
 answered on 28 Sep 2017
5 answers
112 views

Hello,

The error happens in the following scenario.

First I have a test I will call him Test A he is 343 steps. At his 50 step I call other test (Test A') with Test as Step which is 1300 steps

The purpose of the test is to register a large form of data with 10 companies and some other data. The registration of these 10 companies is in Test A'.
After I save the form, a unique record number is generated that needs to be used later in the other tests. Also I take with extraction steps, all the infromation for this 10 companys and other data which is saved in the form. I use these extraction steps later in the other tests to verify the data.

 

Test B - This test calls as first step Test A. Test B have 696 steps inside him. Its purpose is to edit the saved form that was made by Test A and to add more data to the form and save it again .

Test C - This test calls as first step Test B. The purpose of this test is to verify the data after the editing is done by Test B and to generate a document in the form with unique number.The test have 548 steps.

Test D - This test calls as first step Test C. The purpose of this test is generate 3 documents in the form with unique numbers and status. For the last three steps of the test I call three more tests (Test D', Test D'', Test D'').
After the first 3 documents are generated, three new buttons are activated and with them I have to generate other 3 documents. Test D have 186 steps.
Test D' have 451 steps, Test D'' have 511 and Test D''' have 486 steps.

When I start Test D, the tests A, B, C, D, D', D'' are executed successfully but when runs the last test (Test D''') gives me the error System.OutOfMemoryExeption.

Тhe total number of steps for all tests is 4518 steps.

 

My question is is there any limitation on how many steps I can perform when using Test as Step feature? Аnd whether in the new version will give me the same error?
Is it possible to give me this error because it's expected to generate a large result?

 

My Computer parametes:

OS:Windows 10
RAM: 16GB
System type: 64-bit

Using Telerik Test Studio Version 2014.3.903.0 - 32 bit.

 

I also read this artical.

Option 1 is to break the test to have steps less then 800 steps. I did that with the tests, only Test A' has 1300 steps, this is the minimum I can leave.
Option 2 I use 64-bit operating system
Option 3: Оnly this option I have't tried. And I'm not sure if this option will help me?

I attach files with the error and the memory used before test to trow this exception.

Thank you in advance for the answer.

Regards,

Boris

Elena
Telerik team
 answered on 28 Sep 2017
5 answers
168 views
Hi ! I have an issue in my Web Test (For Silverlight powered site). 

After a particular step, there is a Dialog box popping up and hence the whole test fails. Big problem is the occurrence of Dialog box is not constant. So can I create an If-Else loop likewise to handle this.

So if I place the If-Else loop after the particular step, If the dialog box comes, It has to click ok and Continue, or else it has to proceed as usual. Can anyone help me in regard of this...? Thank you...

I hope I made my problem clear. If not, Let me know. I can explain More...

P.S: I know exactly after which step the dialog may popup. 
Nikolay Petrov
Telerik team
 answered on 27 Sep 2017
1 answer
129 views

Hi,

Is there any way to verify radio button is checked?

Nikolay Petrov
Telerik team
 answered on 26 Sep 2017
3 answers
109 views
Hello,

I have a Telerik Test Studio on machine A and Telerik Runtime  on machine B.
I have configured several scheduled TestLists to run in the Runtime.

Now I have to put then on pause or disable it for some reason. Is there any way to put them on pause or disabled them.
I don't want to Stop or Cancel them. I just need to put them on hold.
I don't want to Cancel them as The I will have to configure it again an this will imply investing time.

Best Regards,


Elena
Telerik team
 answered on 19 Sep 2017
1 answer
142 views

Hello,

   In my angular2 application, copying text from text box and pasting data in search text box through recorded step but it is not working. can you please help me.

here am attaching screen shot in that 22 and 26 steps are the recorded copy, paste steps.

 

Thanks,

Pranavi

Nikolay Petrov
Telerik team
 answered on 19 Sep 2017
3 answers
65 views

Hi,

Whenever I try to either calibrate on run tests on Chrome I get an unexpected error.

Here is the relevant log:

[09/08 09:21:52,Telerik.TestStudio.Desktop.exe(3132:1)] First trace message from process 3132: "C:\Program Files (x86)\Telerik\Test Studio\Bin\Telerik.TestStudio.Desktop.exe" False "C:\Users\dalmaso\git\automacao-ui-clicq" /trial
[09/08 09:21:52,Telerik.TestStudio.Desktop.exe(3132:1)] First trace message from foreground thread "Application start thread" (managed ID = 1, native ID = 21140).
[09/08 09:21:52,Telerik.TestStudio.Desktop.exe(3132:1),TestStudio] TestExplorerController.ExecuteCommand() : EXCEPTION! (see below)
     Outer Exception Type: ArtOfTest.WebAii.Core.BrowserConfigurationException
     Message: All running browser instances must to be closed.
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          em ArtOfTest.WebAii.Core.BrowserConfiguration.VerifyAllProcessesAreClosed(String processName)
          em ArtOfTest.WebAii.Core.BrowserConfiguration.EndRunningProcesses(String processName)
          em ArtOfTest.WebAii.Design.UI.RecordersController.PromptToCloseRunningBrowserInstances(String processName)
          em ArtOfTest.WebAii.Design.UI.TestExplorerController.ExecuteScenario(ExecutionType exeType, Boolean debuggerEnabled, IntPtr existingBrowserHandle, IList`1 selectedExecutionSteps, Boolean showBrowserSelection)
          em ArtOfTest.WebAii.Design.UI.TestExplorerController.ExecuteCommand(ICommand command, Object parameters)
 
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:41,Telerik.TestStudio.Desktop.exe(3132:1),TestStudio] BrowsersViewModel.CalibrateBrowser() : EXCEPTION! (see below)
     Outer Exception Type: ArtOfTest.WebAii.Core.BrowserConfigurationException
     Message: All running browser instances must to be closed.
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          em ArtOfTest.WebAii.Core.BrowserConfiguration.VerifyAllProcessesAreClosed(String processName)
          em ArtOfTest.WebAii.BrowserSpecialized.Chrome.ChromeConfiguration.ConfigureBrowser(String& error)
          em ArtOfTest.WebAii.Core.BrowserConfigurationUtils.ConfigureBrowser(BrowserType browser, String& error)
          em ArtOfTest.WebAii.Design.UI.BrowsersViewModel.CalibrateBrowser(BrowserType browser)

 

We are currently trialing the product and it works fine for other colleagues and on EC2 Windows Server, but not for me. I have reinstalled both Chrome and Test Studio, not sure how to proceed next.

Regards,

Gustavo

Elena
Telerik team
 answered on 14 Sep 2017
1 answer
118 views
Test Studio Team/ Experts/ Advanced Users:

Greetings! I work as a Software Tester and new to "Test Studio". I need some help with automating a "Email Address" field which requires a new data input each time I execute the Test Studio Script. For example:

1) The Business Rule for the application I am currently working is: When creating new users, each user should have a unique "Email Address".

2) So I am recording the steps in "Test Studio" for creating a new user using the email address: Tester1@test.com

3) However when I execute/ replay the same script it fails because an user with <Tester1@test.com> email already exists.

Now here are my questions:

* Question 1:  Is there any way to increment the value in "Email Address" field? So that each time I run the script it automatically increment the email address as: <Tester1@test.com>, <Tester2@test.com>, <Tester3@test.com>. Please advise.

* Question 2: Is there any way to add a new value to a specific "Text Field" each time I execute my script?

* Question 3: If there is a solution for the problem mentioned above could you please send me the details steps as I am totally new to this "Test Studio" tool?

Thanks so much for your help.
Elena
Telerik team
 answered on 14 Sep 2017
10 answers
119 views

Hi.  I am experiencing trouble with connecting to a frame element.  Attached is a log with a comparison to the definition of the frame element.  As you will see, the frame has a unique id so I would think that would be used to find the frame element.  I did not have the UseQuery option checked, yet the log indicates that it is.  

When I run this script "live", stopping execution just before connecting to the frame, and re-record, the first step inside the frame is recorded against the correct element inside the frame element.  But if I just execute the script, it fails when attempting the first step inside the frame, as denoted in the log above.

Any help you can provide would be much appreciated!  Thanks.

Briar

Briar
Top achievements
Rank 1
 answered on 14 Sep 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?