Telerik Forums
Test Studio Forum
3 answers
90 views
I was trying to add a verification step where I check the language on a button
I went to my element library, clicked on the button and then selected Step Builder
My button  is defined as
tagname=button,InnerText=Calculate

I was given a list of verifications which I could choose to use, one of the verifications was the TextContent.  When I looked at the TextContent it was empty.  When I added it to my script the expected string value was empty. 

After addiing a verificatiion using Step Builder do you expect users to enter the string or is this a bug?

Thanks
Mark
Top achievements
Rank 1
 answered on 31 Jul 2011
1 answer
127 views
Hi Team,

I am experiencing an object identification failure issue while executing f my scripts,Actually one of my objects is failing in one script but the same object is handled properly by other script.
These 2 scripts are defined as methods in same class which access a common method defined in the class.

Also i have used sufficient wait intervals.

The error is like , "Object reference not set to an instance of an object"



Thanks & Regards,
Dev
Konstantin Petkov
Telerik team
 answered on 30 Jul 2011
3 answers
126 views
Hi there,

I just noticed that if I ran a telerik test I've created from a port number as so: http://localhost:15457, and the tests have verifications captured or even pressing on buttons, they would fail when playing back if the port number is changed or a different user from their workstation has a different port number.  It seems it's only happening when doing stuff in a popup window.

Is there a way to fix this?

Thanks,
Dean
Anthony
Telerik team
 answered on 29 Jul 2011
4 answers
162 views
I installed the full (paid) version in a system in which the trial had been installed. During installation, I got a message telling that an old version was installed, I choose to upgrade. Installation finished without errors or warnings.

However, each time I start TestStudio I get a screen:
 "Activating your TRIAL",
asking for my account and user. I fill these fields, and I get "Invalid username and/or password". Both are right, (I am logged in with those just now). If I press the "Manual" button, I get another error
"An unexpected error occured in Test Studio. The error has been reported to the Telerik Team, Do you want to save your work"?

W7 professional 64 bit, VS2010

Help please!


Cody
Telerik team
 answered on 28 Jul 2011
1 answer
125 views
Good Afternoon,

I am attempting to run a newly created Custom Coded Step from the Test Studio Trial Edition.
I receive the following error when attempting to access the bound datasource information...

C:\Users\n0145732\Documents\Test Studio Projects\CFI_NextGen\Common\Test Harness\TestHarness.tstest.vb: Line 74: (BC30009) Reference required to assembly 'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the implemented interface 'System.Xml.Serialization.IXmlSerializable'. Add one to your project.

What I have found is that my coded step had a bound data source ( Excel File ) that I am attempting to access using the following line of code:

Dim variable As String = ExecutionContext.DataSource.Rows(0).Item("test")

Can someone provide some feedback into what the issue might be or what I may be doing wrong?

Thank you,
Craig
Anthony
Telerik team
 answered on 28 Jul 2011
2 answers
140 views
I have a script that contains about 176 steps.  Within those 176 steps I have about 20 coded steps, the coded steps are sprinkled throughout the test.  I needed to change the names of the coded steps, rather than open up each coded step one at a time, I clicked on the "class" button so that I could scroll through all of the code for the test and change the step names all at one time.  I changed the names of the coded steps, closed the class, saved the class and then noticed that Test Studio had moved everyone of the coded steps to the bottom of the test. Obviously having the test rearranged was not what I was looking for.   Has this happened to anyone else?
Shashi
Top achievements
Rank 1
 answered on 28 Jul 2011
5 answers
129 views
I am currently attempting to launch a test in Safari 5.1. Unfortunately, Safari hangs and I receive the following error from Test Studio:

------------------------------------------------------------
'7/26/2011 4:03:27 PM' - Starting execution....
'7/26/2011 4:03:58 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'7/26/2011 4:03:58 PM' - System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   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(Test test, Settings settings, String deploymentFolder, String binariesFolder, ExecutionType exeType, Guid firstStepGuid, Guid lastStepGuid, IntPtr existingBrowserHandle, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'7/26/2011 4:03:58 PM' - Test completed!


I have silverlight installed and I have double checked all of the configuration settings for Safari.

Anyone have any thoughts?

Thank you
Anthony
Telerik team
 answered on 28 Jul 2011
1 answer
115 views
Good Morning,

I am testing a web application that opens a new browser window from a launch page. I was just wondering how one would perform a wait on that new browser window to synchronize the script execution to continue.

Any thoughts?

Thank you,
Craig
Anthony
Telerik team
 answered on 27 Jul 2011
2 answers
136 views

Hi,

I was using the logical "loop" button. But there just could be defined a count of iterations on the steps, there is a way I can define a loop infinite?

Thanks
karla
Top achievements
Rank 1
 answered on 26 Jul 2011
1 answer
265 views
Good Afternoon,

I am trying to write a simple test to launch a web page, enter some information and then click Submit, launching another page. I have written these steps as a combination of 1 custom coded step to launch the first web site and input values, then a second recorded step to click the "Submit" button. 

When I execute the test, everything works fine in IE, but as soon as I try Firefox, the click button step hangs/times out and then writes an error. I do not understand why Test Studio cannot find this button in Firefox, but all works well in IE.

I am using IE9 and Firefox 5.

Please advise, we are evaluating the Test Studio tool for use in our organization and need to move forward quickly.

Here is the log message:

Overall Result: Fail
------------------------------------------------------------
'7/26/2011 3:34:46 PM' - Starting execution....
'7/26/2011 3:34:48 PM' - Detected custom code in test. Locating test assembly: CFIA_NextGen.dll.
'7/26/2011 3:34:48 PM' - Assembly Found: C:\Users\n0145732\Documents\Test Studio Projects\CFI_NextGen\bin\CFIA_NextGen.dll
'7/26/2011 3:34:48 PM' - Loading code class: 'TestHarness'.
------------------------------------------------------------
'7/26/2011 3:34:49 PM' - 'Pass' : 1. [TestHarness_CodedStep] : New Coded Step
'7/26/2011 3:35:00 PM' - 'Fail' : 2. Click 'Submit'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Html] element using 
Find logic 
 (Html): [tagname 'Contains' input] AND [value 'Contains' Submit Query]


Unable to locate element. Search failed!


------------------------------------------------------------
'7/26/2011 3:35:00 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'7/26/2011 3:35:00 PM' - Overall Result: Fail
'7/26/2011 3:35:00 PM' - Duration: [0 min: 11 sec: 683 msec]
------------------------------------------------------------
'7/26/2011 3:35:01 PM' - Test completed!

and here is the html definition of the button:

<input type="submit" onClick="callNextGen(false)"/>


Anthony
Telerik team
 answered on 26 Jul 2011
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?