Telerik Forums
Test Studio Forum
4 answers
152 views
Hi,

I was hoping somebody might have a suggestion on how to do this using Standalone without having to resort to doing code behind:

On our site we have areas where the user can add extra Chosen ( http://harvesthq.github.com/chosen/ ) dropdown elements to choose more items.  Each one of these gets a Unique ID in the following format:

Item_(Item GUID)_ItemIDChzn

There is no way to hard-code the GUID into a test since it is generated each time a dropdown is added, but I'm able to get it to work when there's only a single dropdown using 'startswith' and 'endswith' logic.  Is there any way to, perhaps, store the item ID after it's been selected so I can use it to make sure it isn't clicked again?  Or some other solution?

I'm sure I can work out a solution to this using code-behind but I'd prefer to do it regularly if possible.

Thanks,
Michael
Michael
Top achievements
Rank 1
 answered on 28 Mar 2013
3 answers
236 views
Hey there,

I have one problem. I enter text in a textbox of a form. But this text wont be submitted. So i need to focus the textbox. Then it works. How can i focus that. I tought with a click in the input, but if i execute the test it doesnt executes the click. Only if i start the test with Selected steps, It works.

So can i focus the input like that?

Pages.FundClassCustomViews.ShortIDText.Focus();

But if i code that it answres with a exception. It expects a div and not a input... 

So can you help me?

Thanks and greetings Chris
Boyan Boev
Telerik team
 answered on 28 Mar 2013
2 answers
112 views
Hi,

I'm wondering if there is any workaround to issue a second-browser activity without interfering with the current browser activity.

Describing in real browser terms, basically I want to perform a series of operations with my current browser window, but want to launch a second browser instance and check other urls. For example, my web app has front end and back end, when a user logged in from the front end, I can verify from the back end url that "Authentication OK". The problem is that I can't jump from front end to back end to check it, because the browser will think I've left my front end, and I can't continue on without starting all over again from log in.

It sounds complicated, but all that I want to do now is to change the following customize code

// Navigate to : 'http://google.com/'
ActiveBrowser.NavigateTo("http://google.com", false);


into not using ActiveBrowser, but something else (second-browser).

I hope a workaround is possible.
Please help.

Thanks
Ohsha
Top achievements
Rank 1
 answered on 26 Mar 2013
7 answers
285 views
Hey guys,

I'm having a small issue with dragging and dropping when the window is very small. I run my tests on virtual machines in hyper-v and the remote connect windows are limited in size, which limits the browser size. I'm finding that occasionally when the draggable object is being moved it will hit the edge of the screen (because the drop location is not visible) and then the cursor dragging the object will jump to the top of the screen causing the movement to fail.

I'm not sure how to get test studio to drag and adjust the screen location so the drop location appears properly.

Any suggestions would be greatly appreciated!

Cheers
Jon
Stoich
Telerik team
 answered on 26 Mar 2013
3 answers
340 views
Hi, My test scenario includes checking of few Checkboxes. I want the test to turn on (Check) the listed Checkboxes only if they are unchecked. Because sometimes, the test is unchecking the checkboxes and I don't wan such thing to happen. Can I make it happen in Test. Thanks in advance.
Aswin
Top achievements
Rank 2
 answered on 26 Mar 2013
2 answers
241 views
Can somebody please explain what exactly this code statement from the tutorial does:

    Assert.IsTrue(ActiveBrowser.ContainsText(Data[
"Col1"].ToString()));

I understand Data["Col1"].ToString() - this is the way to access data for the data bound test.

ActiveBrowser.ContainsText - what it actually is? Browser caption text? All texts in all tabs of the active browser? What?

Assert.IsTrue() - what exactly it does? What happens if its parameter is true or false? Is it how Validation logic is presented in the code? But we should be able to branch on validation statement. Can we branch on Assert.IsTrue ?

Thank you!
Konstantin

Cody
Telerik team
 answered on 22 Mar 2013
1 answer
171 views
Just downloaded the trial version and I have a couple of issues.
Can I load test with the trial version by simulating 10 virtual users? If I can how do I do that?
I recorded a test of a asp.net mvc application and it the playback fails on a ajax google like search, I never see the ajax search results come up so the playback is not able to find the element to select.

Can't record tests in FF that I can see and when I play back a test in FF that was recorded in IE it fails to even get as far like the elements are off or different.

I might just have to try another tool.
Rodney
Telerik team
 answered on 21 Mar 2013
2 answers
79 views
I am attempting to create my first test list for Scheduling tests with Test Studio, but when I click the "Add" button, Test Studio hangs, then eventually I see a "Not Responding" in the title bar.

Sometimes, after it hangs for 10 minutes or so, I may  see the Test list window is displayed, but I can't do anything at that point as if I click any where in the box, it hangs again.

My Test Studio set up consists of:
  1. - Test Studio stand alone is running on a WIN7 64 virtual machine
  2. - The Scheduling Server is configured the machine.
  3. - TFS has been connected to Test Studio, but only local test copies will be used when scheduling tests,
  4. - There are 3 other virtual machines that will be uses for Runtime Execution; all have been configured with the Runtime Execution

Any suggestions on why Test Studio is hanging when I am attempting to Create a new Test List?

K
Top achievements
Rank 1
 answered on 21 Mar 2013
2 answers
151 views
Hello,

I would like my company to buy a license of
Test Studio
Test Studio runtime.

Before that we need informations about teamcity and code coverage.
It seems that we can use Test Stuio with teamcity but only if a user is logged.
I would like to know if there is a way, we can retrieve code coverage when running tests on teamcity.

We used to create our WPF test using your tool.

tkank you for your reply.

Ramah
Top achievements
Rank 1
 answered on 21 Mar 2013
5 answers
140 views
Hi,

Just a quick query, I've currently been investigating setting up a Scheduling Server and publishing results to it via the ArtOfTest.Runner.exe commandline.
I was wondering with the information that is published to this database, is it intended that these tables could be reported over using SQL Reporting (e.g. SSRS) or are they primarily just for Test Studio's use?

I saw there was a help page around reporting over the load testing database, so that got me thinking that maybe we could report over the execution test results database as well :)

Thanks!
Boyan Boev
Telerik team
 answered on 21 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?