Telerik Forums
Test Studio Forum
3 answers
193 views
I cannot seem to figure out how to hold CTRL and select multiple RadGridView cells to select multiple rows at once.

When I attempt to record the actions, each time I hold CTRL and click a row, the recorder opens the record rather than just selects it.

When I attempt to use the following snippets of code to select a cell in row 1 and 2, the first selection is not retained:

RadGridView grid = Pages.Test.SilverlightApp.TestRadGridView;

grid.Rows[0].Cells[0].User.Click(MouseClickType.LeftClick, 1, 1, ArtOfTest.Common.OffsetReference.TopLeftCorner, ArtOfTest.Common.ActionPointUnitType.Percentage, ((System.Windows.Forms.Keys)(131072)));
grid.Rows[1].Cells[0].User.Click(MouseClickType.LeftClick, 1, 1, ArtOfTest.Common.OffsetReference.TopLeftCorner, ArtOfTest.Common.ActionPointUnitType.Percentage, ((System.Windows.Forms.Keys)(131072)));

How can I hold CTRL and select more than 1 RadGridView item, and retain each item(s) selected previously?

Thanks,
Nick
Ivaylo
Telerik team
 answered on 04 Dec 2014
1 answer
133 views
I recorded a test in Chrome that involves clicking on a button to upload a file and it runs without failures in Internet Explorer. In Chrome the test hangs when trying to press the button. The test records that clicking the button was successful but no dialog opens. If I manually click on the button during the test, the test completes the remaining steps (inputting a path and clicking Open) successfully. I'm using the latest version of Test Studio and Chrome. Any ideas how I could fix this issue?
Boyan Boev
Telerik team
 answered on 03 Dec 2014
3 answers
85 views
Hi,
is it possible to use this tool for UI testing on Sharepoint 2010?

Can you provide me with some additional documentation/examples/resources about that?

Best regards,
Marko
Cody
Telerik team
 answered on 02 Dec 2014
1 answer
78 views
Following is my logic. 
I have 2 excel. 1 is master excel with Y/N and 2nd is with data.

So as per my script. First script opens up the master excel and reads the value "Y/N"

If the value is "Y" it should execute certain scripts and move on to next row till end of row with values "Y/N"

So as of now i have read the value from excel through coded step. and i have the value in a variable in Coded step.

Now i want to use the value "Y" in my script inside If logic. I dont no how to use that. Can someone please help on this?

My script currently looks like this. attached.
Boyan Boev
Telerik team
 answered on 01 Dec 2014
1 answer
114 views
When I try to connect to TFS, it freezes and I get the "has stopped working" pop up and forced to close program.

I get the same problem when trying to import projects, except it gets about 47 out of 49 transferred before crashing.

When looking it up in eventviewer it showed it was ntdll.dll.
Anyone else having these issues? I tried searching forum beforehand and couldn't find anything that seemed to be the same issue.

Connected to VisualStudio, have restarted computer, uninstalled and re installed, and have updated everything. 
Ivaylo
Telerik team
 answered on 26 Nov 2014
1 answer
105 views
Hello,

I write tests in Test Studio mostly using the coded steps, but I need to handle Open/Save dialogs in my WPF Application.  I was trying to use Telerik's build in dialog test step "Handle 'OpenFile' dialog" and this appeared to be working, but after typing in the file name and clicking Open, the application seemed to freeze.  I manually aborted the test and decided to try writing this in code instead.  I'd prefer to do this in code so I can define a variable for the filepath.

I noticed that the ArtOfTest.WebAii.Win32.Dialogs namespace does NOT have an OpenFileDialog class listed as an option!  I am running the latest Test Studio, 2014.3.903.0.  I noticed many other Dialog classes seem available such as GenericDialog and FileUploadDialog, but the OpenFileDialog and SaveFileDialog classes are missing.  Any thoughts or suggestions?

Thanks,
Danielle
Cody
Telerik team
 answered on 25 Nov 2014
1 answer
121 views
I am trying to implement wait on a simple assertion and have set the "WaitonElementsTimeOut" to 30 second , attached is the image. But the assertion does not wait for 30 seconds and just moves ahead.

I know i am doing something utterly stupid please help.
Cody
Telerik team
 answered on 25 Nov 2014
3 answers
98 views
In my test I land on a page with a RoundContainer. When the test loads the page, the container can be either in an expanded or a collapsed state. The container uses an image to toggle the state of the container. If it's in an expanded state, it will have an image element where the src=minus.gif. If it's in a collapsed state, it will have an image element where the src=plus.gif.

What I need the test to do is, if the container is collapsed when the page is loaded then expand the container by clicking on the image element (plus.gif). The problem is, if I target that element (plus.gif) and the test runs where the page loads the container in an expanded state, then the test will fail because it can't find the image element where src=plus.gif.


What are my possible solutions?
Cody
Telerik team
 answered on 24 Nov 2014
3 answers
62 views
Hi guys,

I am having a small issue right now with the recording process.
I need to click on a "create" button to create an account and the step is
not being recoded in IE. When I click on it the account will be created but
there is no step added to the test for clicking on the button.

In Firefox and Chrome it does record the step for clicking the button but
the toolbar is preventijng me from doing so at the moment.

I tried using the Quick task menu to verify or use something in there to
make it work but am getting an error.
See screenshot

Any help would be very much appreciated.

Regards,
Ivaylo
Telerik team
 answered on 21 Nov 2014
3 answers
42 views
Hi guys,

Is there anyway to autohide the toolbar or move it to the side/top??
There are a few buttons at the end of a page I need to click on, but for Chrome and Firefox
I can't get to them because the toolbar is in front of it and can't scroll down anymore.
Since IE has the recording toolbar at the top I am able to get to the button but it gives an error.
will post another thread with that issue.

Any suggestions or ideas?

Very much appreciate the help
Ivaylo
Telerik team
 answered on 21 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?