Telerik Forums
Test Studio Forum
2 answers
130 views
Hi

I need to create some small test cases, that together are a complete test scenario.
For example:
  1. Test1 - do login and validate succeeded and redirected to main page.
  2. Test2 select an item in a combobox on main page

I recorded the 2 test and the created a list executing the first the the second case.
The problem is that after test1 ends the browser is closed and the reopen again when test 2 starts.

But the second time the browser is open it should be after login and on main page for the second test to succeed - so it fail...

Is there a way to create a test flow made out of sub test cases ?

Thank
dudi
Top achievements
Rank 1
 answered on 11 Aug 2011
2 answers
162 views

Posted on Aug 5, 2011 (permalink)

Hi,

I have below issue:

Is it possible to identify the control to which name attribute is not set????

for example...my issue here....
i have created around 10 dropdowns with no name attributes on SL app...when executing the recorded test case on these dropdowns (selected items), everytime only first  dropdown is identified...
upon checking the DOM explorer, found that since no name attributes are set for these dropdowns, defualt names are setted...so very first occurence of control caught everytime...
...how can i avoid this issue by identifying this element...correctly...
PFA having default names for drop downs...

Pls help me here...

Thanks
Hari
Anthony
Telerik team
 answered on 10 Aug 2011
2 answers
93 views
Hi,

I have below issue:

When am trying to enable the Hover Over highlighting in popup/model dialog windows...its not showing...
can you pls help me here..?

Thanks
Hari
Anthony
Telerik team
 answered on 10 Aug 2011
7 answers
280 views
Hi,

I am using the QA edition of test studio - our environment is highly virtualized, so I am running TestStudio on a Windows 7 VM that I access via RDP.

I've noticed a very frustrating issue, and I'm hoping you can provide some insight. I have a login test that enters a username, password, changes a dropdown option, then clicks a button to login. This test works just fine when I observe it in the RDP session. However, if I shrink the RDP window, or close the RDP window (without logging out), the username and password are not entered, but the dropdown option is changed and the login button was clicked. It appears that the mouse clicks work, but the text entry does not work unless I am viewing the RDP session.

Ideally we would like to schedule these tests to run on this machine at various times, and we do not want to be required to have an RDP session open to do so. I figured this was possible as long as you don't log out of the account you're running it under, but now i'm not so sure. It also appears that the screen capture at failure does not properly work if I am not viewing the test run in the RDP session. Please let me know any insight you have.

Thanks,
Zach
Anthony
Telerik team
 answered on 10 Aug 2011
5 answers
282 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
281 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
113 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
151 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
130 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
86 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?