Telerik Forums
Test Studio Forum
3 answers
39 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
188 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
628 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
59 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
3 answers
117 views
Hi team,
when i use ActiveBrowser.NavigateTo(url) method to open a page, it seems that the browser will wait until the page is totally loaded, that means if there is an image or an icon is not completely loaded, the browser will wait. so my question is how can we let it go to next step without keeping waiting once the link that i need is loaded?
Boyan Boev
Telerik team
 answered on 09 Apr 2013
5 answers
153 views

HI,

  I am new to WebAii Framework, I want to start Automation SAP application using VS2010 and WebAii Frame work. Please let me know if it is possible to automate SAP application using WebAii Frame work, If possibe let me know If there is any pre-requiste before starting the automation like Installing xyz controls etc.

SAP Application details :
Portal : NetWeaver Portal
Languages used : ABAP and Java

My System details:
Windows XP SP3

VisualStudio 2010

WebAii 2.0

 

Please let me know if any details requried

 

Regards,

SaranKumar V

Vaibhav
Top achievements
Rank 1
 answered on 09 Apr 2013
3 answers
65 views
This may be a "stupid question", but after viewing and/or dismissing the Step Failure Details log after a Quick Execution run, where can I go to re-open it so I can double-check something?

Apparently, only Test List results are listed on the Results tab, and I can't seem to find where Quick Execution test results are stored, if they are at all.

Are Quick Execution test results transient and not kept anywhere...even if another quick execution has not yet been run?
Is the only way to be able to go back to a test result is to run the script in a list and not use Quick Execution?

Thank you for your time.

Donna M Rode
St George, UT
Boyan Boev
Telerik team
 answered on 08 Apr 2013
1 answer
74 views
Hi All,

I have been using telerik WebAii framework with great success in the past few years when running UI automation. I am using the SDK directly (writing code) and I am not using the Test Studio UI to run my test.
Test execution is happing via Visual Studio MSTest tool.

I recently change my entire code to use .Net 4.5 instead of 3.5. Everything was working smoothly until I tried to run my UI automation. Most of the UI cases run with no issue until I hit a set of case that utilize 4.5 code. The test case outcome will succeed but it will put WebAii (or the machine) in some kind of odd state. All subsequent cases, regardless of their complexity will fail run trying to launch the browser
    this.Manager.LaunchNewBrowser()
The API will timeout with little indication on the failure.

I am not able to repro the issue on my local machine but this repro 100% in a lab environment. My local machine has IIS, SQL, Azure SDK, .Net 3.0, .Net 4.5, and many other component/software install while the lab machine has very little.
I am running Windows 8 locally and the lab is running Windows Server 2012.

Not using .Net 4.5 feature in the scenario I am trying to test is not an option so I need to find out what is causing the error.

Has anyone experienced similar issues with WebAii and .Net 4.5? If so, is there any work around?
Will a 4.5 version of WebAii be available anytime soon?

Thanks.

David.
Plamen
Telerik team
 answered on 08 Apr 2013
1 answer
125 views
Hi,

I am currently writing tests in VS2012 Ultimate SP1 and Windows 8 Pro x64. UAC is at the lowest level. (I have not manually edited the registry to drop it to fully off {this borks Metro/ModernUI applications}).  My account is an administrator on the machine also.  All of the tests are purely code using MSTest for the unit test attributes.  If I have Visual Studio or a command prompt elevated as an administrator all of the tests execute fine.  If they are not then the browser will open and nothing happens.

If I use the standalone Test Studio and create a test via the GUI and launch it from there it will work.  I did not elevate the standalone TS when I did this so there must be some way to allow VS and CMD to execute the tests properly without being elevated. I read the entry http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/command-line-test-execution/mstest.aspx and watched the corresponding video but neither were helpful.  The screenshots are VS2010 specific and some features have been removed in VS2012. 

Is there anyway to run the tests without requiring admin elevation in Windows 8 with VS2012? Any help or suggestions would be appreciated.  Hopefully I am just doing something wrong or missing some setting and this isn't a limitation of TS.

Thanks
Cody
Telerik team
 answered on 05 Apr 2013
1 answer
120 views
Greetings,

I'm replacing an employee that had an extensive list of tests created for the project I'm working on. Unfortunately, when logging into the virtual machine which she was using and opening her test folders, a number of popups about missing code and files being read-only popped up. It seems she was unable to properly backup the files for the next user, me.

I was able to review some of her tests and decided that due to missing logins and URLs no longer being correct that it would be easier to rewrite the tests. I don't want to end up in the same boat as her in the future should someone else pick up the testing assignment or need to run the automated tools from the virtual server.

My question is "how do I properly backup the project files and restore them on another computer or for another user?"
Rodney
Telerik team
 answered on 05 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?