Telerik Forums
Test Studio Forum
1 answer
69 views
Hi there,

Some questions:
1. Does your software Test Studio support websites in Hebrew?
2. Can test results be exported to Excel?

Tnx,
Shanit.





Anthony
Telerik team
 answered on 12 Jul 2012
6 answers
133 views
Hi,
I was wondering if there was a way to force thread identity for a test list. I'm currently working on an intranet site and I have to test different user profiles on one of our dev servers. The thing is that we don't do "login"; the site takes the logged in identity. For manual testing and verification, we've developed a script that forces the desired identity (all browser windows must be closed for it to work), THEN opens a browser window and opens the site . But with test studio, the browser opens as soon as you want to record a test.

Any help would be appreciated.
Thank you

Sam
Cody
Telerik team
 answered on 11 Jul 2012
4 answers
147 views

I have an automated test that runs against a Silverlight application.  At some points I connect to the database to verify that the data persisted correctly.  In these cases, I write code in a test step to connect to the database.  I use a hard coded connection string in my coded step.  The only problem is that my Silverlight application may be using different databases depending on the environment.  (i.e.  QA, Dev, Production)  I do not want to change my connection string (in every coded step) every time I go against a different database.  Is there a better way to easily change my connection string when I am running my automated test? Maybe there is a global setting or configuration file that I may use to put these values.  What is the best way to handle this situation?  Please let me know.

Top Gun
Top achievements
Rank 1
 answered on 11 Jul 2012
5 answers
737 views
Test Studio: 2012.1.518.0
Windows Server 2008 R2 Datacenter Service Pack 1
Internet Explorer: 9.0.8112.16421
Firefox: 12.0
Safari: 5.1.7 (7534.57.2)
Chrome: 19.0.1084.52

I've been debugging a failing test against our internal CMS where a step couldn't connect to a modal pop-up dialog. In the end I stripped the test right down and eventually tested a public facing website.

My test contains 4 steps:
- Navigate to http://www.codestore.net/store.nsf/unid/DOMM-4R5MDQ
- Click 'ThisLinkLink'
- Connect to modal pop-up window : A Modal Pop-Up -- Webpage Dialog
- Close modal pop-up window : A Modal Pop-up -- Webpage Dialog

I'm testing each browser individually using Quick Execution.

Both Firefox and Safari fail on step 3 and the test stops, even if I set the PopupWaitTimeout property to 60 secs.

If possible I'd like a solution which doesn't involve writing code because non-developers will be writing most of our tests.

Cheers,
Steve
Plamen
Telerik team
 answered on 11 Jul 2012
14 answers
336 views
I just upgraded to the latest build this morning and I am running into an issue compiling a project on my remote execution box,  I am seeing the following error in the log:

4658 4/11/2012 10:38:52 AM Information The TestList run prepartion failed and execution cannot continue! Error message: Object reference not set to an instance of an object. StackTrace: at ArtOfTest.WebAii.Design.ProjectModel.Test.NeedToCompile() at Telerik.TestStudio.Scheduling.WindowsService.ExecutionEngineRunner.ExecuteList(TestList list, Project project, Settings settings, String binaryFolder, String projectPath, String resultName) at Telerik.TestStudio.Scheduling.WindowsService.ExecutionEngineRunner.StartRun(Object runArg)

I was able to execute projects fine prior to upgrading this morning.  I have not changed any settings or configuration other than what may have been done by the installer.
John
Top achievements
Rank 1
 answered on 11 Jul 2012
5 answers
114 views

All of my previously working FireFox based tests are now failing about 25% of the time with the following error. The only solution I have found is to add a 2 second delay before each action and setting the steps to 'FireFox' only. Even this doesn't always work.

Suggestions?

Overall Result: Fail
------------------------------------------------------------
'3/23/2012 3:20:06 PM' - Using .Net Runtime version: '4.0.30319.239' for tests execution.
'3/23/2012 3:20:06 PM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'3/23/2012 3:20:09 PM' - Using 'FireFox' version '11.0' as default browser.
'3/23/2012 3:20:27 PM' - 'Fail' : 1. Execute test 'FireFox & IE - Login - Nav to Main'
 
>>> Test-as-Step 'Fragments\FireFox & IE - Login - Nav to Main.tstest' log starts:
 
Overall Result: Fail
------------------------------------------------------------
'3/23/2012 3:20:09 PM' - Using 'FireFox' version '11.0' as default browser.
'3/23/2012 3:20:10 PM' - 'Pass' : 1. Navigate to : '/'
'3/23/2012 3:20:11 PM' - 'Pass' : 2. Click 'LoginToPBISLink'
'3/23/2012 3:20:13 PM' - 'Pass' : 3. Click 'CoordinatorTab'
'3/23/2012 3:20:18 PM' - 'Pass' : 4. Enter text 'X' in 'UserNameField'
'3/23/2012 3:20:20 PM' - 'Pass' : 5. Keyboard (KeyPress) - Tab (1 times) on 'PasswordField'
'3/23/2012 3:20:23 PM' - 'Pass' : 6. Enter text '123456' in 'PasswordField'
'3/23/2012 3:20:24 PM' - 'Pass' : 7. Click 'OtherBlueLoginButton'
'3/23/2012 3:20:26 PM' - 'Pass' : 8. Wait for '2000' msec.
'3/23/2012 3:20:27 PM' - 'Fail' : 9. Verify element 'WhiteLoginButton' 'is' visible.
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
ExecuteCommand failed!
InError set by the client. Client Error:
mozCommandProcessor: ProcessInformationCommand(): Document is not ready to retrieve its markup.
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'edfba8f1-05b9-49db-b989-af663bd68d67',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'mozCommandProcessor: ProcessInformationCommand(): Document is not ready to retrieve its markup.')
InnerException: none.
Stoich
Telerik team
 answered on 11 Jul 2012
8 answers
174 views
Hi,

I have created an utility class to capture HTTP Traffic (to get some querystring key/value pair) by using Telerik HTTP PROXY class, triggered by launching a URL. This part is more complicated but it's done.

I need to capture the same traffic by clicking on any link on a page; all I know is the link element user clicked, but I won't know the exact URL. This test has to be done from Test Studio as the QA tester is not as technical, most likely with data binding to a set of link elements.

I am new to Test Studio, thought this should be pretty straightforward. Can anyone help? 

Thanks,
Terri
Terri
Top achievements
Rank 1
 answered on 10 Jul 2012
2 answers
142 views
Hi,
I have a page that has a Date field and a Chart.
Depending on the date entered, the values in the Chart change.

My requirement is to verify how many variables exist on x-axis of the chart.

When the page loads, the default date is 12/31/2001 and the corresponding Chart for this date is generated.
If I record my test with the default date values, the verification step is a success.
Verification step is - "chartarea(ChAErrorTypesAreaGvchartarea): Chart series item label count 'Equal' '5'."  

If I record my test entering a different date (say, 03/31/2002), the verification step fails.
Below error is logged:
I have also attached the Images captured for the failed step.

Unable to find the specified element: Unable to find the element of type: textblock
InnerException:
   ArtOfTest.Common.Exceptions.FindElementException: Unable to find the specified element: Unable to find the element of type: textblock
   at ArtOfTest.WebAii.Silverlight.SilverlightProxy.ExecuteSLCommand(SilverlightCommand cmd)
   at ArtOfTest.WebAii.Silverlight.SilverlightProxy.GetProperty(AutomationProperty property, IAutomationPeer peer)
   at ArtOfTest.WebAii.Silverlight.AutomationObject`1.GetProperty(AutomationProperty property)
   at ArtOfTest.WebAii.Silverlight.UI.TextBlock.get_Foreground()
   at Telerik.WebAii.Controls.Xaml.ChartSeriesItemLabel.AssignReference(AutomationReference reference)
   at ArtOfTest.WebAii.Silverlight.FrameworkElement.As[T]()
   at Telerik.WebAii.Controls.Xaml.ChartArea.get_SeriesItemLabels()
   at Telerik.WebAii.Design.Translators.Xaml.Charting.SeriesItemLabelCountVerification.GetValueByProperty(String name)
   at Telerik.WebAii.Design.Translators.Xaml.Common.RadControlPropertyVerificationDescriptor.ExtractData(IApplication hostApp, DescriptorValueStore dataStore)
   at ArtOfTest.WebAii.Design.Extensibility.XamlVerificationDescriptor.ExtractData(IAutomationHost targetHost, DescriptorValueStore dataStore)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

My Test Studio version - 2012.1.528
RadControls version - 2012.1.215.1050 

Could you please help in resolving this problem? 

Thank you,
Kiran

Kiran
Top achievements
Rank 1
 answered on 10 Jul 2012
1 answer
102 views
Due to some specific reasons, we have to generate a lot of Div tags with same id and class in a table or UL LI . I need help in writing code to find all the occurences of these div elements inside a parent table or UL LI ( parent table ID is known).

Find.ById pattern i guess simply returns me the first occurrence of the div , How can I get the collection of all such elements, traverse through them and verify the inner text of the div elements.

Anthony
Telerik team
 answered on 09 Jul 2012
5 answers
63 views
Hi, 
i sometimes get these messages in chrome's console:

Couldn't access frameId in BuildFramenfo; skipping frame
Hearbeat state not found

The two messages are repeated a few times.

Sometimes (not always!) they are followed by a

Attempted to use a disconnected port object

and the browser stops reacting.

I cannot really reproduce the problem but it looks like it happens when i change the page
(navigate to a new url).

What is it and is there anything I can do to avoid it?

thanks.
Anthony
Telerik team
 answered on 06 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?