Telerik Forums
Test Studio Forum
1 answer
144 views
Hi,
I tried to create an automation testing project for a Silverlight Web site using 'Telerik - WebUI Test Studio' to have an idea how maintainable is the source code of the test cases, but I encountered a Silverlight connection error that does not allow recording the web page GUI.
[Steps performed]
-          create a new project in 'WebUI Test Studio'
-          add a new Test
-          enable Silverlight automation for this test
-          go to the 'Record' tab and press 'Record' button with 'Launch new recording Browser' option
-          in the new browser, navigate to the required page
-          wait for the Silverlight page to load
[Result]
-          After the web page is loaded by the automation tool, two error dialogs appear:

    1. Application Unhandled exception - Message: Object reference not set to an instance of an object at loading XAP file

    2. Unable to connect to Silverlight application.  Silverlight recording will not function.
even if the Web page seems to be loaded correctly. After this error, 'WebUITest Studio' does not record any actions

[Test environment] - set up for WebUI Test Studio:
-          IE 8 configured for automation (see all steps here:http://www.artoftest.com/support/webaii/topicsindex.aspx?topic=configureIE7)
-          Windows 7 x86 Professional OS with UAC disabled (logged in user is part of administrators group)

[Investigation]
i've tried all proposed solution from http://www.telerik.com/ClientsFiles/185726_silverlight-connection-draft.zip, but the Silverlight recording error is the same
-          Remark: if the page is reloaded in WebUI recording browser several times, IE crashes; debugging IE shows an error at ArtOftest.WebAii.Mime.dll

[Important remarks]
- web site is working correctly when performing manual testing (not using any GUI recording tool).
- 'WebUI Test Studio' recorder is working as expected on other Silverlight website

Are there any other solutions to perform Silverlight GUI recording from WebUI TestStudio? 

Best regards,
Flavia
Cody
Telerik team
 answered on 20 Sep 2010
3 answers
123 views
Hi.  My team is currently evaluating WebUI and have hit a couple of roadblocks.  

1/ How can I find/identify custom controls?
2/ How do I find controls in a coded step?  I tried using code that I had built up using WebAii but it didn't work and didn't provide a particularly useful error message.  

Help on these questions would be greatly appreciated.  Thanks.
Cody
Telerik team
 answered on 17 Sep 2010
2 answers
448 views
    
Hello!

I need help in a such problem.

I have drop down list in SharePoint application.
Here it is:

<select name="ctl00$PlaceHolderMain$ctl09$ddlCashier" id="ctl00_PlaceHolderMain_ctl09_ddlCashier">
<option value="none">Make your choise</option>
<option value="07b77ce8-8376-45da-be95-9079e65db9c7">HELLO</option>
 </select>


"07b77ce8-8376-45da-be95-9079e65db9c7" is a guid that is changed every time I open the page.
I need to select HELLO option.

How can I do it?
Helen
Telerik team
 answered on 17 Sep 2010
3 answers
115 views
Hi,

This is Archana.

How do I customize my test results.
I have converted the steps to VB code.
I tried using print but it seems not working.

Thanks & Regards
Archana
Nikolai
Telerik team
 answered on 09 Sep 2010
1 answer
83 views
Hi,

I am evaluating your WebUI Test Studio to find out whether it can be used to simplify a testing process of our Silverlight application. It looks really great, but I've stumbled upon a one problem I am unable to solve on my own.

We are rather heavily using both popups (child windows in SL 4.0) and NumericUpDowns (from SL Toolkit) in our application. When I record a test that involves opening a popup window (which I register in its constructor by using PopupTracker.Track(this);) and inputing a value in one of the NumericUpDown, everything seems ok.

So I save the test and execute it. The popup opens, but the NumericUpDown is not found. There are also some TextBoxes in the popup and those are found and values are inputed into them without any problems.

When I use a NumericUpDown outside of popup window, the test executes correctly and the NumericUpDown is found. I would really appreciate any advice you can provide.

Thanks,

Nikola
Nikolai
Telerik team
 answered on 08 Sep 2010
10 answers
260 views
I am having problems verifying the value in a textblock. Basically there is an initial value which I can verify exists, then I select a value from the dropdown list, and after I want to verify the value of the textblock is the value I selected.

When I execute the steps after recording, it fails on this step every single time. I know there must be a simple step I am missing or something I am doing wrong as this is a standard basic test.
Konstantin Petkov
Telerik team
 answered on 08 Sep 2010
0 answers
114 views

Hi,
I have a problem when I export my Telerik Report to Excel by code, I need to style a Textbox in my report code exactly in

ItemDataBound

event I give a different color to Textbox as backround depend on filed data, but the problem is not all the color look the same ! mean I give a Hex number for a specific color but in the Excel sheet look different but when I export it to PDF all the color look correct !
So what is the problem please help me with this

Thanks

Ban
Top achievements
Rank 1
 asked on 30 Aug 2010
1 answer
94 views
Hi,

After the execution run in Record -> Steps Viewer, the Test Results are not present in the Results Tab against the current date.
(But able to see the Results in the "View Test Log")
Is there any settings to be done to view the Results?

Regards,
Dal
Konstantin Petkov
Telerik team
 answered on 27 Aug 2010
1 answer
101 views
Is there any way to run a pre test setup/initialisation script? I need to run a stored proc to ensure my test data is reset. Thanks Nabil
Konstantin Petkov
Telerik team
 answered on 27 Aug 2010
1 answer
98 views
Hi,

I came across a issue at browser level. Whenever I ran script, its opening the login page& logging in the user in IE browser correctly. If I run the same script in Fire fox or Safari browsers, then just script is running up to login page& script not entering the login details.

Our Application is already Browser Compatible i.e. it allows users to login in FF&Safari if user perform manually.

Message in Test Viewer is

Error attempting to ping runner. Error: System.IO.IOException: Pipe is broken.
   at System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
   at System.IO.Pipes.PipeStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.WriteCommandToPipe(PipeCommand command, PipeStream pipe, Boolean waitForDrain)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.Ping()

Any ideas?

Thanks
Konstantin Petkov
Telerik team
 answered on 27 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?