Telerik Forums
Test Studio Forum
1 answer
85 views
running test lists have suddenly stopped working.
i get the attached error.

i made sure the scheduling server was connected and active. so not sure where to go form here.

also this in trace log:

05/07 14:10:21,Telerik.TestStudio.RemoteExecutor.exe(1444:9),Error] <>c__DisplayClass4.<RegisterResolver>b__1() : EXCEPTION! (see below)
     Situation: Exception trying to resolve dependency: Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
     Outer Exception Type: System.IO.FileNotFoundException
     Message: Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
     HRESULT: 0x80070002 (Official ID (if app.) = 2147942402, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_FILE_NOT_FOUND)
     Call Stack:
          at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
          at System.Reflection.Assembly.Load(String assemblyString)
          at ArtOfTest.Common.BaseDependencyLoader.<>c__DisplayClass4.<RegisterResolver>b__1(Object o, ResolveEventArgs e)
Ivaylo
Telerik team
 answered on 12 May 2014
4 answers
74 views
We have an app. that sometimes shows a pop-up message on startup (it gives some information to user only when needed)
I have created a test named "accept startup message if any" like the following:

IF (Wait for Exists 'RadMessageBoxWndRadMessagebox') THEN
   Click BtnOkRadbutton
ELSE


I have configured verification timeout to 2 seconds.
This test works perfectly when the message is shown and, when not too, as it only takes the 2 seconds to continue to next step.

I thought it would be nice to add this "accept startup message if any" test as the first step in other tests, in order to reuse it and avoid coding the "IF" every time before starting the test itself.

The problem is that if I use this test as a step in other test, it does not have the same behaviour. In this scenario, if the message appears, it works perfectly, but if the message box does not appear, the test does not follow next step until "CLIENT (FRAME/WINDOW) READY TIMEOUT" is reached (configured in Debugger options or in configuration file), which is a long time. I have tried to configure the test as step with the "WaitOnElementsTimeout" to 2 seconds also with no results.

Am I missing something or doing anything wrong?

Thank you in advance,

Best regards,

Joan
Joan
Top achievements
Rank 1
 answered on 12 May 2014
7 answers
1.6K+ views
How to Extract the InnerText content from the div tag and write it in an excel document?

I have a html response as given below,

<div class= "my class" id= "myid" style = "mystyle">
   Account has been successfully created. Your Account number is 12345


Now from the above div tag i want to extract innertext content "12345" and store it in an external excel file. Please guide me in this.
Boyan Boev
Telerik team
 answered on 12 May 2014
6 answers
96 views
Hi i am having some difficulties recording 4th window, i made those steps to search window by partial title and url, i don't think it is mater, when i come to 4th window it stops to record is it a limitation?
Konstantin Petkov
Telerik team
 answered on 10 May 2014
1 answer
82 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
76 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
101 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
56 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
168 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
49 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
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?