Telerik Forums
Test Studio Forum
2 answers
139 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
187 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
111 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.4K+ 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
283 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
140 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
148 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
33 answers
414 views
hi ,

I have a problem with the instalation of telerik web studio QA edition
Attached , you will find a screenshot for this error instalation

thank you for your investigation

Samir
Guillermo
Top achievements
Rank 1
 answered on 28 Jun 2011
1 answer
114 views

Hello Support,

Kaspersky Anti-Virus detected virus warning messages on Telrik *.EXE files.

Also, throwing PDM.Invader (loader).Detected while executing scripts.

Please see attached screenshots.

Thanks,
Madhu.

Anthony
Telerik team
 answered on 27 Jun 2011
4 answers
136 views

Hi,

I'm using a silverlight applicatoin, I was trying to running a recording that include a step that add a new item on a Tree View. The thing here is during the recording I did not have any issue, WebUi looks like record the steps correctly, just when I ran the Test Case, when Item is added I have to put a name, but this not happen, the test is stopped and looks like do not find the item to put a name.

I tried recording that like a simple step, also using the highlights actions, like left mouse clicking , but nothing... during the running looks like rad control cannot be found or modified. 

I also tried to disable the rad controls (RadMenu, RadTree ListView and RadTreeView), I read on your forum that this could be doing to run the steps like a normal steps, recording again the steps, but nothing. when I have to put the name, the test case stops.

I attach you the log, image, and the error report that WebUi gave me.

I'm using trial version 2011.1.520.0

Thank you a lot
Anthony
Telerik team
 answered on 24 Jun 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?