Telerik Forums
Test Studio Forum
5 answers
265 views
    Hi, 

 

I am working on an ASP.Net Project. I am using Radwindowmanager to open a page on click on button.

Can anyone tell me how to open a radwindow in showdialog() method

 

 

public partial class WebForm2 : System.Web.UI.Page

 {

 

 

protected void Button2_Click1(object sender, EventArgs e)

 

{

 Telerik.Web.UI.

RadWindow newWindow = new Telerik.Web.UI.RadWindow();

 newWindow.NavigateUrl = "SearchGrid.aspx";

 newWindow.OpenerElementID = Button2.ClientID;

 newWindow.VisibleOnPageLoad = true;

 newWindow.DestroyOnClose = true;

 newWindow.Modal = true;

 newWindow.EnableViewState = false;

 RadWindowManager1.Windows.Add(newWindow);

}
}

In this scenario I need to pass dataset to searchdrid.aspx and need to get selected value from serachgrid.aspx to WebForm2.aspx textbox. In

below I mention the sample which I did from c# windows app.
 

private void  SearchGridTable(DataTable SearchGrid)

 {

 formSearchGrid frmSearch = new formSearchGrid();

 frmSearch.DataSource = SearchGrid;

 frmSearch.ShowDialog();

 return frmSearch.strVal;

 }

pivate void rdbutSearchCategory_Click(object sender, EventArgs e)

 {

 try

 {

 CommonVariables commVariable = new CommonVariables();

  commVariable.Type = strRequesttype;

 DataTable serachDatatable = new CategoryService().SelectDetails(commVariable);

 rdtxtCatCode.Text = Utility.SearchGridTable(serachDatatable);

 }

 catch (Exception ex)

 {

 

 MessageBox.Show(ex.Message.ToString(), Constant.SystemMessageErrorHeader, MessageBoxButtons.OK, MessageBoxIcon.Error);

 }

}

 
please help

Marin Bratanov
Telerik team
 answered on 10 Aug 2011
11 answers
266 views
A while back Cody showed me how to fix a clicking step, so it will click the correct element.
I'm trying to Hover Over a roll down menu and click the first item on the list.
It never rolls down but I see the mouse doing something else. 
I think it is missing the element I'm after.
I think he went through the DOM to connect the step to the correct element.
Anthony
Telerik team
 answered on 09 Aug 2011
1 answer
105 views

When trying to run a basic test, basically doing a bing search, using the capture tool and trying to execute in firefox 5.0, im getting an error and lockup in WebUI Test Studio QA edition.

Overall Result: Fail
System.NullReferenceException: Object reference not set to an instance of an object.

Server stack trace:
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ShutDown()
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at ArtOfTest.WebAii.Design.Execution.ITestExecuteProxy.ShutDown()
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTest(Test testcase, Settings settings, String testBinaryFolder, String deploymentFolder, ExecutionType exeType, Guid lastStepGuid, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'08/08/2011 12:46:06 PM' - Overall Result: Fail
'08/08/2011 12:46:06 PM' - Duration: [0 min: 20 sec: 822 msec]
------------------------------------------------------------

Any idea what this might be?

Anthony
Telerik team
 answered on 09 Aug 2011
1 answer
140 views
Hi,

I'm interested in parsing into HTML the XML formatted results file that command line execution programs like mstest or artoftest.runner generates for test runs. I noticed, however, that some of the test information I put into Test Studio doesn't make it into the .trx or .aiiresults files.

I'm specifically looking at the individual test descriptions and the owner properties. Is there a way to get this information into the results file? It's something that would be useful to me ASAP as my workaround would be to generate extra test steps to write information to the log.

Thanks,

Sandy
Stoich
Telerik team
 answered on 09 Aug 2011
1 answer
122 views
Hi,

I see there is a command line option 'out=[folder path]' with ArtOfTest.Runner.exe to specify the test results output folder. Is there a way to specify the results file name?

We are using ant build scripts to automate our test runs. The script removes the results folder we have specified before each test run. We would like the aiiresults file name inside the output folder to be a specific name every time so we can reference the output file in other areas of the script.

Sandy
Plamen
Telerik team
 answered on 09 Aug 2011
1 answer
81 views

Hi,

I'm working using a loop, but I want to know if there is a maximum amount I can put for the loop? How many time can I repeat a test?

Thanks

Anthony
Telerik team
 answered on 08 Aug 2011
3 answers
249 views

Hi,

I want to know how can I run my test cases in several virtual machines?

There is a way to implement that?

Thanks
Stoich
Telerik team
 answered on 08 Aug 2011
1 answer
96 views

Is there a way to tell when the web page loading status is done?  I’m trying to wait for search results.  With QTP, RFT, and Rational Robot I can take a peek at the loading status but I do not seem to find the hooks here.

 

Thanks,

John

Stoich
Telerik team
 answered on 08 Aug 2011
1 answer
116 views
Hello,

I'm in the process of evaluating Test Studio (the VS plug-in, and the standalone version) for use with a WPF desktop application.  I'm trying to make several selections in the standard WPF ComboBox, and check to see that the correct text is selected.  When selecting an index which lies within the initial 'viewable' size of the combobox dropdown, the item is selected correctly, and the verification process works.  However, when I select the last item (in this case, index 46), which requires scrolling down in the drop-down, the mouse can be seen moving to the bottom of the screen, and then clicking on a start-menu item (and in this case, starting Visual Studio).  

How can I properly select these combo box items?

Thanks.
Stoich
Telerik team
 answered on 08 Aug 2011
1 answer
89 views

Can we use Telerik with any Frameworks, data-driven, or key-word?  I have been using it for about a week and I see no way other than just reading outside data.

 

Thanks,

John

yannakis@mail.com

Stoich
Telerik team
 answered on 08 Aug 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?