Telerik Forums
Test Studio Forum
2 answers
155 views
hi.

i have a test list that throws 7 compilation errors on execution
all have the same error code. CS0102

i have found 2 other posts that sugests that i need to delete the pages.cs and pages.g.cs file

this solution did not resolve the problem since WebUI recreates the pages.g.cs file everytime i restart the program.

is there any workarround to this issue ?

se attached image for the acual error popup.

/Ben
Benjamin
Top achievements
Rank 1
 answered on 23 Feb 2011
1 answer
98 views
Hello,
          I'm trying to follow the steps outlined in the video here- http://tv.telerik.com/watch/automated-testing-tools/webui-test-studio-executing-webui-tests-with-mstest using my own test. I am using the WebUI QA Edition in conjunction with Visual Studio 2008 and when I attempt to run a project with an .aii extension with the following command "mstest /testcontainer:".\file name.aii"" (where "file name" is the name of the test I wish to execute) I receive the error: "File extension specified '.aii' is not a valid test extension."  Do I need to perform any extra steps not listed in that video to register the .aii file extension with the MSTest framework?
Cody
Telerik team
 answered on 22 Feb 2011
7 answers
372 views
Hi,

How can I insert a parameter into URL ?
here is a quick description what I want to do:
the request contains ReportID=1000 parameter in URL. This report can be deleted. I would like to do not specify a specific ReportID. Instead of this I would like to click on the first searched  report on the page. How can I insert a parameter into URL ? 


Thanks
Stoich
Telerik team
 answered on 22 Feb 2011
1 answer
96 views
Hi,

I have only one line in my test script and it says [New_Test_CodedStep] : Navigate to : "http://mail.yahoo.com/". But Web UI tool is not playing back my script in any browser. I configured my browser as it was said in http://bit.ly//cofigure-browser.

Below is the TEST LOG:
Overall Result: Pass
------------------------------------------------------------
'2/21/2011 3:48:21 PM' - Starting execution....
'2/21/2011 3:48:25 PM' - Detected custom code in test. Locating test assembly: TestProject1.dll.
'2/21/2011 3:48:25 PM' - Assembly Found: C:\Documents and Settings\MMAHALIN\My Documents\WebUI Test Studio Projects\TestProject1\bin\TestProject1.dll
'2/21/2011 3:48:25 PM' - Loading code class: 'New_Test'.
------------------------------------------------------------
'2/21/2011 3:48:25 PM' - 'NotRun' : 1. [New_Test_CodedStep] : Navigate to : 'http://mail.yahoo.com/'
------------------------------------------------------------
'2/21/2011 3:48:25 PM' - Overall Result: Pass
'2/21/2011 3:48:25 PM' - Duration: [0 min: 0 sec: 46 msec]
------------------------------------------------------------
'2/21/2011 3:48:29 PM' - Test completed!
Cody
Telerik team
 answered on 21 Feb 2011
1 answer
132 views
Is there a way to change the viweing of code from VB to C#? I didn't see a C# option when I click on View Class first time.


Thanks
Manju
Cody
Telerik team
 answered on 21 Feb 2011
1 answer
82 views
Hi,

I am a new user to Web UI Automation Tool. I tried to install the software and I got stuck in the set up. The set up hangs in calculating the disk space requirements. I have 96.8 GB free space in my machine. Attached are the screen shots.
Cody
Telerik team
 answered on 21 Feb 2011
1 answer
138 views
Hi

Is it possible to use part of some extracted text, I can extract a confirmation message which contains the reference I need but I would like to use just the reference in another search.

Cody
Telerik team
 answered on 21 Feb 2011
2 answers
130 views
Hi All,

After giving the license key I got fhe following error message.

Respose : Invalid Product type. It seems you are tryong to run the wrong product 
edition(Dev orQA) and you do not have a license fot it. 
Need Help to rectify this problem?
Nikolai
Telerik team
 answered on 18 Feb 2011
4 answers
151 views
When I created a test script I inserted "Image Verification" using Hover Over highlighting option (verify entire image checkbox is checked). When I wanted to run this test script all these verification steps were failed because Hover Over highlighting option in the web ui tool cannot identify objects properly (see attached screenshot)

 How can I fix this problem ?

P.S. I already restarted my computer and restarted the tool :)

Thanks
nastia
Top achievements
Rank 1
 answered on 18 Feb 2011
1 answer
180 views
Please HELP!!! The test script was ready for execution. I run this script for a several times today and I didn't receive any errors. But the last 5 times when I was trying to execute it I got this error:
------------------------------------------------------------
'2/17/2011 3:33:56 PM' - Starting execution....
'2/17/2011 3:34:49 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'2/17/2011 3:34:49 PM' - System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetHostState(IAutomationHost host)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'2/17/2011 3:34:49 PM' - Test completed!


Note1: the status of the test is "Fail - 0 passed out of total 0 executed" but I could see the progress of this test during execution and all steps were passed.

Note2: I get this error only when I add "Close IE window" step in the end of the test
Cody
Telerik team
 answered on 17 Feb 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?