Hi,
I am testing a WCF Service using Test Studio, the service(POST) accepts only JSON body.
I have selected boy format as raw and type as JSON, but I am getting the following error
The incoming message has an unexpected message format 'Raw'
Please help
I’m testing a webpage that enforces agreeing to the site's Terms and Conditions before proceeding on. This page uses AngularJS to implement a form where the user must scroll to the bottom before the “I agree” button gets enabled. The only way to access the bottom of the T&C text (enabling the button) is via scrollbar.
See attached file for details
Hi,
Can anyone help me how I can retrieve a label text or dropdown list selected text and save it on excel file using vb code.
I tried from calling the element but still nothing.
<CodedStep("Store Data in Excel")> _
Public Sub Transfers_Between_CodedStep()
Dim dataSourcePath As String = Me.ExecutionContext.DeploymentDirectory + "\Data\domainResults.xlsx" 'this method is calling a link from an excel file and pass it on url path to load it
Dim myPath As String = "C:\Users\Charitos\Documents\TransferInputs.xlsx"
If Not System.IO.File.Exists(myPath) Then
System.IO.File.Copy(dataSourcePath, myPath)
End If
Dim excelApp As New Microsoft.Office.Interop.Excel.Application()
Dim workbook As Microsoft.Office.Interop.Excel.Workbook = excelApp.Workbooks.Open(myPath)
System.Threading.Thread.Sleep(1000)
ActiveBrowser.RefreshDomTree()
excelApp.Cells(Data.IterationIndex + 2, 1) = Pages.AlHilalEbankingSolution1.TransactionSpan.AssertContent() //This is where I want to call the element or some other way from the webpage that is still open to retrieve the text and store it on excel.
excelApp.Visible = True
excelApp.ActiveWorkbook.Save()
workbook.Close(False, Type.Missing, Type.Missing)
excelApp.Workbooks.Close()
System.Runtime.InteropServices.Marshal.ReleaseComObject(workbook)
excelApp.Quit()
GC.Collect()
System.Runtime.InteropServices.Marshal.ReleaseComObject(excelApp)
End Sub
End Class
Hi, I'm using Telerik in a page which call multiple libraries, the time for response is between 30 seconds and 3 minutes. When this libraries pass the 1m to response, Telerik show message the error like this:
System.TimeoutException: Wait for condition has timed out
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.Browser.WaitUntilReady()
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.InternalNavigateTo(Uri uri, Boolean useDecodedUrl)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri, Boolean useDecodedUrl)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url, Boolean useDecodedUrl)
Can I configure a maximum timeout to waited for the load complete of the page?
The navigation of my page is dynamic, sometime to URL (ActivateBrowser.NavigateTo(...)) and sometime do it click in elements, for this reason I need a change global and not only how parameter by each redirect
Thanks
Hi,
I have a input element of ( Type ="Search " , tagname ="Input" ) . Let me name this element as X.
When I try to type some text in the element X, it fails with the message as "Invalid input type ''search" for this control. Control was expecting "text"
Earlier , this step was Passed.. It suddenly fails today.. Not sure, what is changed..?
Could you help me to fix this...
Regards,
Nithya A.
I've been having some strange issues with Test Studio, which manifests itself as my tests not working as they should be..
If I run a set of commands using the "Tests" Tab and then executing a test manually, I will get passes all throughout. However, when I add them into a test list to run consecutively, I get the complete opposite. These tests will fail or succeed, and it really seems quite random. I don't understand why this is the case because they work perfectly outside of test lists.