I have a Get query that when I run in Postman with the correct security token, returns:
(*** is redacted)
Get https://***/?q=SELECT Id, Portfolio_Status__c, Open_for_Submissions__c FROM Teaching_Portfolio__c WHERE id = '***'
I am currently designing a test in Test Studio that will check to see if "Open for Submissions__C" is Yes or No.
If No, I will run a Patch API Call that changes the value to Yes, and then a Get to verify that the data has been changed.
If Yes, Test Passed.
Question 1 - I started with an If statement in Test Studio, but the API call I wrote does not appear in the drop down menu as a verification option. Should I instead just have my test run an API Test, and put the If/Then statement in the API test?
Question 2 - I am having a hard time recreating the API call within Test Studio. For my first step I made an HTTP Request with the above Get call, the security token as Authorization in the body tab, and in the Verification Tab - Source:Body, is equal to 'Yes'
I do not know what to put in the JSONPath to find that Yes or No value from my API Call. Overall I'm not sure this is the best way to get the information I want. Should I be using a Verification API test instead of HTTP?
Any help is much appreciated, I'm a bit lost.
I’m evaluating Test Studio internally at the moment for a WPF application we are writing. Given that I have full control over the WPF App and can make any changes I need; are there any best practices I can implement in WPF to facilitate Test Studio when it is recording testing steps?
e.g. Control Names, a helper package for exposing the WPF structure to Test Studio?
Any suggestions on what I can do to make the generated steps more readable would be greatly appreciated.
Thanks,
Richard
In a WPF test, how do I wait for a button that is disabled due to an async save in progress to complete and become enabled before continuing the next step in the test?
Thanks,
Richard
Results from test execution:
Hello,
I'm automating some components of a web page that's part of an application. When I navigate to this page, however, I'm not able to see the DOM tree.
Is there a setting in Telerik that I need to configure (or re-configure)?
Thank you for your help.
It seems like you've created a test project targeting .NET Framework 4.8 using xUnit in Visual Studio 2022, and the tests run successfully within the IDE, but you encounter errors when using dotnet test command.
> dotnet test
D:\Workspace\Project\DataManager_Repositories\DM-Foundry\Test_Client\Foundry\Foundry.csproj(145,3): error MSB4019: Imported project "C:\ProgramFiles\dotnet\sdk\7.0.400\Telerik\WebUITestStudio\Telerik .WebUITestStudio.targets" not found. Make sure the expression in the import declaration "C:\Program Files\dotnet\sdk\7.0.400\\Telerik\WebUITestStudio\Telerik.WebUITestStudio.targets" is correct and the file exists on disk.
Does anyone else have this problem?
I updated a few days ago 2023.1011.1.
I highlight and run a set of steps. When it ends, the Steps Pane scrolls to the bottom.
Since I may have hundreds of steps, remembering where I was and scrolling up to get there is time consuming.
If not perhaps it is a Win 11 issue.
Hi,
What will happen while doing "Discard local changes" in WFP application?
I'm getting them all over. If I record a new step it works, even though the search is the same as the existing one.
Is anyone else getting these errors?
InnerException:
System.NullReferenceException: Object reference not set to an instance of an object.
at ArtOfTest.WebAii.Win32.Annotator.Clear()
at ArtOfTest.WebAii.Headless.HeadlessMouse.ClickImpl(MouseClickType clickType, Int32 x, Int32 y, Int32 wheelDelta, Boolean relativeCoordinates)
at ArtOfTest.WebAii.Win32.Mouse.ClickElement(Element element, MouseClickType clickType, Point offset, OffsetReference reference)
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DesktopActionDescriptor.Execute(Browser browser)
at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)