Hi,
In our automation testing, we use controls directly in scripts
ie.Pages.HtmlPage.textdropdown etc
But recently there was some changes and we spent lots of time replacing each and every statement with new control
So i was thinking to move this "Pages.HtmlPage.textdropdown" to a library file with name "DropdownField" and access it in scripts.
I tried like
1) HtmlSelect dropdown List= Pages.HtmlPage.textdropdown;
2) Pages.HtmlPage.textdropdown DropdownField
But i am getting error like Pages.HtmlPage is a property but used like a type.
Any method for accessing html element from a library ?
I have several simple test setup and create on test as a step which is used in another test.
This all works fine if i run the tests in visual studio.(Test Explorer - Run All)
I need to get the test working as part of a build definition on our build server.
The test that have a 'test as step' included in them fails on the build server with
'24/06/2015 10:18:35' - 'Fail' : 1. Execute test 'GotoTelerikWebSite'
InnerException:
System.IO.FileNotFoundException: Unable to find test 'C:\Builds\16\TestStudio\TTSNightly\tst\GotoTelerikWebSite.tstest'
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)
It looks like its after the actual tstest in the build folder, I have set the 'Copy to Output Directory' to 'Copy always'
Anybody have instruction on how to get 'Test as Step' tests workign with build servers?
Hi Team,
I have been working with the Test Studio Scheduling Service from the past few days and approaching you with a lot of questions.
The test list results are stored in the storage DB in the metadata format. I would like to know any information on where the actual information related to the test lists - tests, result files, logs etc, of the scheduled test list in order to generate custom reports after each run of the schedule.
I searched the DB and I'm not able to find the actual data files. (in the dbo.TestListResults, dbo.TestLists, dbo.Results table, Its all encrypted)
Kindly help me in finding the same.
Thanks,
Pravallika.
Hi,
I have noticed since yesterday that there are some steps that don't execute/run as they should and they still show as passed when the playback is completed.
an example is of the screenshot provided, where it should change the amounts in group C to 0.00800 but it only does it for one of them and not the rest.
I have tried selecting the entire amount and using: backspace, delete and typing the new amount in. and it works sometimes for 1 of them and that is it.
Another example is of an element I made it verify the TextContent and it also passed and it should have failed since it's not there.
Any advice/help is appreciated
Hello
I am developing a data driven test with Test Studio using local data.
The particular situation I am facing currently is:
Iteration 1 is executing-> my application under test crashes
Now how can I move to Iteration 2 (re-run test by relaunching app while remembering iteration number)?
Thanks!
I've been trying to perform the complete steps associated to this documentation and can't get the update to Excel to work: http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/write-into-data-source
I have added a reference to this path\file: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Visual Studio Tools for Office\PIA\Office14\Microsoft.Office.Interop.Excel.dll
as described here: http://docs.telerik.com/teststudio/advanced-topics/coded-steps/add-assembly-reference Please see the attached jpg file to see the error.​
What am I doing wrong?
Here is a copy of the pertainent entries from the Log file:
'6/19/2015 1:04:40 PM' - Using 'InternetExplorer' version '11.0' as default browser.
'6/19/2015 1:04:41 PM' - 'Pass' : 1. Navigate to : 'http://www.checkdomain.com/'
'6/19/2015 1:04:41 PM' - 'Pass' : 2. Enter text 'www.ask.com' in 'DomainText'
'6/19/2015 1:04:42 PM' - 'Pass' : 3. Click 'Submit'
'6/19/2015 1:04:42 PM' - LOG: 1
'6/19/2015 1:04:42 PM' - LOG: 2
'6/19/2015 1:04:42 PM' - LOG: 3
'6/19/2015 1:04:43 PM' - LOG: 4
'6/19/2015 1:04:43 PM' - LOG: 5
'6/19/2015 1:04:43 PM' - LOG: 6
'6/19/2015 1:04:44 PM' - 'Pass' : 4. [AddToExcelFile_CodedStep] : New Coded Step
Hi,
My Load test contains sequence of POST requests. In first POST response one hidden text box is there. I need to extract that hidden ext box value and provide to next POST request. Please provide the steps to do this.
Thanks
Srinivas
Hi,
In my project, sometimes there are model and non model dialogs which keeps appearing on specific scenarios.
But the problem is sometimes we observed that, they dont get closed and leads to failure in other steps.
How to check whether any dialog / window is foreground?
I checked below options .None seems to work fine.
Manager.Current.ActiveBrowser.IsIEDialog
Manager.Current.ActiveBrowser.IsFrame
Manager.ActiveBrowser.Window.IsForegroundWindow
Can anyone shed light to possible solutions.
Thanks,
VVP
Hi,
I have my system running Windows 8.1 Enterprise and VM having Windows server 2008 R2 Enterprise version
Scripts running in my system getting failed on my vm.
Applicaiton is web based and i dont understand the reason for failure.
Any one faced these kind of issues which occur due to different OS? if so kindly let me know how to get Telerik logs and how to debug.
Thanks,
VVP