I have a questions if anyone can assist
1. I am trying to slow down the playback speed. Can you direct me to the settings that directly affects this?
Randell Balkaran
Hi,
So I have the following scenario, I have a 'controller' test that runs different sets of tests now they are all called using test as step.
Now I want to create a report based on the following
Steps passed.
Steps not ran.
Step failures.
I did take a look at the documentation at http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/external-log-file, but that did not help as it only writes the 'controllers' results to the log file and not all the child tests results. I have also tried creating a property on the test and setting it via code but each time the test returns to the 'controller' the property is set to null again (this is rather annoying but gather that you clear all resources from memory once that test is done?) so that did not work for me, not at all. So I really just want to get the report working for myself, We do and will use the built in report but it does not give me the results I require. Also I have set the test to have a OnAfterTestCompleted and like I said it only gives me the 'controllers' results.
Lately I am experiencing crush of Test Runner (ver. 2015.1.528) in Google Chrome when a test deals with a pop-up window. On the desktop version, I cannot replicate this issue. Any ideas what could cause this_
[09.08 13:04:46,ArtOfTest.Runner.exe(3928:6),Execution] ExecutionEngine.NotifyBeforeStepExecuted() : Executing step 2 "Connect to pop-up window : 'http://myhours.com/resources/gettingstarted'"...
[09.08 13:05:01,ArtOfTest.Runner.exe(3928:6),Error] ExecutionEngine.CatchExecuteStepException() : EXCEPTION! (see below)
Outer Exception Type: System.OperationCanceledException
Message: Exception occurred waiting for the new browser to connect.
HRESULT: 0x8013153B (Official ID (if app.) = COR_E_OPERATIONCANCELED, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5435)
Call Stack:
at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.HtmlDialogHandlerDescriptor.Execute(Browser browser)
at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
Inner Exception Type: System.TimeoutException
Message: Wait for condition has timed out
HRESULT: 0x80131505 (Official ID (if app.) = COR_E_TIMEOUT, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5381)
Call Stack:
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
Hi,
We want to use the Current test Html instance variable to another tests.
Example: WebTest1
HtmlInputText txtleavename = Manager.ActiveBrowser.Find.ById<HtmlInputText>("txtLeaveName");
WebTest2
txtleavename.Focus();
txtleavename .Text="sick Leave";
So here we want to use the variable "txtleavename" in WebTest1 for multiple times in the WebTest2. How can we refer this variable without initialize again in WebTest2.
Thanks
Saravanan
Hi!
I've been on a trial version for this week. My initial objectives are to have some regression scripts created to do the following tasks:
1) verify list of values from dropdownlists on web portal pages
2) verify list of values with checklists / checkboxes on web portal pages
I'm working on a web portal app that have lots of dropdownlists with lots of values. I need some assistance in getting each of the values from the dropdownlist and display it to confirm, then write into the logs or datasource and perform a comparison, returning pass/fail results. I was able to do the following so far (in VB):
1) get the total count of the dropdownlist
Dim P_Count = Pages.MainPlaceholderDrpdwnPortFolioSelect.ChildNodes.Count.ToString()
Log.WriteLine ("Total number of Portfolios is " +P_Count)
2) get the default selected value
Log.WriteLine (Pages.MainPlaceholderDrpdwnPortFolioSelect.SelectedOption.Text.ToString())
3) perform the comparison (only with innertex, which is pulls the whole text of combined values together)
Dim PortfoliosRuntime = Pages.MainPlaceholderDrpdwnPortFolioSelect.InnerText
Dim PortfoliosList = Data("PortfoliosList").ToString() 'same as Data(0).ToString()
If PortfoliosRuntime = PortfoliosList Then
Log.WriteLine (PortfoliosRuntime)
Log.Writeline ("Portfolios lists matched!")
Else
Throw New Exception("Portfolios lists didn't matched!")
End If
I need help in the following and getting it work:
1) For-Next loop to loop through each value of the dropdownlist and confirmed in MessageBox or log
Dim i
For i=0 to P_Count-1
Log.WriteLine ("Loop
count = " + i.ToString())
Next
2) get MessageBox to work and display message box for each value
Dim MsgBox As New NativeWindow()
MsgBox.AssignHandle(ActiveBrowser.Window.Handle)
MessageBox.Show(MsgBox, "This is a
message!"
I appreciate it and thanks in advance for your assistance.
Thanks,
Stephen
I have an application that has a loading div called PleaseWaitGrid. I want to create a step that waits for this element to disappear inorder to move on to the next step. I have tried Wait for not exists with no luck. I've attached a screen show of what I am talking about. Can anyone help me out with this? Thank you in advance.