Telerik Forums
Test Studio Forum
3 answers
89 views
hello all
we are developing add-ons to different application in Windows environment. mainly Office, Windows Explorer and Acrobat Reader.
Can we use Test Studio to test the above app with our add-ins
Thank you for your time
michael
Boyan Boev
Telerik team
 answered on 09 Jun 2016
2 answers
111 views

Hi,

I was trying to schedule some performance tests, and they got stuck right after the navigation step.

When I ran the tests with chrome manually, it produces the NET::ERR_CERT_AUTHORITY_INVALID error.

I have attached a screenshot for where it gets stuck.

 

Is there a way to make performance tests run automatically?

Or do they have to be run with human intervention to click "advance" and "proceed" on that page?

 

Thanks,

Jack

Boyan Boev
Telerik team
 answered on 09 Jun 2016
6 answers
257 views
I am testing an application where users have to enter unique names for entities they create. How can I generate text inputs using timestamps or GUIDs or some other random element to ensure that every automated test creates a new entity with a unique name.

I have tried binding my tests to a spreadsheet using simple formulas (concatenate predefined text with timestamp). However, these formulas do not seem to get updated when the test is executed and the spreadsheet is read.
Ivaylo
Telerik team
 answered on 09 Jun 2016
1 answer
72 views

We are using Telerik Studio for IOS App automation.

While doing the same we are facing below issue:
1. Script was recorded for "Add task" functionality. When it was played again then it failed because index of few elements changed automatically. So elements we not identified and clicked so script failed. This happened many times.

2. Options like Xpath/Id/labels/Tag names etc are not present except only Tags and index (that also changes automatically) while recording the elements.Is there any other way out? Is there any unique identifier for controls?

Can some one look into the matter and help.

Elena
Telerik team
 answered on 08 Jun 2016
1 answer
84 views

I am trying to record alerts dialog displayed in one of my android application. All the operations which I perform are recording and all elements are getting displayed in Telerik except alerts.
Is there any solution for capturing dialog boxes/popups.

Environment :
Running application on Samsung S4 (Android Version 5.0.1)
Telerik on Windows 8.1 Pro

Abhinav
9888802218

Elena
Telerik team
 answered on 08 Jun 2016
3 answers
124 views

I setup my tests on my local machine and bound them to several Excel files/sheets.  I moved all the tests to a remote machine for execution.  When opening the tests on the remote machine, none of the tests are bound to data anymore.  I even created a new test and attempted to bind it to data.

The Select Data Source dropdown shows all 4 of my test data files, but any of them I select, the Select Table dropdown doesn't show any values.

I installed MS office 2016, same result, uninstalled Test Studio, re-installed, same result.

Please advise how I can fix my data bound test?

 

Gavin

Boyan Boev
Telerik team
 answered on 07 Jun 2016
11 answers
281 views
Hi
  I think it be sweet if we could use wildcards,  regex,  or some equivalent
when  distinguishing between web pages in in the elements explore, in properties of page element*. The reasoning is fairly obvious:
with queries having some dynamic parts that are not essential  and other parts  that are essential for distinguishing pages between variation of web pages. if the dynamic part are at the end I can truncate them and that seems to work but if they are in the middle then what.

I see this has been reported before - but I have been able to find an enhancement request besides a cryptic 
http://www.telerik.com/support/pits.aspx#/public/test-studio/6440
that was referenced in forum post titled "handling dynamic urls in popups"   http://bit.ly/10Ha2oP

Does anybody know if  this has been addressed somehow?
IF not is it a feasible enhancement?

 I am new to the product so I apologize for not knowing what I don't know     :-)
Thanks
  * http://bit.ly/10H7PtC user guide section: element compare mode    

related link - code solution
http://bit.ly/Z2IQ3L   wait for url  - can we use regular expressions

Ivaylo
Telerik team
 answered on 07 Jun 2016
1 answer
62 views

I am working on issue where the user copies text from Microsoft Word to this Telerik Textbox and the format gets messed up. Only happens in the IE browser. Anyone else run into the same issue? 

Thanks, 

Nia 

Elena
Telerik team
 answered on 07 Jun 2016
7 answers
124 views
Hello,

I am trying to aumate UI tests to mu Silverlight App.

I'll need to setup my Oracle database before I run some tests. And cleanup my database after I run the test.
I have a C# sample code that does this operation but the compilation is not correct.

I created a script step and I copy this code there as: 

[CodedStep(@"New Coded Step")]
        public void connectDB_CodedStep()
        {
            string connectionString = "User Id=myusername;Password=mypassword;Data Source=(DESCRIPTION=" +
                                        "(ADDRESS=(PROTOCOL=myprotocol)(HOST=myhost)(PORT=myport))" +
                                        "(CONNECT_DATA=(SID=mysid)));";
            
            using (OracleConnection connection = new OracleConnection())
            {
                connection.ConnectionString = connectionString;
                connection.Open();
                Console.WriteLine("State: {0}", connection.State);
                Console.WriteLine("ConnectionString: {0}",
                                  connection.ConnectionString);


                OracleCommand command = connection.CreateCommand();
                OracleCommand command1 = connection.CreateCommand();
                string sql = "CREATE TABLE TABLE_NAME (First_Name char(50))";
                command.CommandText = sql;
                


                OracleDataReader reader = (command).ExecuteReader(); 
                while (reader.Read())
                {
                    string myField = (string)reader["MYFIELD"];
                    Console.WriteLine(myField);
                }
            }
        } 

I know that this code is correct because I've already tried on a Visual Studio project.
My doubt is where I need to copy this sample to create my new table and delete it after the test.

Can you help me?

Thank you.

Best regards,
Marie
Elena
Telerik team
 answered on 06 Jun 2016
3 answers
299 views

Hi

I am struggling to access Kendo Date Picker from a code step in Test Studio.

KendoCalendar calendar = ActiveBrowser.Find.ById<KendoCalendar>("expiryDate");

I want to set the date from the code step ( I am iterating over a predefined expiry values) 

but I always get NULL and nothing is returned.. any idea why ? Test Studio version 2016 (downloaded it last week)

 

My jsp has the following:

...

..
    <input type="text" id="expiryDate"     style="width:180px;"
        serializedDate="${message.getExpiryDate().getTime()}"  
        name="expiryDate"   
        required 
        data-expiryDateInPast-msg="<s:message code='admin.managemessage.validation.expiryDate.inpast'/>"
               validationMessage="<s:message code='admin.managemessage.validation.expiryDate.empty'/>" 
        />

...

...

$("#expiryDate").kendoDatePicker({
                                  
        }).on('keydown',function(evt){
               if(evt.keyCode == 9) {
                    return true;
               }
               return false;
        }).on("paste",function(e) {
              e.preventDefault();
        });

...

...

Ivaylo
Telerik team
 answered on 03 Jun 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?