Telerik Forums
Test Studio Forum
1 answer
108 views
Hi,
 I am getting the following Error while execution test as List.
This test works fine while running as test  but it gives error when Executing as List.....
It is show stoper for me now so Please help me out with this issue..
Find the attached Log for more detail.
------------------------------------------------------------
'8/11/2011 2:06:08 PM' - Detected custom code in test. Locating test assembly: Automation.dll.
'8/11/2011 2:06:08 PM' - Assembly Found: C:\Automation1\bin\Automation.dll
'8/11/2011 2:06:08 PM' - Loading code class: 'Automation.ChartOfAccount'.
------------------------------------------------------------
'8/11/2011 2:06:48 PM' - Error attempting to execute a Test As Step. Details:
'8/11/2011 2:06:48 PM' - System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteDataDrivenTest(Test test, BaseWebAiiTest codeInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(Test test)
Plamen
Telerik team
 answered on 12 Aug 2011
1 answer
120 views
Hi Telerik Team,

Can you provide some custom codes for us on how to verify the whole text inside the RichTextBox and determine if its an hyperlink. Like the one from this post.

Thanks a lot!
Cody
Telerik team
 answered on 11 Aug 2011
3 answers
115 views
Hi

I plan on running the tests recorded via a schedule job using a command running ArtOfTest.Runner.exe.
I need to know if the test pass or failed.
The only way I see is the results written to your custom file results.
Is there another way of getting the final test results?

Thanks
dudi
Top achievements
Rank 1
 answered on 11 Aug 2011
2 answers
115 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
142 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
79 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
246 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
242 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
246 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
95 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?