Telerik Forums
Test Studio Forum
3 answers
113 views

When drilling down through a Test Results file, and getting to the specific test script line that errored out, when double-clicking on the red&white "X" icon to see the image results, sometimes this window opens with no problem, sometimes it takes quite a while (several to many minutes) and sometimes it just never ever opens.  Any suggestions on how to go about trouble-shooting this problem?

Thanks in advance!

Briar

Elena
Telerik team
 answered on 22 Aug 2016
3 answers
154 views

I am doing a simple web test. I log in to my test site, hover over the navigation bar, select a list item, and expect to be redirected. It records fine but during playback, it acts as if it didn't find the link and fails.

 

The navigation link i clicked is using superfish (http://users.tpg.com.au/j_birch/plugins/superfish/examples/supersubs/#abd is an example). If you do a simple test here, and hover over the links,in the playback you'll see that the navigation items never get expanded and clicked - are they supposed to? My scenario is exactly the same except when i click on the link, i get redirected to another page. This example doesnt redirect anywhere but you get the idea. 

 

Any help will be greatly appreciated!

 

- Chris

Chris
Top achievements
Rank 1
 answered on 19 Aug 2016
9 answers
418 views

Hello,
I am trying to run a group of tests on a remote server.  I am have installed the runtime license on the remote server and have been able to connect to it.  When I try to run the test, I am getting an error stating unable run tests do to an internal error.  Below are the error from the logs.

 

[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobBroker.ScheduleJobAsync() : Job satisfied all preconditions, id = 23753928-0663-4330-9ad2-ef48b3468fd2
[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobRunner.RunJobAsync() : Use source control server: NO
[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobRunner.RunJobAsync() : Project source location: C:\Program Files (x86)\Telerik\Test Studio\Test Studio Projects\random.org
[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Windows\system32\config\systemprofile\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[07/14 15:07:20,Telerik.TestStudio.ExecutionManagerService.exe(2700:24),Execution] JobsController.CreateNewJob() : Unable to create a new job.
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobBroker.ScheduleJobAsync() : Job satisfied all preconditions, id = 6b655584-7418-436e-97f9-3846071c67f5
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobRunner.RunJobAsync() : Use source control server: NO
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobRunner.RunJobAsync() : Project source location: C:\Program Files (x86)\Telerik\Test Studio\Test Studio Projects\random.org
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Windows\system32\config\systemprofile\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[07/14 15:15:45,Telerik.TestStudio.ExecutionManagerService.exe(2700:15),Execution] JobsController.CreateNewJob() : Unable to create a new job.

Nikolay Petrov
Telerik team
 answered on 17 Aug 2016
1 answer
100 views

Hello,

Our appliation uses an ajax query to validate users and login. It doesn't look like there is a way to use dynamic values for the username/password in this scenario since those values are not passed in via querystring (see the right side of the screenshot where the data passed in has the username/password).

It also doesn't seem like the custom cookie feature can be bound to dynamic values from excel.

 

Is there any other way or workarounds to do load testing for mass users for a web app? Any help would be greatly appreciated!

Nikolay Petrov
Telerik team
 answered on 17 Aug 2016
2 answers
106 views

We have a regression test framework that uses Jenkins to call a batch command to start test studio.

ArtOfTest.Runner.exe list="D:\QA\Projects\Authenticated Payment\Scripts\TestLists\Login.aiilist"

 

This had been working every day for months. But yesterday, chrome updated itself to version 52.0.2743.116.

And now, the tests are failing due to timeout as chrome is not launching.

 

Is there a solution to this issue, so we can continue to run our tests with Jenkins and the latest version of Chrome?

 

Thanks,

Jack

 

Here is the log we got:

'2016-08-12 10:34:45 AM' - Executing test: 'Main_Login', path: 'Main\Main_Login.tstest.'
'2016-08-12 10:34:45 AM' - Using .Net Runtime version: '4.0.30319.34209' for test execution. Build version is '2016.1.330.0'.
'2016-08-12 10:34:45 AM' - Starting execution....
'2016-08-12 10:35:46 AM' - Failure detected during execution. Details:
------------------------------------------------------------
'2016-08-12 10:35:46 AM' - System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'2016-08-12 10:35:47 AM' - Test completed!

D:\Program Files (x86)\Telerik\Test Studio\Bin>ArtOfTest.Runner.exe list="D:\QA\Projects\Authenticated Payment\Scripts\TestLists\Login.aiilist"   || true
Executing test: 'Main_Login'
Overall Result: Fail
Result saved with path: 'D:\QA\Projects\Authenticated Payment\Scripts\Results\Login 131154861475345427.aiiresult'.
Nikolay Petrov
Telerik team
 answered on 17 Aug 2016
1 answer
48 views
I need to run all of my test lists at the same time every day. I have attempted to run them with get latest, distributed across 6 agents and the scheduler becomes unresponsive. What is the general guide to running test lists as fast as possible across multiple agents? 
Nikolay Petrov
Telerik team
 answered on 15 Aug 2016
4 answers
136 views

Hello,

I noticed this morning that one of my test lists failed in my nightly build. The name of the failed test list is OfficialUndoRedo3Deep, it contains 24 tests as indicated by the attached screenshot TestListView.png and it is displayed in red my results viewer (as shown in NotSelected.png). The attached screenshot ResultView.png shows my results view with the failed test list selected.

This screenshot gives rise to a few issues.

  1. Firstly, it says that 26 tests passed out of total 26 executed. As mentioned above...the OfficialUndoRedo3Deep test list has 24 tests in it, not 26. As we can see, 2 tests were ran an extra time (back to back): DrawRectangleAndDeleteAndUndoAndDelete.tstest, RotateAndRotateAndUndoAndRotateAndUndo.tstest. I have drawn orange boxes around the corresponding tests in ResultView.png. This is not expected behavior, how could this be happening?
  2. Secondly, it says Can't reach the remote executor; exception: An error occurred while sending the request. I have also attached a snippet of my execution servers test log that corresponds to the time this test list was ran (10:03 - 11:14). It is in the Telerik Test Studio Trace Log.zip file. Does the log shed any light on the message mentioned above?

Thanks!

 

Boyan Boev
Telerik team
 answered on 15 Aug 2016
1 answer
99 views

Hi ,

I have an input that require simulated manual entry in order to trigger the validation. I selected ;'simulate manual typing' for my recorded step and everything worked fine.

Now, when I convert the recorded step to a coded step, the step fails.

Here's the coded step..

[CodedStep(@"Enter Comment Text 'Automation Test'")]
        public void enter_Address_data_CodedStep3()
        {
            // Enter text 'Automation Test' in 'NewAddressdescriptionTextArea'
            Actions.SetText(Pages.MicrosoftDynamicsCRM.FrameContentIFrame.NewAddressdescriptionTextArea, "");
            Pages.MicrosoftDynamicsCRM.FrameContentIFrame.NewAddressdescriptionTextArea.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop);
            ActiveBrowser.Window.SetFocus();
            Pages.MicrosoftDynamicsCRM.FrameContentIFrame.NewAddressdescriptionTextArea.Focus();
            Pages.MicrosoftDynamicsCRM.FrameContentIFrame.NewAddressdescriptionTextArea.MouseClick();
            Manager.Desktop.KeyBoard.TypeText("Automation Test",50,100,true);
            
        }

 

and the exception...

Failure Information: 
~~~~~~~~~~~~~~~
Exception thrown executing coded step: 'Enter text 'Automation City' in 'CityText''.
InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.ArgumentException: Tag collection of 'input' elements is either empty or has less elements than the element occurrence requested. RequestedIndex: '8', ElementLength: '0'
   at ArtOfTest.InternetExplorer.IECommandProcessor.FindElement(ElementIdMessage id)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'SetText',Target:'ElementId (tagName: 'input',occurrenceIndex: '8')',Data:'',ClientId:'Client_fc23a956-34ef-4a07-a35b-70219db7cf85',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.ArgumentException: Tag collection of 'input' elements is either empty or has less elements than the element occurrence requested. RequestedIndex: '8', ElementLength: '0'
   at ArtOfTest.InternetExplorer.IECommandProcessor.FindElement(ElementIdMessage id)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.

   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.SetText(Element targetElement, String text)
   at ArtOfTest.WebAii.Core.Actions.SetText(Control targetControl, String text)
   at TestProject2.enter_Address_data.enter_Address_data_CodedStep2() in f:\New folder\Test Studio Projects\TestProject2\Address\Steps\enter Address data.tstest.cs:line 239

 

Any help would be appreciated.

 

Thanks,

dan

Boyan Boev
Telerik team
 answered on 15 Aug 2016
8 answers
233 views
Hi Telerik Team,

I have WebQA/ Dev Edition installed on win7 (local), i have installed Web UI Run Time Edition on remote machine.
I have configured scheduling server and execution server on remote machine. I have connected to scheduler which is on remote machine from QA Edition which is on win7 (local). I have schduled test list from QA Edition which i want to execute on remote machine.

I have tried this solution but its not working. I have tis this approch possible?

Please reply as soon as possible.

Regards,
Anshul
Elena
Telerik team
 answered on 11 Aug 2016
1 answer
107 views
I can connect to the main git project, however i want to be able to open the project located in a branch.  How can we do this?  I have multiple people working the main project but do not want them all working out of the master.
Elena
Telerik team
 answered on 11 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?