Telerik Forums
Test Studio Forum
1 answer
78 views
Hello,

It appears the checks for Application.Current.IsRunningOutOfBrowser does not work with Test Studio. After disabling the check in a couple of places to bypass it, I finally hit a wall with a login page that uses the webBrowser control. I'm unable to record my OOB application. See image attached.
Anthony
Telerik team
 answered on 04 May 2012
2 answers
128 views
I just spent the last several hours trying to figure out why my coded step to handle a file upload dialog absolutely would not work when used in a data-driven test, and I feel that I should pass this bit of info along in case anybody else is running into similar issues.

My situation is as follows:
  • I'm using the TestStudio Standalone version to test an ASP.NET Web Application.
  • I'm testing a set of actions wherein a file input html control is used at some point.
    I wanted to extract the exact bits where the file input is handled so that I could reuse it in my similar tests.
  • I made a small data-driven test to do this that inherits its data-source from its parent.
  • That test would run properly on its first iteration but on any of the following iterations, nothing would happen once the file upload dialog popped up.

To make a long story short, I was following examples that I found online (mostly from these forums) where people were trying to programatically handle dialogs, and in most of those threads, "Manager.DialogMonitor.Start();" and "Manager.DialogMonitor.Stop();" were being called before and after (respectively) the dialog was handled in the code.  As it turns out, though, once "DialogMonitor.Stop();" is called, the DialogMonitor cannot be started again, which is why only the first iteration of my test was working.

Now that I think about it, most of those threads were probably posted by people using the TestStudio VS Plugin as opposed to the Standalone version.  Regardless, I never saw any mention of the fact that explicitely stopping the DialogMonitor in the Standalone version would render it unable to be started again.  As I also found out, it doesn't need to be explicitely started in the Standalone version either, but that's besides the point.

I did notice that in the TestStudio Standalone Documentation, the Start/Stop methods aren't included in the examples, but at the time, I presumed that was for the sake of brevity and merely glanced over it.  Perhaps I'm just blind, but in my humble opinion, it should be more obvious that these two methods should not be used when working with the Standalone version (presuming that the issue I ran into isn't a bug).  It may be a small issue, but it killed much of my productivity for a day.

Max
Top achievements
Rank 1
 answered on 04 May 2012
1 answer
111 views
Hello, support team.

I'm using Telerik TS 2012.1.411.0
Win7 Pro SP1 23bit
IE 9.0.8112.16421

My IE crashes all the time when i work in record mode. It happens about every 15-20 minutes. I see message window that says "Internet Explorer has stopped working...". Then i have to restart IE, move to my currently record position and so on. It's very sad.

Can anybody help me?


Thanks.
Plamen
Telerik team
 answered on 04 May 2012
1 answer
78 views
Hi,
In performance test history view I can only see the test results.
But it would be great if I could sort by pass fail or at leas see which tests pass.
Attached is the screenshot of my current view.
Anthony
Telerik team
 answered on 03 May 2012
3 answers
120 views
Forgive me if this has been asked before, but how could I use both WPF and Web commands in one test case? For instance, I'd like a code step that would open a web browser and check something after performing an action in a WPF application. Could I just use LaunchNewBrowser()?
Anthony
Telerik team
 answered on 03 May 2012
3 answers
126 views

Hi Telerik Team,

for the automated tests I want to generate a unique data for testing. I am creating a record in my application for which the Record Name must be unique so that it would be easy to search. To generate unique record name I am appending DateTime value to the ‘Record Name’ I am reading from input xls via a coded step.

Though I am able to create a new record having unique name by appending Datetime, while searching I want the exact name which I had entered while creating a record. I have declared record name as a class level variable. So I can access it in all the coded steps. But the search functionality has all recorded steps. How can I use a class level  variable from a coded step, in the data driven recorded step?

Dipali
Top achievements
Rank 1
 answered on 03 May 2012
1 answer
90 views
Hello everyone,

I am a brand-new beginner to Telerik, and I wanted to view the Introduction to Telerik WebUI Test Studio video, however, all I get is a flashing movie camera on a tripod image. Can you help me?

Thank you!
Cody
Telerik team
 answered on 02 May 2012
3 answers
116 views
Hi...

I tried to use the load testing and it's really interesting, but when i want to understand the metrics  result, there is no any indication in which step the load happened...??? how can i find analyzing for the steps...??

Thanks.

Best Regards,
Ahmed Sabri
Cody
Telerik team
 answered on 02 May 2012
1 answer
70 views
Hi all
I record , I run successfully
But I copy to other folder, I can not run this script ==> There is always error "compilation fail"
.....2- Edit output channel folder.tstest.vb: Line 87: (BC30456) 'DnnCtr436EditOutputFolderTxtDescriptionTextArea' is not a member of 'Pages.InachisHardwareAndChannels0Page'.
....3- Output channel\2- Edit output channel folder.tstest.vb: Line 107: (BC30456) 'DnnCtr436EditOutputFolderTxtDescriptionTextArea' is not a member of 'Pages.InachisHardwareAndChannels0Page'.

When i view class then line 87 and line 107 do not exist.

I run this script at old folder. It is ok
Please help me

Stoich
Telerik team
 answered on 02 May 2012
2 answers
136 views
Hi,

I want to execute a batch file (from network) in a Code Scripted Step like this:

Process prc = new Process();

            prc.StartInfo.FileName = @"W:\QA\copyTestFileToFolder.bat";

            prc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;

            prc.Start();

            prc.WaitForExit();

            prc.Close();


I got the following message:
'30.04.2012 15:44:12' - System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.   at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)   at System.Reflection.Assembly.LoadFile(String path)   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureAssemblyExists(String assembly, String folder)   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result, String binariesFolder)   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)

We need to run the tests under cruise Control and automatic. So we need the code to be on the network share.
What do I have to do, to give the access?

Regards,
Adriane

Adriane
Top achievements
Rank 1
 answered on 02 May 2012
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?