Telerik Forums
Test Studio Forum
2 answers
97 views
Hello all,


I'm new to using Test Studio for automation testing, so I apologize if this ends up being a basic question.

I have a Silverlight pop-up window that I'm trying to automate and I've able to use Test Studio to record all of the steps. However, when I run the test it fails to click on a check-box like it's supposed to. That step is simply "Click 'ObjectTag'" and the code behind simply looks like this:

/// <summary>
            /// Find logic
            /// (Html): [id 'Exact' silverlightControlHost][tagIndex 'Exact' object:0]
            ///
            /// </summary>
            public ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl ObjectTag
            {
                get
                {
                    return Get<ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl>("id=silverlightControlHost", "|", "tagIndex=object:0");
                }
            }


I attempted to write some code to select the check-box, but because of it being a Silverlight page I've been unable to do so.

I also have a very hard time with Test Studio and the Silverlight pop-up window. I haven't been able to get the hover feature to work in the Silverlight window the way that it does on a normal page, so I can't get it to single out the checkbox at all. I'm guessing that is why I'm just getting the "Click 'ObjectTag'" for that step.

Any recommendations? I'm using Visual Studio 2010 and Internet Explorer 8.
Anthony
Telerik team
 answered on 14 Jun 2012
1 answer
233 views
We created a project and test on a local machine.
In that project we added in the settings menue/script options some references.
Then put it in a SVN Version Control.
We checked it out on another pc and opened in Telerik Test Studio.
What we get was that the project and test can be opened, but the references are not there.
We have to add it again to the project.

We want to work with more than one pc on that projects, so cannot add the reference each time, but all files are commited to the SVN.
I am wondering where the reference information are stored, so that we can share them, too.

Can you tell me, if there is a config file or how it is stored?

Thanks
Adriane
Plamen
Telerik team
 answered on 14 Jun 2012
1 answer
1.4K+ views
I need to copy the content of a webpage and save it as an XML. I noticed that the webpage is displaying a xml file and when i click on view source, i still see an xml file but when i am using a coded step on TestStudio to get the source "ActiveBrowser.ViewSourceString.ToString", i am getting HTML code as output.
      So i need to just copy the content of the web page directly and save it as an XML.

Thank you,
Nithin
Anthony
Telerik team
 answered on 14 Jun 2012
10 answers
388 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
85 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
104 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
133 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
106 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
83 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
103 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
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?