Telerik Forums
Test Studio Forum
10 answers
349 views
Hi Cody,

My management is intrested to design test case as follows:

Create a test case as per UI design need, and perform some search criteria and which returns some number of records from database and display it to the user along with number of rows information.

What actually they need is, during the steps in the test case, is it possible to connecting sql/oracle db to get data for the similar criteria and number of records information and need to compare with UI display data.

Is it possible to write a code to conenct to db from test cases to compare data??

Please help me here...

Thanks.,
Hari
Kiran
Top achievements
Rank 1
 answered on 14 Jun 2012
2 answers
78 views
Is it possible to mark or otherwise indicate that a test has no associated steps or is incomplete?

I'm evaluating the standalone version of the software and I've created tests basically as placeholders, to remind myself that I need to go back and enter the steps later. I'd like to have some kind of visual indicator that these tests are empty without having to move them into a special folder. Also, it's possible that I would not be able to add all steps to a test in one sitting, so an indicator for incomplete tests would also be handy.

Thanks.
Ashleigh L
Top achievements
Rank 1
 answered on 13 Jun 2012
1 answer
93 views
Hi,

Can you help me out in how to create a data-driven Telerik Testing Framework ?

Thanks
Anuj
Cody
Telerik team
 answered on 13 Jun 2012
1 answer
121 views
Hi,

I’m trying to test different Users using different cert to login an application.  For example: user1 has certA, user2 has certB, ect…. 

When the Window Security dialog displays, I can see different certificates (certA, certB, ect…) that I can select.  For example, I used User2 and selected certB and clicked the OK button.  The Window Security dialog closes and then a Password dialog of my application displayed.

When I played back, it seemed to select the one in the first row; which is certA

When I looked at the step in this test, it displays the “Handle ‘Generic’ dialog”.  I can’t seem to manipulate this line so that it can pick the correct certificate for my test.  I even used the up and down keys on the keyboard when I re-record the step and it still didn’t work.

Could someone help?

I’m running stand-alone Test studio.

Thanks,
Mindy

Anthony
Telerik team
 answered on 13 Jun 2012
3 answers
96 views
The Internet Explorer is crashing if I play a special test.

I know I played it before without problems, but a cmd window occurs now every time I start it and an overlay popup is blocking this, so I cannot copy the failure message.
But I attached a screengrab.
Maybe you can see something in the image, or tell me some cases when this is happening, so that I can check this?

For information if you need it I have a silverlight application.

Best regards,
Adriane

 
Plamen
Telerik team
 answered on 13 Jun 2012
1 answer
77 views
Hi I am a new one here and tried using Test Studio to record a basic test case for my Web application.

Test Case

1. Launch Web site
2. Enter credentials
3. Perform search in the system using Criteria1
4. Out of results returned click on ResultRecord  X
5. Check if it loads
6. End

Now I was able to record the scenario and playback as well. My question is that the idea behind this tool is for re using the existing  already recorded scenario. So in my case lets say I ask another person to use my scenario and perform the testing. When he does that I dont want him to open the same Result X which I did, rather he should try doing this for Result Y, Z etc. How and where do I set that

Or in other words how do I test say 10 ResultRecord using the scenario I recorded, without me having to change <Step 4> everytime?

I apologize if its a basic question or If I am not expressing my need clearly. Any insight will be appreciated.
Anthony
Telerik team
 answered on 12 Jun 2012
1 answer
86 views
Part of my testing is to connect to a VM and locate a folder, copy it to the desk top and run the install .exe, Test Studio is installed on my own machine, currently this part of the process is all manual, is there the ability in Test Studio to record and execute this process?
Cody
Telerik team
 answered on 12 Jun 2012
1 answer
72 views

I'd like to make some suggestions to make the image verification feature better - this is for a WPF test but is likely applicable to webpages.

When the image verification fails, it would be helpful to get better feedback. All I see is that it failed and by what percentage.
I need to know where it failed - what position on the image did it fail at? At least give me an x, y coordinate of the general area of the failure.
I've been getting a lot of failures even for simple tests - and I don't know why. I don't think I should have to adjust the tolerance from the default for these simple tests.

Secondly, when I set up a new image verification, I understand I can either compare the whole image or a sub-selection of the image.
What I want to do is do a whole image verification, but I want to mark off regions that I don't care about. For instance, my image may have a clock in the corner - and something actively moving in another area - in that case I would want to exclude both those regions.

Lastly, I'd like to be able to have the option to have the test runner save an image some place when it's verification fails so I can look at it.

Thank You
Stoich
Telerik team
 answered on 12 Jun 2012
2 answers
63 views
Hi,

I was wondering if it was possible to see the code for an entire test in Test Studio the QA edition? I need the coded script to use for Acceptance tests we are using with Specflow. Is this possible?(I have copied and pasted a test to a new folder and clicked view class that is not the coded steps. Rather a coding template with an example.)
Jean-François VIGNERON
Top achievements
Rank 1
 answered on 08 Jun 2012
20 answers
465 views
I am trying to use a reference to a third-party dll in my project and am not having any luck.

As background, the "third-party" dll is actually something I built but I want to use the dll as a common method library. For example, this dll allows me to authenticate a user for my web application without having to enter username and password on the log in page. I want to reference the dll as if it were a common library.

I am using the Test Studio Visual Studio plug-in, NOT the stand alone version.

I was able to make the reference easy enough and my runs perfectly in my local dev environment. When I move my code to my build (in this case CruiseControl) environment, the referred dll cannot b

e found. The .tstest file is looking for the dll in the project folder with the same directory structure as my local dev environment (e.g. c:\users\...). We put all of our CruiseControl files on an E: drive in the build environment. So the third-party dll location on the build environment is NEVER "c:\users..." but rather "e:\cruisecontrol\automation...".

All of our other projects, by the way, do call other referred perfectly fine.

I have tried a number of steps to get around this issue but need more help. I have tried:
1. Removing the references from the .tstest file. I opened the offending .tstest file in an XML view and removed the "hard-coded" lines from the CurrentReferences section. For example, I removed:
<d2p1:string>C:\Users\David Adams\Documents\Visual Studio 2010\Projects\vergeautomationtools\vergeautomationtools\bin\Debug\vergeautomationtools.dll</d2p1:string>
from
    <d2p1:string>System</d2p1:string>
    <d2p1:string>System.Core</d2p1:string>
    <d2p1:string>ArtOfTest.WebAii, Version=2011.2.1506.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c</d2p1:string>
    <d2p1:string>ArtOfTest.WebAii.Design, Version=2011.2.1506.0, Culture=neutral, PublicKeyToken=4fc62bbc3827ab1d</d2p1:string>
    <d2p1:string>Telerik.WebAii.Controls.Html, Version=2011.2.1506.0, Culture=neutral, PublicKeyToken=528163f3e645de45</d2p1:string>
    <d2p1:string>Telerik.WebAii.Controls.Xaml, Version=2011.2.1506.0, Culture=neutral, PublicKeyToken=528163f3e645de45</d2p1:string>
    <d2p1:string>Telerik.WebAii.Controls.Xaml.Wpf, Version=2011.2.1506.0, Culture=neutral, PublicKeyToken=528163f3e645de45</d2p1:string>
    <d2p1:string>System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</d2p1:string>
  :
  :
  :
    <d2p1:string>C:\Users\David Adams\Documents\Visual Studio 2010\Projects\vergeautomationtools\vergeautomationtools\bin\Debug\vergeautomationtools.dll</d2p1:string>
</CurrentReferences>

I also removed numerous, similar references from Settings.aiis. Settings.aiis appears to keep old versions of references around for whatever reason even after I have explicitly removed the reference to a dll.

Something I have noticed is that Visual Studio (or Telerik or whomever) is adding the bad and old versions of the dll references when editing the .tstest file using the "Run To Here" functionality. I use that feature A LOT and now need to edit the XML every time I use the feature. PLEASE NOTE: THE REFERENCES ARE NOT RE-ADDED EVERY TIME "RUN TO HERE" IS USED MAKING IDENTIFICATION OF THE ISSUE THAT MUCH MORE DIFFICULT.

2. I have added a hard-coded reference in my build environment to this dll. I created the path and file "C:\Users\David Adams\Documents\Visual Studio 2010\Projects\vergeautomationtools\vergeautomationtools\bin\Debug\vergeautomationtools.dll"
on the build server. I have come to find that there are security issues with that and that path still cannot be found when executing my test on the build server.
I find this to be a very weak solution to what should not even be an issue.

3. I have changed the entire structure of my solution to include the dll project and my automation project together and make a project reference. Visual Studio still makes an absolute-path reference to the dll so there is, in essence, no difference than making a regular file reference.

4. I have tried to strongly-name the third-party dll and added it to the GAC. Even when adding from the GAC the directory path that appears in Visual Studio is "c:\users...".  This is another weak solution.

5. I created c:\automationdlls and added my dll to this folder. To avoid the c:\user.. security issue I created c:\automationdlls on both my local dev environment and the cruisecontrol environment. When adding a reference to the dll, the directory path that appears in Visual Studio is "c:\users...". Back to square 1.

Of the hundreds of Telerik customers reading these forums, I have to believe that one of you are referencing third-party dlls and building that code in a cruisecontrol environment that is not running off the c: volume. Can anyone assist on this? 

Cody
Telerik team
 answered on 08 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?