Telerik Forums
Test Studio Forum
1 answer
56 views
I'm evaluating Test Studio as a potential automation and load tool as we build out our Quality Engineering team.  My first simple login test runs successfully on IE, Chrome, Safari and Firefox.  Although the test results state success in FireFox, in actuality it simply loads the login page, cycles through the actions without actually completing them, closes the window and prints the successful run log (see below, with sensitive data replaced).

I wrote the test with element validations as this was the best way to get it working in both IE, Chrome and Safari.  When run in debugger mode with annotations it appears that FireFox places the elements in a different location than the others.

Any help would be greatly appreciated.  We need these tests to run on all browsers if at all possible.

Overall Result: Pass
------------------------------------------------------------
'5/7/2014 11:31:11 AM' - Executing test: 'Keylight Login 2', path: 'Test Modules\Keylight Login 2.tstest.'
'5/7/2014 11:31:11 AM' - Using .Net Runtime version: '4.0.30319.18444' for test execution. Build version is '2014.1.410.0'.
'5/7/2014 11:31:11 AM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'5/7/2014 11:31:13 AM' - Using 'FireFox' version '28.0' as default browser. 
'5/7/2014 11:31:14 AM' - 'Pass' : 1. Navigate to : 'EXAMPLE URL'
'5/7/2014 11:31:15 AM' - 'Pass' : 2. Verify element 'BodyContentBodyContentUsernameWrapperSpan' 'is' visible.
'5/7/2014 11:31:15 AM' - 'Pass' : 3. Desktop command: LeftClick on BodyContentBodyContentUsernameText
'5/7/2014 11:31:19 AM' - 'Pass' : 4. RadInput('ctl00_ctl00_BodyContent_BodyContent_Username_wrapper'): value 'EXAMPLE USERNAME' entered.
'5/7/2014 11:31:20 AM' - 'Pass' : 5. Verify element 'BodyContentBodyContentPasswordPassword' 'is' visible.
'5/7/2014 11:31:21 AM' - 'Pass' : 6. Desktop command: LeftClick on BodyContentBodyContentPasswordPassword
'5/7/2014 11:31:22 AM' - 'Pass' : 7. RadInput('ctl00_ctl00_BodyContent_BodyContent_Password_wrapper'): value 'EXAMPLE PASSWORD' entered.
'5/7/2014 11:31:23 AM' - 'Pass' : 8. Verify element 'BodyContentBodyContentLoginButtonInputSubmit' 'is' visible.
'5/7/2014 11:31:24 AM' - 'Pass' : 9. Desktop command: LeftClick on BodyContentBodyContentLoginButtonInputSubmit
'5/7/2014 11:31:27 AM' - 'Pass' : 10. Wait for '3000' msec.
------------------------------------------------------------
'5/7/2014 11:31:27 AM' - Overall Result: Pass
'5/7/2014 11:31:27 AM' - Duration: [0 min: 13 sec: 830 msec]
------------------------------------------------------------
'5/7/2014 11:31:30 AM' - Test completed!



Boyan Boev
Telerik team
 answered on 08 May 2014
1 answer
55 views
Hello,

I am evaluating Test studio for our application which is partly web-based and partly desktop-based(WCF control).

The initial login is via web and the desktop based part is launched via the web interface. The other option to launch the desktop app is via command line.

I tried to launch the desktop part by configuring to run the exe, but that is not possible since some values are passed while invoking the desktop part (via web or command line).

I wanted to know whether this is possible in Test-studio.
Ivaylo
Telerik team
 answered on 08 May 2014
1 answer
80 views
My question is about nested data-driven tests. I have a testing scenario that involves using a data set that iterates a test where each iteration will have different sets of data to iterate through in turn.  I’ve gotten the tests to run, but with some unexpected behavior.  The middle test will run more iterations than there are entries in the data, and only the first set of data is used (repeatedly) in the inner test.  Is there some way to do this that I’m missing?  Would I be able to accomplish this using if…else in the inner test?  Thanks.

See attached doc for details.


Boyan Boev
Telerik team
 answered on 08 May 2014
2 answers
37 views
Hi,

***I am looking for a log (if it exists) that is created when my project is upgraded from an older version of Test Studio to a new one***

I just performed a test upgrade from Test Studio 2012.2.1420.0 to 2013.2.1327.0.  When I double click on a test the prompt to upgrade my project is displayed.  I click OK and Test Studio begins converting my project.  Once it is done, it opens up the test and that's it.  Unfortunately, there are a number of tests that are not checked out and do not get upgraded.  Three of those tests are listed in the Output window as being corrupted and the others are not mentioned anywhere.  I want to find out what's going on, but i cannot find a log file to help me troubleshoot the issue.

Does anyone know where I can find the log file (if it exists) that is created during my project upgrade?

***The only message displayed in the Output window***
Error loading c:\...\testname1.aii: File 'c:\...\TestName1.aii' is corrupted
Error loading c:\...\testname2.aii: File 'c:\...\TestName2.aii' is corrupted
Error loading c:\...\testname3.aii: File 'c:\...\TestName3.aii' is corrupted

Thank you,
JT Bhatt
JT
Top achievements
Rank 1
 answered on 07 May 2014
3 answers
125 views
It looks like when using special characters such as [, ], (, ), the execution will fail:

InnerException:

System.ArgumentException: The path is not of a legal form.

   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)

   at System.IO.Path.GetFullPathInternal(String path)

   at System.IO.FileInfo.Init(String fileName, Boolean checkHost)

   at System.IO.FileInfo..ctor(String fileName)

   at ArtOfTest.WebAii.Design.ProjectModel.TestFileHandler.LoadFromDisk(String pathToFile, Boolean autoLoadTypes, FileOpenResult& result)

   at ArtOfTest.WebAii.Design.ProjectModel.Project.LoadTest(String filePath)

   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(String relativeTestPath)

   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ExecuteTestActionDescriptor.Execute(IAutomationHost autoHost, TestAsStepResult result)

   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

------------------------------------------------------------

Ivaylo
Telerik team
 answered on 07 May 2014
1 answer
36 views
Hi All,
Is it possible to automate Mumps Cache application using Telerik Test Studio. Thanks.

Regards
Priya
Boyan Boev
Telerik team
 answered on 07 May 2014
4 answers
105 views

I'd like to select a result from a drop down menu that isn't based off it's contents.

So I want to be able to select the First, Second, Third result from a drop down menu that doesn't rely on it's contents.

This is because the results in the drop down menu are date based and I do not want to keep having to reset the dates in the tests.


Attached is the DOM view of the Drop-Down menu

If it requires a coded step please include instructions on how to integrate it into a test as a step, as I have really only been using recorded steps so far.

Dean
Ivaylo
Telerik team
 answered on 06 May 2014
6 answers
90 views
So it looks like all documentation I'm reading states that in order to loop certain steps, you need to drag said steps either into or underneath your Loop step. I'm not sure if I'm just missing how to do this or perhaps there's a bug here, but this doesn't appear to be how this functions. In my attached screenshot I dragged 10 steps below the loop step and what appears to be happening is the loop just runs through ALL steps in the test not just the ones below it.  Could someone provide some info as to maybe what I'm doing incorrectly here??
Konstantin Petkov
Telerik team
 answered on 06 May 2014
8 answers
108 views
Using IE9 and Test Studio version 2013.2.1327.0...

I am trying to automate a tool my company uses to record business contacts. When a new contact is created, it is added to a table that includes all the contacts for that specific user. Each new user is given an ID number, and the link to view that person's details and edit their information includes that ID number (for example, the first contact recorded within the tool would be given an ID of "1" and the URL to view/edit their information would look something like "Contacts/Edit/1"). The table displays all of the information in the appropriate row by reading the ID of the created contact (pretty simple). I have included a screenshot so you can view the layout of the table I am describing.

When automating, since a new user with a new ID will be created every time I run the test, how do I get Test Studio to look for the contact I just created? Ideally, I want to automate (and verify) that information inputted when creating the contact is displayed properly in the Edit and View Details pages (so I would need to click on each of those links that contains the ID of the newest created contact).

For background, I have minimal developer experience. I think this may be solved with a coded step, but I have had very little experience writing code.
Cody
Telerik team
 answered on 05 May 2014
1 answer
52 views
Position:
  Senior Level QA Tester,   Telerik Experience Level:  Beginner,
   Programming experience: Minimum



I would like to 

1) Sign into my
eCommerce account 

2) Click into the
Search field

3) Locate one
product using a product ID number

4) Add that product
to the shopping cart

5) Process the
shopping cart 

4) Return to the
home page

5) then loop back
to step 2   using a datadriven text
file with a list of 50 products



So far, I have been
successful in 

-recording these
steps by manually entering a product ID number into the Search field 

-creating and
attaching the datadriven text file



My difficulty is
accessing one product ID at a time from the Datadriven text file to put into
the shopping car. Currently, the shopping cart does not process until all of
the items are placed into the cart.     Where should the Datadriven
text file be placed within the Test?  What other steps are required to do
this?   (See step #16 on the attached file)



Thank you for your
assistance!
Daniel Djambov
Telerik team
 answered on 05 May 2014
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?