Telerik Forums
Test Studio Forum
4 answers
79 views

 I have been struggling with getting consistently successful runs of my test lists using the scheduling and execution servers.  Here are the details:

The test lists in question include several scripts which all follow the same procedure:

1.  Navigate to and open application
2.  Log in to application
3.  Either look up existing "project" or create new one depending on test script
4.  Open particular page of "project"
5.  Exercise all options on the page

All scripting errors have been resolved in quick execution mode.  There are delays placed strategically throughout the scripts and stepWaitOnElements is used.   I have spent literally weeks on getting the scripts to this point. 

When running the test lists remotely, test scripts either:

1.  Die on the navigation step
2.  Timeout on step three.  There is a execution delay prior to this step with the time set to 30000 or 60000 msec depending on which application is being tested. 
3.  Run successfully.

Failing on navigation does not occur consistently as you will see in the attached list.  It is not all at the beginning of the test list nor all at the end, but interspersed among test scripts.  This proves true on repeated runs too, just which test scripts fail changes. The attached list has annotations of "L" (look up project) or "N" (new project) to indicate what is happening with step 3 above.  I was just trying to find a pattern.

Some other notes related to resource issues:  1) The server is dedicated to Test Studio with myself and one other person using it.  2) The memory has been upped to 8GB.  3) Consistent clearing of browser cache is done.  4) Location of test script  failure is not consistent.  5)  If I reboot the server, generally the first test script executed will run without error.

Any ideas of where I should go from here to make these test lists less brittle?  

 

Your help is always appreciated!  Thanks!

 

Briar

Ivaylo
Telerik team
 answered on 24 Dec 2015
3 answers
227 views

Hello,

 I have a list of checkboxes. Do you know how to select checkboxes randomly from the list?

 If I selected a checkbox by simply recording it, the code would use HtmlInputCheckBox to do the operation like clicking. 

 My original thought is using random checkbox id so that I can selected checkbox randomly. When I use Find.ById() to locate a check box element, the return type is element which does not have method like clicking.

 Hope you guys can help me with this. Thanks!

 Peiyuan

Cody
Telerik team
 answered on 23 Dec 2015
1 answer
133 views
In a test I am writing, I am able to click on the cell putting the cell into edit mode, but any actions to enter text that I record fail when the test is executed.
Cody
Telerik team
 answered on 23 Dec 2015
1 answer
226 views
Windows 8, Safari 5.17 (7534.57.2)

Clicking link opens new window on Chrome, IE, Firefox, but fails on Safari.

Manually testing the same in Safari works.

Are there any known issues with Safari opening a new window with a click on a link with target "blank"?
Cody
Telerik team
 answered on 23 Dec 2015
7 answers
202 views

Hi,

When record and execute in IE, the scripts is working fine but using FF/Chrome, it is not working

eg. Let say I write a script below

1) Navigate to URL
2) login
3) navigate first hyperlink
4) navigate second hyperlink
5) Edit text

IE can execute all steps with passed result. If I run Chrome, it will stuck at step 4 even though Telerik test studio already navigate the second hyperlink. Same goes to FF that stuck at different steps. Sometimes when I abort the execution for Chrome/FF, it cannot navigate to step 1 URL and automate at all. I have to close the telerik test studio and execute again. Any idea why? configuration problem again ? I can't share my script as I am using my company website to automate. Let me know if you need additional info.

 

Cody
Telerik team
 answered on 23 Dec 2015
1 answer
250 views

Hello

I have multiple test as steps set up each with Inherit Parent Data Souce selected so we can use and manipulate the data as we need to.

I have run into a bit of an issue with this currently as I am calling 2 test as steps which are both trying to use the same data source I have bound to the parent test which is failing as not all the fields the test as steps are looking for exist on the parent data source.

Is there any way to tell one of the test as steps to use its own data source binding or, if Inherit Parent Data Source is ticked, will it always look to the Parent regarless?

If that is the case I'm guessing im best off incorporating all of the bound fields the test needs into the Parents Data Binding?  I just want to know best practice really before I continue.

Thanks

Maria

Cody
Telerik team
 answered on 22 Dec 2015
3 answers
123 views

Hi, 

 As attached, need your assistance to find out why telerik recorder is not working in my Chrome Version 47.0.2526.106 m in Windows 10. Thank you.

Boyan Boev
Telerik team
 answered on 21 Dec 2015
1 answer
85 views

I have just started a trial of Telerik Test Studio.  I have successfully recorded my first test from Test Studio by clicking record, choosing a browser and then entering a URL as described here http://docs.telerik.com/teststudio/getting-started/test-recording/overview#launch-new-recording-browser

However for my second test I need to attach to an existing browser instance as described here http://docs.telerik.com/teststudio/getting-started/test-recording/overview#attach-to-existing-instance but wehn I start IE, get it to the point I want to start the recording and then return to Test Studio and click on the record drop down there is no Attach to option.

Can anyone suggest a reason for this and how to fix it

Thank you

Richard

Ivaylo
Telerik team
 answered on 21 Dec 2015
1 answer
142 views

Hello

Is it possible for a Test as Step to run Iterations which are data bound via an excel spreadsheet?  My test only seems to run the first line of the spreadsheet then stop.

Currently I have the following

1) Create Event Test - Databound to excel spreadsheet and InheritParentData ticked

2) Add, Edit Delete all event types - Databound to its own excel spreadsheet with 9 lines; 1 for each event type we have

I have Test 1 inserted into Test 2 as a Test as Step - but whenever I run it Test 2, it only runs line 1 of the data set bound to Test 2 - How do I make it run all lines effectively creating all 9 event types?

Hope that makes sense,

Thanks

Maria

Cody
Telerik team
 answered on 18 Dec 2015
5 answers
114 views

Hello,

I am new to Test Studio. I am creating a script that creates a new user account.  Is there an easy was to increment the username by one everytime the script runs?

Boyan Boev
Telerik team
 answered on 18 Dec 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?