Telerik Forums
Test Studio Forum
7 answers
77 views

Hi,

I am trying to explore testing of our web application on Mobile. Do you have any document/video available step by step through which I can use test studio feature of testing of web application on Mobile?

If yes then please share.

With Warm Regards,

Sumit Kumar

Plamen Mitrev
Telerik team
 answered on 27 Jun 2019
7 answers
130 views

Hi there,

 

  we are using a JIRA cloud. Is it possible to connect to JIRA cloud as for the BUG tracking(Manage Bug Tracking)?

   If not, are you planning to implement this?

 

Thank you

Elena
Telerik team
 answered on 26 Jun 2019
7 answers
203 views
Hello,

We are having mixed results with being able to execute tests on a remote machine.  Some are able to run successfully while others produce this error message.  Has anyone come across this message?  Searches on Microsoft point to a version of Access Data Connectivity Components needing to be installed.  Microsoft Office is not installed on the remote machine.  How can certain tests run and others not?  Do we actually need to install the Data Connectivity Components?

Thanks...


Edit--more info...

The project that is successfully running has data bindings to an Excel 2003 workbook.
The projects that aren't successfully running have Excel 2007 workbooks.
I've tried saving the Excel 2007 workbooks as Excel 2003 workbooks, redoing the data-binding, but that still did not work.
I can successfully have both projects run on my local machine which has Office 2007 installed.
Elena
Telerik team
 answered on 20 Jun 2019
2 answers
898 views

When we try to execute a test list on a remote Execution/Scheduling (all in one) Server, we get an exception:

 

[06/19 12:02:55,ArtOfTest.Runner.exe(436:1),Error] ExcelDataSource.GetDataUnfiltered() : EXCEPTION! (see below)
     Situation: Error reading from Excel database.
     Outer Exception Type: System.InvalidOperationException
     Message: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
     HRESULT: 0x80131509 (Official ID (if app.) = COR_E_INVALIDOPERATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5385)
     Call Stack:
          at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
          at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
          at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)


This test uses data binding (Excel) to perform the test. A similar error message appeared in another forum thread. Telerik's last response provided a link to their documentation that states that Microsoft Access Database Engine 2010 needs to be installed. Our team installed this on the Execution/Scheduling Server, but the same exception is occurring. The server was restarted and the we tried re-installed Microsoft Access Database Engine 2010 to no avail.

 

The thread referenced above also referred to 2007 Office System Driver: Data Connectivity Components, which is a broken link, and I'm guessing that Microsoft Access Database Engine 2010 is the now recommended version since it is in your documentation.

 

To note, when a test list does not use an Excel data binding, the test runs properly.

________________________________________________________________________________________________

Environment Description:

  • Server 1: Scheduling and Execution (Test Studio Runtime)
  • Server 2: Test Studio where testers create tests. They run these tests remotely on Server 1.
Elena
Telerik team
 answered on 20 Jun 2019
1 answer
56 views

Hi,

I have a piece of code which is functioning correctly as expected. But the step still waits for the element and fails always..

Explanation about the step : There are two menu items, only one appears at a time based on some conditions..I want to click the menu items. I write a piece of code saying if (a="x") ,  then Click the menu item

Else Click on menu item and click on button..

I have 2 iterations in which the first iterations satisfies the Else condition and works perfect.. Second iteration satisfies If condition and Works perfect. But even after clicking the menu item, the step is not exiting , it still looks for element and fails as "Wait for condition timed out"

 

Code Snippet :

 

Public Sub Test()

           Dim Menu = Pages.xxx.ListItem6.Innertext
           Dim  a = Menu

     If (a=sample test") then
              Pages.xxx.ListItem6.Focus
              Pages.xxx.ListItem6.Select
              Pages.xxx.ListItem6.MouseClick
              
             Else
              Pages.xxx.ListItem6.Focus
              Pages.xxx.ListItem6.Select
              Pages.xxx.ListItem6.MouseClick
              System.Threading.Thread.Sleep(2000)
              ' Call the other sub procedure here
             call Nithya_Test ----------------------- In this procedure , I click the button in the pop up
         End If   

End Sub

Could you please help me to fix this..

 

Regards,

Nithya A.

Plamen Mitrev
Telerik team
 answered on 20 Jun 2019
8 answers
373 views

Hi,

I am exploring Telerik Test studio integration with TeamCity. Referring Telerik documentation on Team city build configuration.
My goal is to run build verification tests against web application . Here is the build server and Telerik Test studio configuration.

1) Telerik Test Studio license is installed on VM1
2) Scheduling Server is installed on VM1
3) Execution Server installed on VM1 and on Team City Build server (VM2)
4) I have configured Execution server on the Team City Build server and it is running

Question I have is , how to trigger test execution on the VM through Team City build ?
Per this documentation (https://docs.telerik.com/teststudio/advanced-topics/build-server/team-city-builds) , local path to tests is specified under build step >Custom Script section . Screenshot attached.

I am getting error when build is run

[Step 2/3] Process exited with code 0
[14:28:48]Step 3/3: Build verification tests (Command Line)
[14:28:48][Step 3/3] Starting: C:\TeamCity\buildAgent\temp\agentTmp\custom_script2321983325468603385.cmd
[14:28:48][Step 3/3] in directory: C:\TeamCity\buildAgent\work\e2ede0137adfbe15
[14:28:48][Step 3/3] The system cannot find the path specified.
[14:28:48][Step 3/3] 'test' is not recognized as an internal or external command,
[14:28:48][Step 3/3] operable program or batch file.
[14:28:48][Step 3/3] 'out' is not recognized as an internal or external command,
[14:28:48][Step 3/3] operable program or batch file.
[14:28:48][Step 3/3] Process exited with code 1
[14:28:48][Step 3/3] Process exited with code 1 (Step: Build verification tests (Command Line))
[14:28:49][Step 3/3] Step Build verification tests (Command Line) failed
[14:28:49]Ant JUnit report watcher

 

 

Thanks in advance for your help

 

-

Padmashree

 

 

Plamen Mitrev
Telerik team
 answered on 13 Jun 2019
1 answer
68 views

Hello,

I am currently not able to run test list remotely ( on the same local VM) and also not able to schedule testlist execution on the local machine.

This has worked on the past without any issues. Not seeing any errors on the log and Scheduling Server service is running.

Testlist executes fine when executed as through RunList option.

From Log file

[06/11 10:22:52,Telerik.TestStudio.Scheduling.Client.exe(1448:40)] First trace message from pool unnamed thread (managed ID = 40, native ID = 2132).
[06/11 10:22:52,Telerik.TestStudio.Scheduling.Client.exe(1448:40),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 43.0.0.1 (x86) installation found at "C:\Program Files (x86)\Mozilla Firefox\firefox.exe".
[06/11 10:22:52,Telerik.TestStudio.Scheduling.Client.exe(1448:40),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 67.0.0.0 (x64) installation found at "C:\Program Files\Mozilla Firefox\firefox.exe".
[06/11 10:22:52,Telerik.TestStudio.Scheduling.Client.exe(1448:40),Framework] FireFoxInstallation.GetExecutableData() : Automatically selected Firefox 67.0.0.0 (x64).
[06/11 10:23:03,Telerik.TestStudio.Scheduling.Client.exe(1448:15)] First trace message from pool unnamed thread (managed ID = 15, native ID = 10736).
[06/11 10:23:03,Telerik.TestStudio.Scheduling.Client.exe(1448:15),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 43.0.0.1 (x86) installation found at "C:\Program Files (x86)\Mozilla Firefox\firefox.exe".
[06/11 10:23:03,Telerik.TestStudio.Scheduling.Client.exe(1448:15),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 67.0.0.0 (x64) installation found at "C:\Program Files\Mozilla Firefox\firefox.exe".
[06/11 10:23:03,Telerik.TestStudio.Scheduling.Client.exe(1448:15),Framework] FireFoxInstallation.GetExecutableData() : Automatically selected Firefox 67.0.0.0 (x64).
[06/11 10:23:09,Telerik.TestStudio.Desktop.exe(5456:1),TeamFoundationServer] TFSServer.TFSCheckOut() : ------- Function Start -------
[06/11 10:23:09,Telerik.TestStudio.Desktop.exe(5456:1),TeamFoundationServer] TFSServer.TFSCheckOut() : ------- Function End -------
[06/11 10:23:10,Telerik.TestStudio.Desktop.exe(5456:17)] First trace message from pool unnamed thread (managed ID = 17, native ID = 10424).
[06/11 10:23:10,Telerik.TestStudio.Desktop.exe(5456:17),TestStudio] StorageUploader.UploadToCloudAsync() : ------- Function Start -------
[06/11 10:23:10,Telerik.TestStudio.Desktop.exe(5456:28)] First trace message from pool unnamed thread (managed ID = 28, native ID = 11600).
[06/11 10:23:10,Telerik.TestStudio.Desktop.exe(5456:28),TestStudio] StorageUploader.UploadToCloudAsync() : ------- Function End -------

Appreciate you help in this regard.

 

Thanks,

-

Padmashree

 

 

Plamen Mitrev
Telerik team
 answered on 13 Jun 2019
3 answers
64 views

Hi,

I am testing  a web application which launched IE popup window when navigated to URL.
When tried to record , Telerik recorder is not responding. Getting error . screenshot attached.

Any help would be much appreciated.

Thanks,

-

Padmashree

 

 

 

 


Plamen Mitrev
Telerik team
 answered on 13 Jun 2019
5 answers
207 views

Hi,

 

I want to verify footer information of my site using verify command in TestStudio ide. Let say my footer information is like "Demo version 1.20.01 Copyright 2015". 

I have a version number stored in global variable in Utility class.

 

How can I use Regex to verify this in one statement with global variable ?

 

Thanks,

Chandresh Parmar

Plamen Mitrev
Telerik team
 answered on 13 Jun 2019
3 answers
88 views

I attached a screenshot of the error when prompted to debug.

In the log, there is an exception at the very bottom which I've pasted below:

[06/06 08:54:48,ArtOfTest.Runner.exe(6748:13),DialogPlayback] DialogMonitor.OnWindowCreated() : New dialog detected (ClassName = "#32770", Handle = "1246402").
[06/06 08:54:48,ArtOfTest.Runner.exe(6748:13),DialogPlayback] DialogMonitor.HandleDialogWindow() : Closing orphaned LogonDialog.
[06/06 08:55:40,Telerik.TestStudio.Desktop.exe(196:28)] First trace message from pool unnamed thread (managed ID = 28, native ID = 8120).
[06/06 08:55:40,Telerik.TestStudio.Desktop.exe(196:28),WebExtension] ExecutionMediator.OnMessageReceived() : 06/06/2019 08:55:40.683 - [INFO - BACKGROUND] Tab onRemoved: removed tab id '4'
[06/06 08:55:40,Telerik.TestStudio.Desktop.exe(196:12),Recording] <>c__DisplayClass66_0.<InvokeOnUIThread>b__0() : EXCEPTION! (see below)
     Outer Exception Type: System.Collections.Generic.KeyNotFoundException
     Message: The given key was not present in the dictionary.
     HRESULT: 0x80131577 (Official ID (if app.) = COR_E_KEYNOTFOUND, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5495)
     Call Stack:
          at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
          at Telerik.TestStudio.Web.JSRecorder.JsRecorderManager.HandlePopupClosed(JToken data, Int32 windowId)
          at Telerik.TestStudio.Web.JSRecorder.JsRecorderManager.UpdateBrowserState(JToken data, Int32 windowId, Int32 tabId)
          at Telerik.TestStudio.Web.JSRecorder.JsRecorderManager.<>c__DisplayClass20_1.<OnMessageReceived>b__6()
          at Telerik.TestStudio.Web.JSRecorder.JsRecorderManager.<>c__DisplayClass66_0.<InvokeOnUIThread>b__0()

The exception doesn't appear until I close the download dialog or tab manually after moving past the"ArtOfTest.Runner has stopped working" prompt. I noticed that it doesn't even try to fill in the download dialog, too. 

Plamen Mitrev
Telerik team
 answered on 12 Jun 2019
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?