Telerik Forums
Test Studio Forum
1 answer
87 views
How can I use an element on different pages (ie a dynamic website with different pagenames but the same html - structur)?
At this moment the recorder creates the identic elements for different pages (for example a href in an static menu).
Boyan Boev
Telerik team
 answered on 19 Apr 2013
1 answer
104 views
Hi, 

I have a selection of checkboxes that are created dynamically and so the test environment can never be sure of how many there will be.

We have Select All / Deselect All links which we already test for, but I would like to iterate through some test steps based on the current number of these checkboxes each time, however many there may be.

So essentially:

for each checkbox c in div-a {
     Insert test steps here, and be able to reference the current active checkbox (c) each time
}

I am using the Telerik Test Studio IDE environment with very little use of custom coded steps

Thanks,
Ghandi
Plamen
Telerik team
 answered on 18 Apr 2013
9 answers
308 views
I can't seem to capture any user data for load testing using the inbuilt Capture feature (Telerik Test Studio v2012.2.1420.0).

Everything is hosted locally on the controller/recorder. This local machine is also the only agent. You may cringe but this is for proof-of-concept more than anything. The application I'm testing uses HTTPS.

I tried to capture data using "Capture New" in IE. Fiddler2 was picking up all the HTTPS traffic but no results in Telerik. The "User Traffic" pane in the "Edit User Profile" window remained completely blank no matter how long I waited. Got the same results in Chrome and Firefox.
Cody
Telerik team
 answered on 18 Apr 2013
5 answers
137 views
Hey there,

I have some problems with highlighting an <a>-tag in a dropDown Menu.

On the first picture you can see the menu. Here I want to select the Equity hedge point, but if I click on the highlighting Button on the top and hover this point, it will look like in picture two.

if i click on the blue circle now, it will select the wrong element.

Can you help me?

Notice: The zoom is 100%.
Plamen
Telerik team
 answered on 18 Apr 2013
2 answers
56 views
Hello,

In several instances, I have needed to enter DateTime.Now.ToString() into a textbox, so I would initially record step to "enter text 'alan' into txtComment" and then customize that step in code.  I use to have success in this, but within the past few months, I have not.  I have even tried converting the step without modifying anything and I receive the same error.  Below is what I have tried so far.  We are using version 2012.2.1420.

Pages...txtComment.Value = DateTime.Now.ToString();
Actions.SetText(Pages...txtComment, DateTime.Now.ToString());

As stated above, when simply converting the step to code, the test fails:

Actions.SetText(Pages...txtComment, "alan");

I know this is very simple to do, so I must be overlooking something.

Thanks,
Alan
Alan
Top achievements
Rank 2
 answered on 17 Apr 2013
1 answer
112 views
I had an older version when i started encountering this error. I then upgraded to the latest version of Test Studio and tried executing it. It  ran fine the first time and then started to throw the same error. I am not sure why i am getting this error. Can you please help me out here?

Below is the error details.

Thank you,
Nithin

------------------------------------------------------------
'4/17/2013 11:54:59 AM' - Using .Net Runtime version: '4.0.30319.1' for test execution. Build version is '2012.2.1527.0'.
'4/17/2013 11:54:59 AM' - Starting execution....
'4/17/2013 11:55:03 AM' - Failure detected during execution. Details:
------------------------------------------------------------
'4/17/2013 11:55:03 AM' - System.ApplicationException: Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it. ---> System.ArgumentException: Process with an Id of 3068 is not running.
   at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
   at System.Diagnostics.Process.GetProcessById(Int32 processId)
   at ArtOfTest.Common.Extensions.ProcessExtensions.GetParentProcess(Process process)
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'4/17/2013 11:55:03 AM' - Test completed!

Mercedes
Top achievements
Rank 1
 answered on 17 Apr 2013
3 answers
61 views
...90% of the time my tests are just superficial "does a page work", or "this url should not work"

Browse to page, make sure there's no YSOD, done.  However the actual test has to be some "hacky" thing like looking for an element which wouldnt exist on a YSOD page.

Could we add a new test step that just "automatically" looks for a crash page...So like in my test project I could give TS my error page Urls, and then I would add this new step in to say

- Browse to Page
- Check for 500
or
- Check for 404
or
- Check for Error

Then internally that magic test step would determine if the resulting url is one of my error pages and\or a YSOD.  This would also let me fire up a series of PURPOSELY bad urls to throw at it to hope they 404 or 500.
Boyan Boev
Telerik team
 answered on 17 Apr 2013
5 answers
224 views
Hi,

I have following scenario to test:
1. Register as user to website.
2. Verification mail is sent to user's mail id, having a link to confirm user account.
3. Login to admin portal and open item created by action#1.
4. Mail which was sent in step#2 is attached.
5. Open attachment and copy link given in mail and paste it in new browser.

Is it possible? I was able to proceed till step 4 but copy link didn't worked.

Thanks,
Amit
Boyan Boev
Telerik team
 answered on 15 Apr 2013
4 answers
720 views

Hi,

I am trying to connect to Oracle database using Test studio to verify values are being persisted properly. I tried writing code using Oracle client but I am getting following error:

'System.Data.OracleClient.OracleConnection' is obsolete: 'OracleConnection has been deprecated. http://go.microsoft.com/fwlink/?LinkID=144260'

Also, tried with OleDB connection, but getting OleDB.Oracle not registered on local machine error. Please let me know if any solution is available for the same.


Thanks,
Amit

Ivaylo
Telerik team
 answered on 12 Apr 2013
1 answer
81 views
I have read other postings that Flash is not really supported in Test Studio... at least a couple of years ago. Others have proposed ideas on how to do blink clicks, etc.I know I can't use image verification,

However, as a performance monitoring tool, we want to time the loading of pages. The page has a Flash header on it and the time that it takes to load and starts to play is to be considered part of the loading time.

Any ideas?
Cody
Telerik team
 answered on 09 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?