Telerik Forums
Test Studio Forum
4 answers
52 views
The latest version of chrome is 29. How is the tool support for the current and future versions of chrome?
Will there be any patches released for chrome updates?
Deepa
Top achievements
Rank 1
 answered on 05 Sep 2013
3 answers
201 views
I have been face this problem since quite a while, let me give you an example suppose i want to login to facebook so I enter the URL and enter text "G" in username field, my user name will appear from browser cookies and i click on it and it automatically feed on the username field. But i unable to record that value on Telerik.
Can somebody help me on this.

Please refer to the attached screenshot
Ivaylo
Telerik team
 answered on 05 Sep 2013
5 answers
177 views
Hi,

I am trying to create an object for dynamically generated HtmlInputText and HtmlButton using HTML find expression by providing the following properties of the element - id, Tagname, name and Xpath, but the element is not getting identified, getting element not found error.

- The text and button object that needs to be identified is available in one of the Cell in Table (Rows in the table gets dynamically added based on user input).

Please provide the solution for identifying these dynamic objects using Telerik asap.

Thanks,
Vijula
Vijula
Top achievements
Rank 1
 answered on 05 Sep 2013
3 answers
123 views
Dear all,

I'm currently having a couple of questions with using custom code-behind code and the related process in getting it to run with MSTest.

First of all: having a normal Test Studio project, purely created with the built-in features, I can commit it to Git, and run it on TeamCity by doing mstest /testcontainer:.\foobar.tstest

But, as soon as we have custom code-behind we run into the following issues:

You need to export from Test Studio to Visual Studio. This is a one way, one time operation, meaning changes in folder structure and adding new tests are not reflected in the csproj. Worse, we cannot export again since the Studio tells me: hey, the csproj is already there. <full stop>. I need to go on disk, delete the csproj and regenerate it through Test Studio.

Second: when we change the folder structure inside an exported csproj, for example:

<root>
- foo.tstest
- bar.tstest
- baz.tstest



Say foo.tstest is a 'shared' test, thus we want to put it into a folder, we create a new folder and move the foo.tstest there:

<root>
- Shared
   - foo.tstest
- bar.tstest
- baz.tstest

This causes the project to fail at runtime when we run bar.tstest or baz.tstest since their internal reference to foo.tstest doesn't get updated. Only way to mitigate this is opening each test in Visual Studio and saving it again, or opening the project in Test Studio and then closing it again (which seems to detect the movement).

Both of these things are quite cumbersome if we want to use MSTest to run our tests.

Am I not using the correct options to mitigate this problems?

Thanks,

-Kristof
Cody
Telerik team
 answered on 04 Sep 2013
4 answers
192 views
Hello,

I'm trying to automate the testing for a Silverlight application but I'm a bit stuck.
There's a DataGrid that needs a new entry. 

First, I press a button which adds a new row to the DataGrid.
Then I try to locate the first new cell in this row and enter a value but it doesn't always find this new cell.

Any idea on how to fix this or to approach this from a different angle?

Kind regards,
Kristof.
Cody
Telerik team
 answered on 04 Sep 2013
1 answer
100 views
Hi,
I wanted to know if there is any way to handle browser horizontal scroll bars with test studio. In the scroll element verification I can see only Page top and bottom options. When recording the scroll, test studio adds a step something like this "Drag AnimatedCommonInnerBorderBorder to application at (1892, 971) from TopLeftCorner" which could be sensitive to different browser size, resolution etc.
What's the best way to handle this in Silverlight applications?

Thanks,
Mamata Nayak
Cody
Telerik team
 answered on 03 Sep 2013
9 answers
354 views
Hello Telerik team,
Is is possible to call the external Excel sheet which is already bind to the test in coded step??
I have to write the result Pass/Fail in currently selected row in Excel sheet based on some condition.
Steps that i performed:
1. Added excel sheet then Bind that excel sheet to the test using Data Bind option.
2. Bind the excel sheet column to the steps using Binding Property.
3. Based on the excel column, Data is inserted in that column.
4. Now, Based on the some condition, i have to write the result Pass/Fail in that same excel for that row.
   For that i have created the coded step, in which i am checking the condition and based on the Condition Pass/Fail should be write for same row.But i am not getting the currently selected rowindex from excel.

I am again trying to open the same open, so i didn't get the row number which is binded in the steps.
So is it any another way to perform this???
Please find the attached file for your ref.

Thanks,
Priyanka
Cody
Telerik team
 answered on 03 Sep 2013
1 answer
95 views
Hi Support Team,

I am using WebAii testing framework(V 2012.2.1420.0), Using Visual studio test explorer to run my automated test cases.
Followed below steps to run the test cases in RUN mode:

1) In local.testsettings file > Test Timeouts tab > set 2mins for indivisual test execution field and unselect checkbox for total execution time field

2) Created a test list of say 5 test cases in VS2012

3) First test will abort after 2 minutes. (as it reached time out)

5) Second test will start notice that the browser hangs and user can't logon and test aborts after two minutes

6) Step 5 is repeats for all test cases

Plase assist me on this. why browser is hanging from second test cases execution?

Using IE9(v 9.0.8112.16421)

Thanks,
Hari


Velin Koychev
Telerik team
 answered on 02 Sep 2013
1 answer
523 views
Hi Telerik team,

I want to write the data in particular worksheet in excel.
I am using following code in test script.

string myPath = @"C:\Users\priyanka.kadam\Desktop\Automation_excel\Data_Driven_Test.xlsx";
Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application();
Microsoft.Office.Interop.Excel.Workbook workbook = excelApp.Workbooks.Open(mypath);

Data_Driven_Test.xlsx is excel in which i have data in Patient_Select, SSN_Duplicate and MRN_Duplicate worksheets.
I want to write the data in SSN_Duplicate. For that i am using following path and then pass that string to open excel
string myPath = @"C:\Users\priyanka.kadam\Desktop\Automation_excel\Data_Driven_Test.xlsx[SSN_Duplicate]]"

Getting following error.

'8/29/2013 11:51:22 AM' - 'Fail' : 9. [SSN_Duplicate_CodedStep] : New Coded Step
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[SSN_Duplicate_CodedStep] : New Coded Step'.
InnerException:
System.Runtime.InteropServices.COMException (0x800A03EC): 'C:\Users\priyanka.kadam\Desktop\Automation_excel\Data_Driven_Test.xlsx[SSN_Duplicate].xlsx' could not be found. Check the spelling of the file name, and verify that the file location is correct.

So tell me, how can i pass the particular worksheet name in file path.
Velin Koychev
Telerik team
 answered on 02 Sep 2013
1 answer
67 views

We have the Telerik trial version downloaded ..Version 2013.1.806.0

Our application mainly intended to work with the Chrome browser...Right now works only with Chrome.
When I tried recording on the Chrome, no steps are recorded. I used the navigation bar to navigate to the page and then made some actions on the page. The script was not added for any action.

Things which were recorded were,
the navigation to the page and
and when i inserted the Verification point (like ...Verify object exist), that is added to the script. But none of the actions on the page were recorded.

I verified the chrome browser setting as per the Telerik doc. Do I miss any configuration or steps?

Your help is appreciated!
Boyan Boev
Telerik team
 answered on 02 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?