Telerik Forums
Test Studio Forum
3 answers
97 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
49 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
106 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
76 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
73 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
90 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
121 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
107 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
3 answers
127 views

Hi Telerik Team,

Scenario to automate:

User creates few objects in application under test. The names of these objects could be anything which user specifies.

On some different page of the application I am having a HTML list box of type SELECT. This list gets populated with the object names which  user have created previously. Here I want to select the multiple options from the list. I will be specifying the options to select as a comma separated list in the Excel column.

I have done it using a coded step. I would like to avoid the coded step. So I would like to know, if there is a way I can do it without coded step?

Code for the current coded step:

// Read the options from input Xls file and make a list from comma separted values
List<string> optionsToSelect = Data["ListOptions"].ToString().Split(new char[]{','},
    StringSplitOptions.RemoveEmptyEntries).ToList<string>();
var lstBoxTestOptionsSelection = Pages.Page1.FrameFrame00.lstBoxAvailableOptions;
// Select the given options from the listbox
foreach(string strOption in optionsToSelect)
{
    foreach(HtmlOption option in lstBoxTestOptionsSelection.Options)
    {
        if(strOption.Equals(option.Text))
        {
            // Get the index of the option from listbox
            Log.WriteLine(option.Text); 
            var indexToSelect = lstBoxTestOptionsSelection.Options.IndexOf(option);
            Log.WriteLine("Index: " + indexToSelect);
            // Select the option from listbox
            lstBoxTestOptionsSelection.SelectByIndex(indexToSelect);
            // There is another list to which I need to add the selected items so clicking on Add button.
            // Click on Add button to the other list box where we are kepping the selected items
            Pages.Page1.FrameFrame00.BtnAddRSDiv.Click();
            break;
        }
    }
    lstBoxTestOptionsSelection = Pages.Page1.FrameFrame00.lstAvailableRSSelect;
}

Cody
Telerik team
 answered on 26 Apr 2012
4 answers
178 views
Hi, I am fairly new to using Test Studio and am still in the trial version. I am trying to evaluate Test Studio on a web application that we are going to use and are looking for an automation tool to implement. 
         The test i am using is a data driven test and most of the fields in the application are drop-downs. So i need to read through one of my drop-down selection, and based on the value selected in the drop-down, i need to run through certain fields. I tried  to use the extract selection and get the value of the drop down into a databind variable and then assign that to a variable which i tried to use in the IF statement but i am getting a "Object reference not set to an instance of an object. at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout). at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)"
          Can you please provide me any input on how to clear this issue?

Thanks,
Nithu

Nithu
Top achievements
Rank 1
 answered on 26 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?