I am trying to pass the virtual reallity checks in order to publish an App on the Oculus Store, but unfortunatelly I get the test "TestSubmitFramesWhenInDash" failed.
Starting TestSubmitFramesWhenInDash
Waiting for the application to run for 5 seconds before testing begins...
Starting test...
Testing for focus aware app.
Showing dash...
Number of texture swap chains committed when visible 0
Number of texture swap chains committed when not visible 0
ERROR: Focus aware app failed to commit to texture swap chain when dash was shown.
Please refer to VRC Guidelines: https://developer.oculus.com/distribute/latest/concepts/vrc-pc-input-9/
Cleaning up...
Test FAILED
What can I do to pass this test?
I was getting this issue using the Oculus Integration package that comes with Unity,
I moved to the "Oculus XR Plugin", but got other tests failed like "TestSubmitFramesWhenNotVisible" or "TestAppShouldQuit",
but I found that the results of the "VRC Validator" are not so accurate,
then I submitted the App for review and passed the test.
My App was published without any problem.
Related
I am writing UITests and can't find the default values for the timeouts. Does anyone know how long the default timeouts are both locally and on Xamarin TestCloud?
I have tried Google, but havent had any luck.
Did I understand correctly that if I change them that I overwrite both local and cloud values?
By default, UITests waits up to 15 seconds for tests running locally, and one minute for tests running in App Center before throwing the TimeoutException. If you specify a different wait time, that will override the default, and apply to both local & App Center tests.
If you want to change the timeout.
app.WaitForElement(c=>c.Marked("success_message_label"),
"Did not see the success message.",
new TimeSpan(0,0,0,90,0));
For more details, please see this thread.
https://learn.microsoft.com/en-us/appcenter/test-cloud/frameworks/uitest/features/timeouts
Currently, my jenkinsfile is able to compile, deploy, and start the application on my CI box. But I've no window into if the app started correctly. Technically someone can add code that compiles but doesn't start; ie code was added to reference a config, but the person never updated the config file. I want to catch those types of issues that prevents the app from starting and send an email to the person.
How can I accomplish this?
Current app takes about ~3 minutes to start. When everything successfully starts, it'll output: Started Application in 166.125 seconds (JVM running for 175.714)
iOS11 devices are occasionally issue this error: "HTTP load failed (error code: -1005 [1:54])."
The app is connecting to https json web service and while its in the foreground everything runs smoothly (timer is doing the web service calls), but from time to time (cannot replicate the issue all the time) this error occurs when the app is moving from background to foreground.
Whenever app is moving to background I invalidate the timer performing the calls, and whenever app is brought to foreground the timer is initialised again - everything runs smoothly most of the time.
My JSON parsing function says no data has been received.
Cannot replicate this issue in Simulator.
ATS is allowing Arbitrary Loads and I've also configured my domain as Exception Domain.
Using XCode9.3 and iPhones with iOS11 and up, and no clue what might be causing this.
--- update ---
I also find these errors usually nearby the error mentioned earlier:
"dnssd_clientstub read_all(6) DEFUNCT"
"nw_resolver_create_dns_service_locked DNSServiceCreateDelegateConnection failed: ServiceNotRunning(-65563)"
--- end of update ---
Thank you in advance.
BR, JC
I've been using HP UFT for a couple of years now and I needed to start scheduling my tests to run during the night which I've sort of managed but I'm getting a few errors when the tests run, usually a 'Retry' will continue the test, it may be that the web site is not rendering quick enough for the next line of code. Sometimes it will fail randomly, again a retry will work (where I haven't already added a sync point)
So I could do with an 'on error retry', does such a thing exist? or could someone advise if there is a way around this please? perhaps a screenshot of the error would also be helpful so I know where my test is falling over and I can add a sync point or a wait.
Edit: Apologies for not giving enough info..
The error is an application error, and a pretty generic one where UFT cannot find the object to click on e.g.
"Cannot find the 'xxx' objects parent class frame, verify the parent properties match an object currently displayed in your application."
when this error appears I get options to 'Stop', 'RETRY', 'Skip' or 'Debug'
Given that you've (Pranav - Thanks) said 'on error retry' doesn't exist then you've pretty much answered my question, the only other way I can think to get around this is to keep running the tests and add sync points each time I get a problem and hopefully it will bottom out and ease off.
I will also look at recovery scenarios thanks Dave.
Create a Scenario Recovery for the test
Resources > Scenario Recovery
Create a scenario for Test run Error, this report the test as failed and include the error message in the run report. Allowing your other tests to keep going.
It also has Post-recovery options that "retry the current step and continue".
Tuorialspoint.com have a helpful reference
Recovery scenario reduces the need to add a check point after most lines of code :) thanks UFT.
I'm new to load testing using VS 2015. Right now, I'm working on load testing for a web project which will need recorded web performance tests for each interaction that users would typically do with our application.
I recorded a web performance test for the simple logging-in of user in the website. After clicking the stop button in browser, the web performance test was generated in the VS 2015 but with an error.
Although I successfully logged in during the recorded web performance test, I was wondering if should I be worried with the error displayed and would affect the load testing which I will be using the recorded web performance test for.
Error message: 1 primary requests, 1 dependant requests and 0 conditional rules failed
When the error message is clicked, the following details would show up:
Access denied (authentication_failed)
404 - File or Directory not found SERVER ERROR
Please help. Thanks
After the stop button on the browser is pressed, Visual Studio runs the test once to help it find dynamic data, etc. Commonly this execution of the test fails, so do not worry about this failure.
You should then expect to run the test yourself a number of times, to make it work properly. Before each execution you may need to make changes, for example:
for data driving
for adding credentials
for adding verification rules
to sort out dynamic data that Visual Studio has not detected, this will probably include adding extraction rules