Telerik Forums
Test Studio Forum
3 answers
114 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
81 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
107 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
58 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
124 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
1 answer
88 views
Hi team,
I want to know if telerik supports to invoke property or method in other's class. By now, i just found that we can reuse a test file which may contains more than one method, actually it will automatically inovke all methods in file if i invoke this test file in other test while one of those is needed
Stoich
Telerik team
 answered on 01 May 2012
1 answer
87 views
We are testing the Test Studio Trial and missing a feature we did'nt find in the documentation.
Is it possible to attach images of failed steps from a test list to the generated (Word, Excel) report?
It would be pretty awesome, if the expected storyboard images and actual test images are included in the reports.
Ivaylo
Telerik team
 answered on 01 May 2012
3 answers
109 views
Hi All,

I have added Loop(say of count 5) and under that loop I have added Verify statement(which is my first step) which goes and verifies some text on page.And for this Verify statement ContinueOnFailure is set to true.
Now what I want is, in that loop if first Verify statement is failing it should go and execute next Verify statement so that depending upon some text I can take corrective action.But what is happening is if first Verify statement fails it is going to next iteration of Loop and then loop fails.
please help
Anthony
Telerik team
 answered on 30 Apr 2012
2 answers
147 views
Is there a way to set the behavior to always use

OffSet Reference: AbsoluteCenter
Point Unit: Pixel
Point X: 0
Point Y: 0

So that I don't have to always manually change it every time I create the event?

Sincerely,

Sonny
Ivaylo
Telerik team
 answered on 27 Apr 2012
1 answer
127 views

When navigating to an address with security Telerik does not take the browser to the site but stops.  The “Start recording using instance of browser appears and not the ip address.

Any thoughts?

John

Ivaylo
Telerik team
 answered on 26 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?