Telerik Forums
Test Studio Forum
11 answers
80 views

Is it possible when executing a test, when handling the download dialog, the executer can

parameterize the save location of the file?

 

Cody
Telerik team
 answered on 25 Nov 2015
2 answers
48 views
Hi, I have a question about the third password textbox control, how to record the password textbox value I type in it. In Test Studio, I can not record the value I typed in IE or FF, thanks.
Cody
Telerik team
 answered on 25 Nov 2015
1 answer
52 views

Hi, 

I have tried the Automatic Re-run setting which posted in http://www.telerik.com/forums/automatic-re-run-of-failed-tests-from-a-test-list-execution and the setting has worked on All Test List.

But, is it possible to configure the setting to apply on specific test lists?

For example,there are 4 test lists: Test List 1 ,Test List 2 , Test List 3 and Test List 4. Only Test List 2 and Test List 3 apply to Automatic Rerun setting.

Looking forward your reply.

Thanks!

Ivaylo
Telerik team
 answered on 25 Nov 2015
8 answers
157 views

I have recorded a drag & drop step in my test that drags a row from a RadGrid to a specific element on the page. After dragging the row to the element, a popup window is supposed to open that I will close, then the information from the row is displayed attached to the element. When I run the recorded drag & drop step, the popup window never opens. It does appear the row is getting dragged to the correct location. I was able to get the popup window to open if I set the Pause property of this step to After, then run the step. The row gets dragged to the element, the test pauses, and the popup window opens like it should, but then test execution stops while I manually answer the Test Studio pause window before the test continues. Based on this behavior, it seems like my application wants the dragged row to hover over the element for a certain amount of time before it's released (with a LeftMouseUp action) and Test Studio is releasing it immediately after dragging the row to the center of the element.

I looked at the code for the drag & drop step to see if I could drag the row over to the element and hold it there for a moment before releasing it, but that does not appear to be an option. In the code for the drag and drop step, can I replace the DragTo statement with the code to control the mouse so I can insert a wait before the LeftMouseUp action?

I am using Test Studio Product Version 2014.4.1211.0

 Here's the code for my drag & drop step:

        [CodedStep(@"Desktop command: Drag & Drop ContentPlaceHolder1EquipmentUnInstalledListGrdEquipments0TableRow to x19Span")]
        public void _06_Add_BTI_eq_to_Site_A_CodedStep()
        {
            // Desktop command: Drag & Drop ContentPlaceHolder1EquipmentUnInstalledListGrdEquipments0TableRow to x19Span
                  Pages.OrderManagementSystem.ContentPlaceHolder1EquipmentUnInstalledListGrdEquipments0TableRow.Wait.ForExists(30000);
            ActiveBrowser.ResizeContent(1280, 107, 1600, 792);
            ActiveBrowser.ScrollBy(0, 0);
            Pages.OrderManagementSystem.x19Span.Wait.ForExists(30000);
            Pages.OrderManagementSystem.ContentPlaceHolder1EquipmentUnInstalledListGrdEquipments0TableRow.DragTo(ArtOfTest.Common.OffsetReference.TopLeftCorner, 268, 28, true, Pages.OrderManagementSystem.x19Span, ArtOfTest.Common.OffsetReference.AbsoluteCenter, 0, 0, true);
        }

Boyan Boev
Telerik team
 answered on 24 Nov 2015
3 answers
68 views

Hi,

 I have the following scenario to test a web page that requires login and logout at the end. So my idea/hope is to extract the login/logout step and then simply reuse them in several tests.

 The question is how to work with them when creating a new test ? Is there any possibility to add the login step and then say "from here on I like to record my new actions" ? Then stopping the recording and add the logout step ?

 I found the "Step Builder" that allows me to add steps to a test, so this is nice (though I would have hoped that I simply can drag'n'drop them from my project panel !). But how to proceed from there ? E.g. after I added the login step, how to start the recording from that point ? Is this possible at all ?

Thanks

Boyan Boev
Telerik team
 answered on 24 Nov 2015
3 answers
65 views

When I run Telerik.TestStudio.CommandLineClient.exe from the path C:\Program Files (x86)\Telerik\Test Studio\Bin,

either as an administrator or normally it opens but then 2 seconds later it closes.

Any idea on why this is happening?

 

Thanks.

Ivaylo
Telerik team
 answered on 23 Nov 2015
3 answers
72 views

I am running a test in the UI and as I watch the browser, the test steps are executing okay and the UI marks the steps as successful (with the white check in the green circle), but Test Studio seems to think there is some kind of error and after the UI completes, all the steps are marked as not run (with the white dash in the black circle) and the test is marked as failed.

I tried rerecording the test steps and running them again and g​ot the same result, although the logs don't look the same. I've attached the logs from both runs. The first log included the DOM, which I removed. If you need the DOM included, let me know.

Test Studio version: 2015.2.273.0

Browser: IE 11, Version 11.0.9600.17959

Windows 7 Enterprise, Service Pack 1

Ivaylo
Telerik team
 answered on 20 Nov 2015
1 answer
25 views
I would like to ask, is there any way I can record a step of scrolling down/up the scroll slider in a Drop-down box/list? Thanks
Boyan Boev
Telerik team
 answered on 19 Nov 2015
3 answers
165 views
Hi
I am using telerik studio. I can not record event click and drag scroll bar on IE
How do you know. Please help me to find solution
Thanks
Boyan Boev
Telerik team
 answered on 19 Nov 2015
2 answers
42 views

Hi,

This post is regarding automatic ReRun of failed tests in a Test list.

I have followed all the steps provided in another post on same subject:

"http://www.telerik.com/forums/automatic-re-run-of-failed-tests-from-a-test-list-execution#Om_OVoH2eUyBEj6UINlhZg"

But my falied tests doesnot rerun after the test list execution gets completed.

Steps followed :

1) Downloaded the DLL and config file.
2) Pasted the files @ "C:\Program Files\Telerik\Test Studio\Bin".
3) Executed test list containing a test that fails.
4) Executed the list and rerun is not done.
5) Restarted Telerik Test Studio and again executed the same list.
Issue: Still the failing test is not executed again.
Operating System is Windows 7(Service Pack 1, RAM 4 GB, System Type : 32 bit)

Does this solution provided by you guys work only on 64 bit operating system?
Or i am missing something over here?​

Mayank
Top achievements
Rank 1
 answered on 16 Nov 2015
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?