Telerik Forums
Test Studio Forum
1 answer
173 views

In my attached code sample, I have added an ID to a particular HtmlDiv called "THIS_TEXT". In a coded step, how would you go about finding that particular div if the ID was not added? I have something like this currently:

 

HtmlDiv divContainer = Manager.ActiveBrowser.Find.ByAttributes<HtmlDiv>("class=x-grid3-row-first");

HtmlTable table = divContainer.Find.ByAttributes<HtmlTable>("class=x-grid3-row-table");

// Fails on step above: Object reference not set to an instance of an object. Am I missing something?

IList<HtmlTableRow> tableRowList = divContainer.Find.AllByTagName<HtmlTableRow>("tr");
string returnValue = String.Empty;
for (int i = 1; i < 2; i++)
{
   returnValue = tableRowList[i].Cells[1].InnerText.ToString();
}

 

Any advice/tips/feedback is appreciated for this newbie...

- Chris

 

Pavel
Telerik team
 answered on 29 Aug 2016
1 answer
140 views

Hello guys,

Does anyoane encoutered this situation: after execution of a dynamic test list the result file is not saved (*.aiiresult)

--I noticed that after execution, the Telerik.TestStudio.Desktop.exe *32 process  have occupied almost 4 gb->is this a problem?

 

Thanks,

Daniel

Boyan Boev
Telerik team
 answered on 26 Aug 2016
1 answer
75 views
We have a number of tests that use Excel spreadsheets as a data source.  I know that to configure the data source I have to have Excel installed on the Test Studio machine but what about when we copy the tests to a machine with the Run Time version?  Does that need Excel as well or can it use the Microsoft.Office.Interop.Excel dll as it would if you were writing to the spreadsheet?
Elena
Telerik team
 answered on 26 Aug 2016
6 answers
82 views

Hi,

When starting a remote run of a test list, it always takes 4-5 minutes, from list initialisation to execution. Since my test lists seems to produce more false Fails the more items they contain, I tend to run higher frequency shorter lists, but then this delay becomes a bigger issue.

Is this normal behaviour? Does a list need that much time to transfer/load?

I'm running from a Windows 10 desktop to a Windows 7 virtual machine.

Hope you can help with this.

 

Thank you,

Jakob

Elena
Telerik team
 answered on 25 Aug 2016
4 answers
167 views

I know the shortcut for undo is ctrl + z; is there not a shortcut to redo? 

- Chris

Boyan Boev
Telerik team
 answered on 25 Aug 2016
3 answers
94 views

When I click the Bind Test button and change the data source in the drop down (with Use T-SQL checked and some custom script entered in the editor), I get an error "Unable to show the data. Error: Invalid object name [tablename referenced in first datasouce].". After pressing Ok, and unchecking "Use T-SQL", my list of tables does not appear. If i toggle back and forth between the 2 data sources in the drop down, it eventually shows the table list but not after about 3-5 times of toggling back and forth and unchecking/Updating. Just wanted to run this by and see if anybody else experienced this and/or if this was a known issue..

 

- Chris

Elena
Telerik team
 answered on 23 Aug 2016
3 answers
137 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
175 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
436 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
105 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?