I try to test my widget , it works good in simulators , but when i run in my phone, i tap the widget, it just open my app , without passing the url ,it seems .onOpenURL can't capture url from widgetURL
it's good in simulators, it's really confused me
Related
My main goal is to create a website that when you open it, it shows the identical view that the Robot view has in Choregraphe (virtual robot and everything) and then you could send a behavior to the robot on that website and the robot would do the behavior. But I am trying to figure out if I can just get the robot view by itself. Like imagine opening Choregraphe but it opens with just the robot view (a view of the robot). Let me know if anyone has dealt with this, thanks.
No, the robot view is handled by a native program showing the view on your PC screen. Apart by capturing the screen, it is not designed to be redirected to a web page.
However NAO and Pepper robots are compatible with ROS, and you can setup web views showing any robot running ROS. I found this online course that could teach you exactly how to do that.
We have a C++ application (using Owl UI framework) which calls a CEFsharp Chromiumbrowser control inside an owl dialog. It is working perfectly the first time and the chromium embedded control shows the page properly. It is important to mention here that the first url which is say "http//www.someurl" navigates internally to "http://www.anotherurl/opensomething" each time. When we close the Owl MDI window and then try to open it again, the CEFSharp browser control tries to go straight to "http://www.anotherurl/opensomething" instead of going to "http//www.someurl" which it is being specifically asked to navigate to. We are using Chromiumbrowser load method to load the url but just cannot make it to load the first url from the second time onward. Our CEFsharp version is 63.03 . However if we open the chromium browser control in its own window and not embed it inside the MDI dialog it works perfectly everytime. Can't figure out so far as to why this is not loading the url properly from the second time around. Thanks for any help in advance.
Good day, fellow stackoverflow users. I have a problem using Vaadin TestBench in order to test a sub-window.
To be more specific, I've programmed a "popup" window that will be invoked by the main application when such application fails for whatever reason. As this sub-window doesn't have an URL, it will simply be invoked programmatically. I'm having problems coming up with a way of testing this single sub-window, as I have searched and read the Vaadin documentation, but all examples I see involve creating a driver for a certain browser, invoking a URL, accessing its elements and then doing the tests.
All I want is something like this:
Window popup = new Window() // Create sub-window (popup) programmatically
// instead of navigating to an URL with a web driver
// Here, I select the elements of the popup and do actions on it
// programmatically
...
// End the test and close the popup window
popup.close()
Is there a way of accomplishing this feat? I'm using the latest version of Vaadin on Springboot.
Vaadin Testbench and Selenium use the same base. You can reach the popup in the same way you do in Selenium:
driver.switchTo().activeElement();
or (if it is an alert)
driver.switchTo().alert().submit(); //submit = click OK, maybe it differs from your intention
If your "popup" is a separate browser window, you can switch by windowHandle.
driver.switchTo().window();
Hope this helps :)
I want to create like button inside application for its profile page.
Button renders, but gives error when clicked:
The page at
http://www.facebook.com/apps/application.php?id=151273804972407 could
not be reached.
Strange, because this page exists. The same situation is, when I'm using this link in plugin's code generator ( https://developers.facebook.com/docs/reference/plugins/like/ )
It seems to work with other applications (other application id).
Please advice!
The only solution I found was to create new application. For the new one - with exactly the same settings - "like button" works fine. Strange, isn't it?
I am using Qt to develop an application and inside we have access to select flash streaming videos like youtube. Is there a way to programmaticly full screen the flash application without requiring interaction from the user?
I am using a "QWebView" control.
try calling showFullScreen for the window where your QWebView control is hosted.
void QWidget::showFullScreen ()
Shows the widget in full-screen
mode.
Calling this function only affects
windows.
To return from full-screen mode, call
showNormal().
I would say: locate the button for the fullscreen application on the page, and send a click using QEVent. Tricky, but might work.
If the button is inside the flash application, you will have difficulties to locate it but if you succeed, you can probably send the click to the flash application area.
You can always inject javascript from Qt into your QWebPage. If there is a javascript API for forcing the flash viewer to full screen, I do not know.