Telerik Forums
Test Studio Forum
4 answers
122 views
Hi, I'm creating a test Scenario (Silverlight based website) as follows:

There will be several elements listed in a page like below:

Apple
Orange
Banana

Each one of them will have ElementID as usual. My test has to click the first Element, i.e, Apple and have to perform some operations. After those operations that element will go away. Now Orange will be the first element. Then the test steps have to be repeated. After Orange has gone, same for Banana.

In other words, I want to Data Drive "Target Element" in the Step. I have a list of target elements that has to be executed one by one.

So please tell me how to data drive this scenario. Thanks !

Aswin
Top achievements
Rank 2
 answered on 06 Mar 2013
1 answer
195 views
Hi

I am evaluating Test Studio trial version for functional testing of one of my application using Telerik's rad controls. Application also supports keyboard events like Tab, Arrow Keys and Enter events. But when I use Test studio for recording of application and uses keyboard events then test studio records some events which have not been actually fired from the keyboard e.g.

While recording user performs following actions after login:-

  1. Alt + 1 is pressed for focus over Left Menu
  2. Tab is pressed, focus is moved to Menu1
  3. Tab is pressed, focus is moved to Menu2
  4. Tab is pressed, focus is moved to Menu3
  5. Tab is pressed, focus is moved to Menu4
  6. Tab is pressed, focus is moved to Menu5
  7. Right Key is pressed on Menu5, Focus is moved to Child-Menu5.1 of Menu5
  8. Tab is pressed, focus is moved to Child-Menu5.2
  9. Right key is pressed on Child-Menu5.2, focus is moved to Child-Child-Menu5.1.1
  10. Tab is pressed, focus is moved to Child-Child-Menu5.1.2
  11. Enter is pressed on Child-Child-Menu5.1.2 and page is displayed

Test Studio Records the same in the following manner:-

  1. Key Press - 1 times on "Accesskey1Text" and focus is set to Left Menu
  2. Tab - 1 times on Menu1
  3. Tab - 1 times on Menu2
  4. Tab - 1 times on Menu3
  5. Tab - 1 times on Menu4
  6. Tab - 1 times on Menu5
  7. Right - 1 times on Child-Menu5.1
..................

Thus, when user playback the same script
Test studio presses tab on Menu5 and bypasses the same menu and moved to Menu6, while it should press "Right key" on Menu5 instead of "Tab Key".
So, test studio should record the script with following action, as I also have to change all the scripts manually for such action.

  1. Key Press - 1 times on "Accesskey1Text" and focus is set to Left Menu
  2. Tab - 1 times on Menu1
  3. Tab - 1 times on Menu2
  4. Tab - 1 times on Menu3
  5. Tab - 1 times on Menu4
  6. Right - 1 times on Menu5
  7. Tab - 1 times on Child-Menu5.1

Please let me know if I am doing anything wrong or this is an issue with test studio.

Thanks & Regards,
Arvind Dhiman
Stoich
Telerik team
 answered on 05 Mar 2013
1 answer
93 views
Hi, 

I am new to Telerik and would like to know if it is possible to somehow create a set of test data and have Telerik read it in when testing. 

The problem i'm having is that I have created a test with a step that inserts a number into a textbox field. This number is then added. The next time the test plays back, it fails with a message saying that number is already added, meaning i have to hardcode a number into the test test step.

So would it be possible to have a list of numbers stored and have Telerik randomly insert a number from the list to ensure that the number is not inserted twice. 
Plamen
Telerik team
 answered on 05 Mar 2013
8 answers
245 views
Hello, I am trying to record a test on Kendo UI web controls (the examples) using Telerik Test Studio. Everything seems to work fine, except when I try to record actions on menus. Whenever I record a test and I click a menu item, on playback the step fails and gives the error:

Unable to locate element.

Details: Attempting to find [Html] element using Find logic (Html): [id 'Exact' menu_mn_active] AND [tagname 'Exact' li]
Unable to locate element. Search failed!

Element was found by backup search only! We recommend editing the element to correct the primary find expression. Backup search: 'xpath=/html[1]/body[1]/div[1]/div[1]/ul[1]/li[1]'
 
Can you please tell me why this occurs and maybe how I can fix it?

Plamen
Telerik team
 answered on 04 Mar 2013
1 answer
157 views

Hi
I have a test, that pass without any failes when I run it in Test studio. Same test gets failed when I run it in run-time.
This is error mess:
Step Exception:

Element was not found. Criteria: Element Exists. Page being searched
 
Page (...nteractive.com/en-US/home.aspx). Unable to locate element. Details: Attempting
 
to nd Html element using Find logic (Html): HtmlPath Contains /bodyid=ctl00PageBody/formid=aspnetAND TextContent Exact ADMIN
 
Unable to locate element. Search failed!

I use "Edit in live" option for that element in Test Studio, locating element and validation is possitive. Could you tell me why in run-time that element couldn't be found? and how to resolve it.
login and password for test user also I attached zip file

Boyan Boev
Telerik team
 answered on 01 Mar 2013
5 answers
205 views
I am new to Test Studio and have a problem when recording Auto-complete fields.
I input 3 characters which activates a search list:
I clcik on the name, this is added to the field
I click "ADD" button
 Name is not added to the screen
Test Fails  
Plamen
Telerik team
 answered on 01 Mar 2013
1 answer
187 views
Hi

Can anyone please let me know that we can use Test Studio for testing of the web-services or not. My requirement is as follows:-

User fills a form and submit the same and on submission of the same, a call is placed to web-service based on the values of certain parameters as filled by user and processing done on the same on the basis of the code written. A third party receives the call and sends back the parameters which are then received by the application for further processing of the data as submitted by user.

Please let me know that such kind of behavior can be tested using Test Studio or not. There is not browser interface of these web-services. Also, please tell if there is browser interface of any web-service than those can be tested using Test Studio or not as we have some web-services that are rendered in browser interface.


Thanks & Regards,
Arvind Dhiman
Boyan Boev
Telerik team
 answered on 01 Mar 2013
3 answers
140 views
I'm familiar with the concept of a TestDeploymentDirectory which Visual Stuido uses when running a unit test or test list. 

Studio creates a structure like:
Test Results\
    User_Machine\
        \In
        \Out

All files needed to execute the test are copied to the Out folder, ie "Deployment Items"  Any screenshots, logs, etc generated by the test can be stored in the In folder for later analysis.  This structure makes solid logical sense to have a "folder per execution" to isolate the collateral and results.

Test Studio on the other hand doesn't seem to have this type of structure..  Logs goto c:\WebAiiLog and I see no "result" folder for a specific test list execution.  I would like to add code to my tests to output screenshots from my tests and it would be nice to somehow associate them with a test list execution.  Not just a bunch of files in c:\WebAiiLog

Is there any built in mechanism or best practice for this?
Plamen
Telerik team
 answered on 01 Mar 2013
1 answer
126 views
Hi,

I'm new to Test Studio. I'm wondering that is there any detailed tutorial or documentation on how to use Test Studio for Cross Browser Capability testing. 

Thank you.
Rodney
Telerik team
 answered on 28 Feb 2013
0 answers
126 views
nvm, I got it.
ZOMG ITS ALEX
Top achievements
Rank 1
 asked on 28 Feb 2013
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?