Telerik Forums
Test Studio Forum
3 answers
110 views
Hello, I am trying to create some tests on the Grid Inline editing feature from Kendo UI default controls examples provided by Telerik, and I cannot seem to succeed in doing so.

I am using the examples provided with the Telerik Kendo UI controls, Grid - Inline editing.

What I am trying to do is record a simple test which consists of the following step:
        1. open Grid - Inline editing
        2. click "Edit" button on first row (Product Name = Chai)
        3. change product name from "Chai" to "Black Coffee"
        4. increase unit price from 18 to 20
        5. increase Units in stock from 39 to 40
        6. check checkbox in "Discontinued" column
        7. click "Update" button

The problems appear right after I click the "Edit" button. I don't even know if it is clicked on, when playing back the test I can see that the product name is changed, but I get errors when trying to change all the other columns (increase/decrease quantities using provided buttons) and also when clicking the "Update" button. When I check why the steps failed, the screen shot at the time of failure does not contain anything, it is basically blank.

Could you please help me with this problem and maybe tell me what steps are needed in order to be able to record the inline editing operations properly?
Boyan Boev
Telerik team
 answered on 29 Mar 2013
4 answers
116 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
173 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
67 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
197 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
275 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
181 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
132 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
40 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
111 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
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?