Telerik Forums
Test Studio Forum
2 answers
115 views
Hi,

I am currently evaluating the WebUI Test Tool and I have several questions:

My main need is to find a tool that easily allows me to execute my test suite against 8 browser/version combinations, specifically: IE 7, 8 & 9, FF 3.6 & 4, Safari 4.0 & 5.0 and the latest version of Chrome, without maintaining 8 different versions of scripts.  When I execute the test once, say in IE 7, I will need to execute the same steps in the next version, IE 8, but with different data values.

So for instance in my application I will execute the following steps:

IE 7

1. Create a new publisher: LVG Publishing House
2. Create a new publication: Sport's Illustrated
3. Create a new edition: Sport's Illustrated , July 2011

Once I create this publisher/publication/edition combinaiton, these values are stored in our database and cannot be reused.  If they are resused the script would fail encounter several validation errors.  I need to be able to run these same steps but with different values, say LVG Publishing House 02,  Is there a way to easily do this without creating 8 unique versions of basically the same steps.

Can I add parameters of some type that can incerment my data values for each execution?


Another obstacle that I am running into is that the automated test runs so fast that button clicks are not recoginzed because the button itself is not enabled when the click is performed.  I've increased my "WaitOnElementsTimeout" to 30000, but this still doesn't seem to help. If I institue a executioni pause, it works, but I cannot manually release the pause for each test.  Any suggestions.  UPDATE:  I've just discovered the execution delay.  I'm going to give that a try.
Anthony
Telerik team
 answered on 03 Jun 2011
1 answer
125 views
Hi
I need some help about resuming record in my prerecorded test at the end of all steps.

In short what  I m looking for that without manually traversing to the end of the prerecorded test can I run the test and then during execution start recording new steps at the end of the test?

Let me define the scenarios
I have created a test called "Test1"
Test1 has steps TS1, TS2, TS3... TS40.
I have now closed the test studio. Next time I come to add more test steps (TS41,TS42) in the Test1 what I need to do is that I have to do is start recording and pause it, then manually do all 40 steps as i did before in prerecorded test. After that I have to resume recording and do the step TS41.

What I don't want to do is manually stepping to the 40th step and start recording from here. Can teststudio take me there by execution and then I can proceed.

Thanx for u help in advance.
Anthony
Telerik team
 answered on 03 Jun 2011
0 answers
111 views
hello
          I am new in telerik control and .net .
          Currenty there is one requirement in our project and we are using telerik grid. I am trying to do a grid control just like the one you have an example for at:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx

in this example  you have used <sds:SessionDataSource>.  first thing i wanted to know that for what you are using this session datasourse in every demo
and my requirement is that i wanted to insert and display data into the grid but after insertion it shoud not store in to the real data base . First user will enter data and he will able to see it on to the grid only. after performing manupulation on that data the data should be enter into the physical data base. can i do this by using session data sourse so that after clicking on insert button which you have shown in that demo the data wll display only in grid.

please reply as early as possible

thanks in advance
ChetanaS

Chetana
Top achievements
Rank 1
 asked on 03 Jun 2011
2 answers
91 views
Hi People!
I am starter in WEB UI telerik test studio, so may be asking a very basic question. Would love to get some idea about the way I can use test studio in following scenario.

I have a test (L1) to automate login for site.
Now after logged in I have to run  2 separate test. T1, T2 (without logged in user T1 T2 cannot be run)
What I want to do is make a test list so that at first I will use the
>L1 > T1 > T2

Problem if i make a test list in this sequence after L1 execution, T1 is started as new and fails because it has lost the session created by L1.
Can u please help me?
Mithun
Top achievements
Rank 1
 answered on 03 Jun 2011
17 answers
202 views
Hi All,

When i install the telerik with the version TestStudio_2011_1_502_Trial.msi, it pops up the window (Please see the attached picture)
what happened on the telerik installation? I am so confused…… (hmm, I am guessing if it is the cause that my Product ID is not consistent with the Registration Key that mentioned in the attached screenshot?)

Thanks in advance!

Best,
Cherry
  
Cherry
Top achievements
Rank 1
 answered on 03 Jun 2011
1 answer
107 views
Hi,

This question is regarding the free testing framework (API).

I have the following code:

 

 

Settings settings = new Settings(BrowserType.InternetExplorer, @"C:\log.txt");

 

 

 

 

 

 

Manager manager = new Manager(settings);

 

 

 

 

manager.Start();

 

manager.LaunchNewBrowser();

 

 

 

Browser b = manager.ActiveBrowser;

 

 

b.NavigateTo(

 

"http://www.google.com");

However, it launches the browser but does not do anything thereafter. If I play with the code and modify it, I g et an exception stating wait condition timed out.

How do I make this code work (so that it will navigate to google etc)?

Thanks

 

Anthony
Telerik team
 answered on 02 Jun 2011
4 answers
157 views
Hi There,
Do we have any way to verification image load? Currently I need make sure the images are load successfully, the images can be changed, I just need make sure those images will be displayed, no 'X' there, but currently all images of the system are displayed, I have no way to record them, another question is can we use the same image for all other images?

Thanks
Waylon
Anthony
Telerik team
 answered on 02 Jun 2011
5 answers
104 views

Hi,

I was seeing Silverlight as a trial, and recording silverlight components, buttons, fields, links... was ok for our application, but now.. changing the WebUi version to 2011.1.502.0, we have problems recording the same buttons, fields, links, like we did with the other version.

We decide to buy the license, and just we are waiting for the licences information, but I'm a little worry about that, b/c with one version was ok.. and now is so difficult record actions on the site.

For example, using the "Highlighting" button when recording, when I'm over a button, the highlight appears moved to the left.. and not where the button is, so is dificult add some verification when we need.

Let me know if you need more information

Regards,

Stoich
Telerik team
 answered on 02 Jun 2011
2 answers
513 views
Hello!
I am using the latest WEBUI test studio 2011.1.502.0 trial version  (without the DEV plugin).
When i was recording there was a pop up, when I recorded to open the pop-up it recoded this step as well
"Connect to modal pop-up window : Add Copy Text Step - 1 -- Webpage Dialog"

But when I am trying to run the recorded test it is showing this error message. Can u please help me asap :)

'6/2/2011 3:15:11 PM' - 'Fail' : 9. Connect to modal pop-up window : Add Copy Text Step - 1 -- Webpage Dialog
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Capacity exceeds maximum capacity.
Parameter name: capacity
InnerException:
System.ArgumentOutOfRangeException: Capacity exceeds maximum capacity.
Parameter name: capacity
   at ArtOfTest.Common.Win32.NativeMethods.User32.GetWindowText(IntPtr hWnd, StringBuilder lpString, Int32 cch)
   at ArtOfTest.Common.Win32.Window.get_Caption()
   at ArtOfTest.Common.Win32.WindowManager.FindWindowRecursively(IntPtr parentHwnd, String caption, Boolean partialCaption, Int32 delaySearchPeriod)
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.ConnectIEDialog(String caption, Int32 delaySearchPeriod)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.HtmlDialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
------------------------------------------------------------
'6/2/2011 3:15:11 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'6/2/2011 3:15:11 PM' - Overall Result: Fail
'6/2/2011 3:15:11 PM' - Duration: [0 min: 22 sec: 543 msec]
------------------------------------------------------------
'6/2/2011 3:15:33 PM' - Test completed!
Cody
Telerik team
 answered on 02 Jun 2011
1 answer
126 views
I am trying to verify that a field contains the current date.  I saw an example on your website where someone used code to retrieve the InnerText of an element, unfortunately I can't get to the text using the innerText field, instead the date field is available in the element attribute labled "Value".

I've tried various variations of el.attribute.item("value).value or el.attribute.item(3).value but nothing I've tried seems to work, if anyone has an example of vb code I would appreciate it.  Also, is it  possible to use telerik tools to extract the value of a field in step A and then use that extracted value in coded step B? The video on your website doesn't make it clear if extracted values can be used in code. 

Thanks again for your help
Stoich
Telerik team
 answered on 02 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?