Telerik Forums
Test Studio Forum
7 answers
151 views

Hi there
     I have a project that uses a WPF client to place information in a database, the information is then viewable in the form of reports presented in a browser session. I have a web test that can test the contents of the reports, I also have a WPF tests that tests the importing of the data. The import test is a data driven test that is capable of importing different data with each iteration, the reports test is data independent and can validate the reports regardless of their contents.

My question is how can I get the 2 tests to work together?
Ideally I would like to call the web test as a step of the WPF test, but this doesn’t seem to be allowed in test studio so is there some other way that I can get the same results?

what I want is;
run first iteration of WPF test
run web test
run second iteration of WPF test
run web test
...and so on

Boyan Boev
Telerik team
 answered on 23 Jun 2014
2 answers
55 views
Hi,

[WebTesting]

This is probably a small problem that I'm unable to figure out. 
How can we make one test follow the other?  The "Test List" feature will run the list of tests- but they don't consequently follow-up where the test was left.  
I think it is something to do with- When we stop recording we close the browser to stop it. So, the second test we carry out we have to login again and It would expect the same when running the tests. 

Ofcourse the problem will disappear if we make just 1 test for our entire web-testing. But i wanted to mange the tests properly- making different tests, names.

If it is not clear, then let me know, I will give an example. 

Thank You,
Shiva

Shiva
Top achievements
Rank 1
 answered on 23 Jun 2014
3 answers
56 views
Hi, 

I'm starting this thread to get assist for entire VS integration.
I saw a blog by Steven here [ http://blogs.telerik.com/automated-testing-tools/posts/13-07-19/using-test-studio-s-visual-studio-plug-in ] and noticed that there is Telerik menu on the top of Visual Studio. 

My question is what if when- Test Studio is installed before Visual Studio. And also, Is it possible to integrate Test Studio with Visual Studio 2013 that is installed in amazon web server? if yes then how?

Thank you,
Shiva  


Ivaylo
Telerik team
 answered on 20 Jun 2014
11 answers
257 views
With the new policy from Chrome, if the extensions aren't in Chrome Web Store will be disabled.
So.. I have Telerik Studio Extension (installed from Telerik control panel) and it was disabled.
Can I recover the extension?
Konstantin Petkov
Telerik team
 answered on 20 Jun 2014
5 answers
93 views
Hello,

We have Silverlight supported tool in which we have one Video player and we want to do test on it using test studio.
But We are not able to run video while Test studio is running, even we are not able to click on Play/Pause buttons.

on our website with out test studio this video player is working fine. 
so can any one give us advice how we can test our video player with test studio?

Thank You,
Gunjan  
Boyan Boev
Telerik team
 answered on 19 Jun 2014
5 answers
254 views
Hi
    I m using telerik test studio 2013.2.When I recorded a page in my project there was dropdown which when clicked navigated to a login page.while recording everything works fine it was able to login to the new page but when executed the test fails when it comes to the login page
the log message is :
Overall Result: Fail
------------------------------------------------------------
'6/10/2014 2:30:02 AM' - Using .Net Runtime version: '4.0.30319.18052' for test execution. Build version is '2013.2.1327.0'.
'6/10/2014 2:30:02 AM' - Starting execution....
'6/10/2014 2:30:02 AM' - Detected a Silverlight Test. Setting EnableSilverlight=True
------------------------------------------------------------
------------------------------------------------------------
'6/10/2014 2:30:05 AM' - Enabling Html Popup Tracker. Test expecting Popups.
'6/10/2014 2:30:05 AM' - Using 'InternetExplorer' version '9.0' as default browser. 
'6/10/2014 2:30:31 AM' - 'Pass' : 1. Execute test 'Login in fuelnet with pmartin'

>>> Test-as-Step 'Fuelnet()\Login in fuelnet with pmartin.tstest' log starts:

Overall Result: Pass
------------------------------------------------------------
'6/10/2014 2:30:06 AM' - Enabling Html Popup Tracker. Test expecting Popups.
'6/10/2014 2:30:06 AM' - Using 'InternetExplorer' version '9.0' as default browser. 
'6/10/2014 2:30:07 AM' - 'Pass' : 1. Navigate to : 'https://fuelnetsp.stg.mansfieldoil.com'
'6/10/2014 2:30:08 AM' - 'Pass' : 2. Enter text 'pmartin' in 'UserNameText'
'6/10/2014 2:30:09 AM' - 'Pass' : 3. Keyboard (KeyPress) - Capital (1 times) on 'PasswordPassword'
'6/10/2014 2:30:09 AM' - 'Pass' : 4. Enter text 'FSSA' in 'PasswordPassword'
'6/10/2014 2:30:09 AM' - 'Pass' : 5. Keyboard (KeyPress) - Capital (1 times) on 'PasswordPassword'
'6/10/2014 2:30:09 AM' - 'Pass' : 6. Enter text 'FSSAdmin' in 'PasswordPassword'
'6/10/2014 2:30:31 AM' - 'Pass' : 7. Click 'BtnLoginSubmit'
'6/10/2014 2:30:31 AM' - 'NotRun' : 8. Verify image of 'MansfieldImage'. Allow 1% error tolerance.
------------------------------------------------------------
'6/10/2014 2:30:31 AM' - Overall Result: Pass
'6/10/2014 2:30:31 AM' - Duration: [0 min: 24 sec: 764 msec]
------------------------------------------------------------

<<< Test-as-Step 'Fuelnet()\Login in fuelnet with pmartin.tstest' log ends.

'6/10/2014 2:30:35 AM' - 'Pass' : 2. Click 'SiteConsoleSpan'
'6/10/2014 2:30:55 AM' - 'Pass' : 3. Wait for '20000' msec.
'6/10/2014 2:31:56 AM' - 'Fail' : 4. Enter text 'pmartin' in 'CphMainTxtUserNameText'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=~fitFrameId_29603093,name=Frame_0,src=http://fuelnet.stg.mansfieldoil.com/,UseQuery:False]' timed out. Error: Wait for condition has timed out
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=~fitFrameId_29603093,name=Frame_0,src=http://fuelnet.stg.mansfieldoil.com/,UseQuery:False]' timed out. Error: Wait for condition has timed out
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'6/10/2014 2:31:56 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'6/10/2014 2:31:56 AM' - Overall Result: Fail
'6/10/2014 2:31:56 AM' - Duration: [1 min: 51 sec: 528 msec]
------------------------------------------------------------
'6/10/2014 2:32:00 AM' - Test completed!








Susmita
Top achievements
Rank 1
 answered on 19 Jun 2014
1 answer
48 views
Hello,

I wanted to check whether I can have web-browser test steps and WPF application test-steps in the same test.  

I know that WPF application launched by the web-browser can not be hooked by using TestStudio.  But what if the WPF app is configured to be launched by .exe file.


Boyan Boev
Telerik team
 answered on 18 Jun 2014
3 answers
387 views
Is it possible to verify the URL of the current page?
Ivaylo
Telerik team
 answered on 17 Jun 2014
1 answer
25 views
Hi

What is the best way to do drag and drop on a tree? I did try to record the steps. But, it is not stable - sometimes it can drop to the right node; sometimes it can't.
Anyone can give me sample C# codes on doing that?

Thanks
Boyan Boev
Telerik team
 answered on 17 Jun 2014
3 answers
586 views
Hi Guys

Hopefully someone can clear something up for me.

I am trying to to a simple Assertion to confirm that two strings are the same.

I have a field on a form, I edit the form > enter a value > extract the text as a variable > save the changes
Then on the main form the updated value should be displayed > I used dev tools to get the ID of the field as its a Kentico control > then in code I want to assert that the two values are the same. if they are the same then the test is valid otherwise it should fail.

From my understanding, Assert.AreSame checks if the two objects are the same object and Assert.Equals just checks if the strings or whatever are the same.  Am I right?

See the code below:

Assert.AreSame(town, Find.ById("ctl00_ctl00_cphMain_cphMain_TownLabel").TextContent);

or

Assert.Equals(town, Find.ById("ctl00_ctl00_cphMain_cphMain_TownLabel").TextContent);

Does anyone have any ideas why my Equals assertion passes if it has two different values and if they are the same.

Any help would be much appreciated


Thanks

Michelle
Stephen
Top achievements
Rank 1
 answered on 16 Jun 2014
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?