Telerik Forums
Test Studio Forum
1 answer
119 views

Hi,

 

In my project, sometimes there are model and non model dialogs which keeps appearing on specific scenarios.

But the problem is sometimes we observed that, they dont get closed and leads to failure in other steps.

How to check whether any dialog / window is foreground?

I checked below options .None seems to work fine.

Manager.Current.ActiveBrowser.IsIEDialog

Manager.Current.ActiveBrowser.IsFrame

Manager.ActiveBrowser.Window.IsForegroundWindow

 Can anyone shed light to possible solutions.

Thanks,

VVP

Boyan Boev
Telerik team
 answered on 29 Jun 2015
4 answers
120 views

Hi,

I have my system running Windows 8.1 Enterprise and VM having Windows server 2008 R2 Enterprise version

Scripts running in my system getting failed on my vm.

Applicaiton is web based and i dont understand the reason for failure. 

Any one faced these kind of issues which occur due to different OS? if so kindly let me know how to get Telerik logs and how to debug.

Thanks,

VVP

Boyan Boev
Telerik team
 answered on 29 Jun 2015
3 answers
155 views

I'm attempting to execute this example in your documentation:  http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/external-log-file#excel-file

I've included the reference to Microsoft Office Excel DLL.

Although there is a reference to a Text Log example, too, it calls for the inclusion of the ArtOfTest.Common.Design.  However, when I navigate to the referenced directory of "C:\Program Files (x86)\Telerik\Test Studio\Bin", the DLL is not present.

 

I've included a picture of the IDE with the Excel code.

Boyan Boev
Telerik team
 answered on 25 Jun 2015
1 answer
76 views

Hello,

 I should do following task:

 

1. Create order at restaurant.

2. Check email which will be send after finishing order. (order total, tax etc)

I have a problem with checking order total, tax in email. I've got error message: Unable to locate element

I've noticed that form is changed his name:  http://joxi.ru/p27oJJzTRLj427 , http://joxi.ru/DmBx996SOqQxAP

Can you give me some advise ?

And one more question: I can't understand why:

Same test one time is passed, next is failed, then again passed - without any changes.

 

 

Boyan Boev
Telerik team
 answered on 25 Jun 2015
4 answers
234 views

Hi,

 I saw a lot of Manager.ActiveBrowser.Refresh(); in our company test automation framework.

Even after clicking on a link  refresh is being done. Doesn't Telerik automatically refresh browser DOM tree. Is it needed after every single click?

Thanks,

VVP

VVP
Top achievements
Rank 2
 answered on 24 Jun 2015
9 answers
138 views

Hi,

I have the test steps below:

- click button “Add user” - appears new row for adding data

- fill all required fields

- click "Add" link to add new user. http://joxi.ru/GrqyRR3i0B3Drz (http://joxi.ru/5mdQDDwfdlba21  <a href="javascript:Grid1_insertRow();"></a>)

Currently my application under test behavior is after clicking “Add” link, a JavaScript is called to adding the data

In my test script, I used:

Manager.Desktop.Mouse.Click(MouseClickType.LeftClick, Pages.KudzuCallCenter.AddLink.GetRectangle()); http://joxi.ru/bmovllaF1Gp9ry

 But I've got following error:

d:\Telerik\CPK\WebTest.tstest.cs: Line 85: (CS0012) The type 'System.Drawing.Rectangle' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
d:\Telerik\CPK\WebTest.tstest.cs: Line 85: (CS0012) The type 'System.Drawing.Point' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

http://joxi.ru/nAy9yy7uRqpPAZ

 How can I fix this problem?

 

Cody
Telerik team
 answered on 22 Jun 2015
1 answer
84 views
I have been using Telerik Test Studio for a few weeks now, and there are many times when a test case is working at one time, but if I try executing it again, it doesn't work. But if I re-record it and execute, everything works seamlessly.

Could you suggest any way to tackle this situation? Or any guidelines to help me avoid this situation in the future?

Thanks!
Boyan Boev
Telerik team
 answered on 22 Jun 2015
1 answer
158 views

Hi all,

As always, i have a problem. :) I created a test. When I changed the input variable in test, my test fails. I attached images that represent my problem.  Thanks for your helps.

Boyan Boev
Telerik team
 answered on 22 Jun 2015
2 answers
114 views

Hi all,

I have a problem about searching in table. Actually, i need to verify listed items in table contains given input. However, i can not find true element for verification. I added images for you to understand the problem.

Boyan Boev
Telerik team
 answered on 22 Jun 2015
1 answer
94 views

Hi,

 I have bound an excel file and am trying to complete an import with multiple lines on a loop.  The first pass on the import runs fine but the second loop imports the first line all over again instead of dropping to the second line. Is there something specific I need to do to on the bind to tell it which row goes where that I am missing? 

Thanks! Laura

Ivaylo
Telerik team
 answered on 19 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
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?