Telerik Forums
Test Studio Forum
3 answers
193 views
I have created test scripts successfully. Sometime, I reopen created scripts but Test Studio cann't load scripts.
(First, I installed WebUI_TestStudio_Developer_2010_3_1421_Purchase.msi using as trial. After that, I removed and re-installed using licence key then have above issue.)
You can see attached file.

So Is it possible to restore my lose scripts ?


Anthony
Telerik team
 answered on 05 Jul 2011
3 answers
119 views
Hi,

I encounter some trouble with testing a specific part of our application. I try to test the calendar availability during the purchase path. I made a logical step "while" there is no availability -> switch to next month.

This works, but I also want to book for a random day if there is availability.
For example, on this page, the calendar at the bottom :
http://www.weekendesk.fr/week-end/4398/week-end-a-Courseulles-sur-Mer-Normandie-Week-ends_gourmands

One of your Solutions Consultant told that it has to be a coded step. Can someone help me ?
 
Thanks,

Pierre
Stoich
Telerik team
 answered on 04 Jul 2011
5 answers
174 views
Good Morning,

I recently downloaded the trial version of Telerik Test Studio and successfully ran the installation. For some reason, when I start Test Studio after installation, the application hangs on the main screen and simply hangs.

Has anyone else seen this issue or can anyone provide some possible options?

Thanks!
Anthony
Telerik team
 answered on 01 Jul 2011
2 answers
151 views
Is it possible to copy a date from one field and paste in to another field?
The application I am testing has a date field that defaults to 'todays date', there is then another field where I have to specify todays date, I want to copy the date from the 'todays date' field and then paste it in to the field that is blank but requires todays date to be entered. The alternative is to edit my script for the day every time I run it.
I have checked mouse options and I have recorded ctr c and ctr v but this does not work.
Plamen
Telerik team
 answered on 01 Jul 2011
2 answers
195 views
I would like to use the HttpProxy to add a special http header when performing a test.  However, I am not able to execute a simple test using the HttpProxy.

Whenever I set the UseHttpProxy value to true, my test will fail with a System.TimeoutException.  A popup window  "ArtOfTest.Runner has stopped working" message appears.

the browser does navigate to the page.  I can view the page in the browser.  At the end of the test, the crash occurrs.  The test does not fail if I remove the UseHttpProxy line.

System configuration...
Test Studio 2011.1.609.0
Running Windows 7 Pro 64-bit SP1
4GB RAM
Added ArtOfTest.WebAii.HttpProxy.exe and ArtOfTest.Runner.to windows firewall exceptions

Test setup...

[CodedStep(@"Navigate to : 'http://www.mckerinsoftware.com/'")]
public void apibranchtest_CodedStep()
{
         Manager.Settings.Web.UseHttpProxy = true;
  
         // Navigate to : 'http://www.mckerinsoftware.com/'
        ActiveBrowser.NavigateTo(http://www.mckerinsoftware.com/);
}

Log entry...

Overall Result: Fail
System.TimeoutException: The operation has timed out.
   at System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserProvisioner.EndService()
   at ArtOfTest.WebAii.Core.Manager.End()
   at ArtOfTest.WebAii.Core.Manager.Dispose(Boolean disposing)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ShutDown()
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTest(Test testcase, Settings settings, String testBinaryFolder, String deploymentFolder, ExecutionType exeType, Guid firstStepGuid, Guid lastStepGuid, IntPtr existingBrowserHandle, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'6/30/2011 8:12:24 AM' - Overall Result: Fail
'6/30/2011 8:12:24 AM' - Duration: [0 min: 0 sec: 10 msec]
------------------------------------------------------------

Other note...
On the Help menu when I View the Application log, I see the following message even during a successful test when the UseHttpProxy line is commented out.  I do not know if this is related, but wanted to provide as much info as possible to help with a resolution.

Error: PipeCommunication.AsyncPipeRead() : EXCEPTION ("Pipe Null State: False")

Type: ObjectDisposedException

Message: Cannot access a closed pipe.

Call Stack:

at System.IO.__Error.PipeNotOpen()

at System.IO.Pipes.PipeStream.CheckReadOperations()

at System.IO.Pipes.PipeStream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state)

at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.AsyncPipeRead(PipeStream pipe, Byte[] bytes, Int32 offset, Int32 count)

Matt
Top achievements
Rank 1
 answered on 30 Jun 2011
1 answer
121 views
Hi,

I am using the free testing framework tool to perform browser automation. The code is written, but I get an exception:

    // Create the manager object  
    Manager myManager = new Manager(mySettings);

    // Start the manager  
    myManager.Start();

    // Launch a new browser instance. [This will launch an IE instance given the setting above]  
    myManager.LaunchNewBrowser();

On the launchnewbrowser() line, the code throws a timeoutexception. What am I doing wrong?

Thanks
Plamen
Telerik team
 answered on 30 Jun 2011
16 answers
2.5K+ views
Hello,

I have an error on my test execution.

Steps:
'8/12/2010 5:45:36 PM' - 'Pass' : 127. Wait for Exists 'LoadingPanelDiv'
'8/12/2010 5:45:37 PM' - 'Fail' : 131. Wait for element 'LoadingPanelDiv' 'is not' visible.

The error occurs time after time on step 131. Wait for element 'LoadingPanelDiv' 'is not' visible.

Failure Information:
~~~~~~~~~~~~~~~
The given key was not present in the dictionary.
InnerException:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at ArtOfTest.Common.Design.Extensibility.DescriptorValueStore.GetValue[T](String propertyName)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.VisibleVerificationDescriptor.Verify(DescriptorValueStore dataStore)
   at ArtOfTest.Common.Design.Extensibility.Descriptors.VerificationDescriptor.PerformWait(IAutomationHost host)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()

Could you please help me to fix this error?

Thanks
Anthony
Telerik team
 answered on 30 Jun 2011
1 answer
299 views
Is there a way to add Global variables to a project.  I had a set of scripts that required using a significant number of code steps - many of which used the same variable.  Data binding a variable to each of these steps is cumbersome - is there a way to include a variable into each of the steps?


Thanks
Plamen
Telerik team
 answered on 29 Jun 2011
1 answer
152 views
I binded the zip code column from my .CSV file which has this format 6484-6240, but the column is empty when it displayed in test studio. Is the dash has anything to do with it.  Please advise.
http://screencast.com/t/B6uOHSp0

Jo
Anthony
Telerik team
 answered on 28 Jun 2011
2 answers
161 views
I'm trying to move a scroll button to the bottom of a panel placed inside a web page - I've tried using the scroll element that's available throught Telerik, but it doesn't seem to be working. Do I need to do something different since the scroll bar is placed inside a panel rather than on the browser window itself - if so could you advice me as to what I need to do.


Thanks
S
Top achievements
Rank 1
 answered on 28 Jun 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?