Telerik Forums
Test Studio Forum
4 answers
151 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
119 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
128 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
121 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
107 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
123 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
251 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
5 answers
168 views

Hello Support,

I'm running into this situation (System.NullReferenceException: Object reference not set to an instance of an object
)
 couple of times every day.

We have more than 50 different scripts; every other test has coded steps. All the scripts are working as expected.


But, while running scripts for some reason (say after 20 scripts) we closed browser
 forcefully it throws below exception. Now, we are using QA SP2; but I see same issue since long time. I’m expecting to see Failed -15 Passed Out of Total 20 executed.


Finally, we are ending up with Failed - 0 passed out of Total 0 executed.


Screenshot attached.


Is there any way to solve this issue?


Your help is really appreciated.


Thanks,

Madhu.




------------------------------------------------------------
'7/12/2011 5:11:35 PM' - Starting execution....
'7/12/2011 5:11:39 PM' - Detected a Silverlight Test. Setting EnableSilverlight=True
'7/12/2011 5:12:03 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'7/12/2011 5:12:03 PM' - System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.CanRunAgainstBrowser(Browser activeBrowser, AutomationStep step, TestResult activeResult)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance, Boolean& stopExecution)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   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/12/2011 5:12:03 PM' - Test completed!
Cody
Telerik team
 answered on 26 Jul 2011
2 answers
82 views
I have a test to log in to our application.  I have another test that adds a new record into the app.  When I combine these 2 tests in a list, the first one logs in sucessfully, but then the second test then opens a new browser window.  This second window obviously doesn't have the app loaded and so I get a failure for the run.  I will get a successful run if I call the login script from within the second one, but my goal was to have a bunch of small tests that I could string together however I wanted.  I don't want to have to login, do one test, and log out.  Then log back in, do another test, and log out.
How do I make sequential test scripts recognize the browser instance that's currently open/running?

Thanks,
Steve
Steven
Top achievements
Rank 1
 answered on 26 Jul 2011
3 answers
184 views

Question...

I have a search page that returns rows displayed on the web page by a default filter…  I want to verify the number of results on the page is the same number of results returned when I query the database.  How is this done using your tool?

Plamen
Telerik team
 answered on 26 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?