Test Studio supports adding a single custom base test class in the project. If one more base test class is defined and listed in a test code-behind file, the coded steps will be listed as empty and will not show the option to choose any of the methods in the test class.The steps will be still executed, but no changes can be applied within Test Studio (only in VS).
because I want many test sharing the same OnAfterTestCompleted(), instead of adding it to each test, I created new class:
using....
namespace test_studio_tests
{
public class CustomWebAiiTest : BaseWebAiiTest
{
public override void OnAfterTestCompleted(TestResult result)
{
// some code to be executed
}
}
}
and then all the tests to inherit from this new class
public class TestClass : CustomWebAiiTest
instead of Base one as they did so far. in TS project keep compiling, but then all the tests have extra icon and coded steps are not recognized anymore. in the meantime in VS2022 with TS plugin, all is recognized and keep working without any issue.
The step gets successfully executed but fails with the following exception:
Failure Information:
~~~~~~~~~~~~~~~
ExecuteCommand failed!
InError set by the client. Client Error:
Cannot read property 'toggle' of undefined
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'$("th:eq(1)").data("kendoFilterMenu").popup.toggle()',ClientId:'663fc963-6051-4044-9dfb-ce01ca15339d',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'Cannot read property 'toggle' of undefined')
InnerException: none.
Workaround: Record the click step to open the filter without using the Test Studio translator, or in other words against the span element directly.
Hi Support,
I am facing the below issue with the Product.
We were able to isolate the issue and it is reproduce able on Bing.com.
Basically, the “ Run to Here “ or “Test as a Step” functionality , they both pretty much do the same job.
Taking you to the previously recorded steps to continue with further recording.
Steps to Reproduce-----
Create Test#1
Go to Bing. Com and record few tests and close the browser.
Now, Right Click on the last recorded step and Select Run -To Here.
At this point, try to record and capture the Elements.
When you use either of the above mentioned functionality, the Recording and Elements capturing would stop working.
We were able to reproduce this from mine and one of my co-worker's laptop.
This is the same issue what I am facing with our Application (few weeks back Test studio has a release, could be related to build as it was working when i downloaded the tool initially)
Please let me know if you need any additional details from me.
Thanks,
Shubha
Steps: 1. Create ApiTesting project with 2 tests - one passing and one that is disabled 2. Run the project from command line with a batch file 3. Check the exit code of the runner process - see the attachec cmd file for example Expected: The exit code should be 0 (success) Actual: The exit code is 1 (failed)
As C# developer i can test almost everything with the Test studio => - Website / Desktop Client - API But where i need it the most, Xamarin Android i need to use another tool. It would be really helpful to have the ability to test it all with one Tool. Since Test studio already supports Android / iOS, is it might not a big problem to also support Xamarin (Android & iOS).
Steps to reproduce: 1. TS version is R1.2016.1117 2.. The problem page contains a table which is nested in another table (both have the same ID) but if the ID is searched in the recorder it is not found at all although the element exists. During the investigation was determined that both tables are under div element which is not loaded in the recorder DOM tree. Details shared internally.