Adaptive Card - Action.OpenUrl not working on web browser - adaptive-cards

I'm trying to develop an adaptive card layout which can be integrated in web application.
I have developed the entire layout but the action event for opening URL(Action.OpenUrl) is not working.
Other actions such as Action.ToggleVisibility is working fine.
Here is a code pen for the same.
What I have noticed is, an alert is being triggered on the adaptive cards website/adaptive card designer for these tutorials but redirection is not working even on that website.
please let me know if I'm have to do something else to make the url open in new window.

Related

Coded UI - Unable to identify a html controls on a Wpfbrowser

I am new to CodedUI & C#.
I am trying to automate a wpf application which has a WPF Browser.
So basically, It's WPF container with html content inside. I have created a similar sample small application and shared it here. This application opens the amazon.in website within wpfwindow.
WPF Browser application
My problem is Coded UI is not able to identify the Html-Controls/elements like 'Buttons', 'Text input fields' properly.
Below, the top image is from the WPF Browser app [Link which i have shared].
Here you can see a blue square box on the top-left. The coded UI identifies that area has the Search Go button.
Bottom part of the image is of the amazon website in IE browser where coded ui is properly highliting/ identifying the Search Go button.
Does this mean i cannot automate WPFBrowser apps using Coded UI.?
Can someone please tell what to do to identify the buttons properly in coded ui
You need to specify Id attributes for the controls that you want exposed to Coded UI.
To me this looks like CodedUI is getting some control that's similar, rather than the correct one.
You haven't mentioned if you're recording and executing tests or handwriting them in a separate CodedUI solution.
If you're recording them: Be sure that you're recording using your WPF application and interactions inside of them, rather than recording using your browser and then trying to execute tests using the WPF application
If you're writing them by hand: Be sure that you're correctly creating trees of inheritance when writing your tests. For instance, in a traditional CodedUI scenario the absolute top level object that all other controls inherit from is a web browser. In your scenario, that object should be the WPF object. There are probably going to be some other windows or various controls that are children of the WPF application which in turn will finally have the browser as a child.

Using the android backbutton with Dojomobile and phonegap in worklight

Im creating an app (rather big one) with Worklight. When im testing the app in an android phone and press the backbutton it closes the app.. now i want it to go back one page. Right now the page navigation is with dojox mobile implemented system. this way:
<button data-dojo-type="dojox.mobile.ToolBarButton" data-dojo-props="transition:'fade',dir:'1',moveTo:'Contact'" class="buttonHem" style="color:black; font-size:1em;">Kontakta Oss</button>
is there a way to use the android backbutton without having to redo everything?
we have deadline in 2 weeks so there is really no time to redo the app with jquery mobile..
Answers will be appreciated.
If you're talking about a hardware Android back button you have a WL API to override it's behaviour.
WL.App.overrideBackButton(function() { doSomething });
and WL.App.resetBackButton();
The back button functionality should work in Dojo Mobile. Looking at the documentation for ToolBarButton I think what you need to do is use a # in front of your next view for the moveTo attribute. In your example it would be moveTo:'#Contact' Take a look at the moveTo attribute in the doc below for more info.
http://dojotoolkit.org/reference-guide/1.8/dojox/mobile/ToolBarButton.html

Mobile view using Bootstrap

I've made a simple page as a Sign In form to test mobile devices access.
Live test is at:
http://jsbin.com/inumud/1/
outside jsbin:
http://balexandre.com/gk2
If you try to open that URL from a mobile device, there is no way one can get into the account and password forms.
I'm using a very simple form using Twitter Bootstrap (v.2.0.4) and works fine in any desktop, but why can't I access the form input's from a mobile device?
(iPhone does not get into the form, Android does not bring keyboard up)
What do I have to do more just to make it work on a mobile device without redo the hole site in a Mobile framework?
I'm keep trying and trying, but no success so far and it's been several days now, I'm probably miss-seeing something simple and I hope the community could help clear my eyes :)
found the "bugger"
it's the Modal that is on top and block access to everything else in back... adding hide to the modal class solves the problem.

WebResource.axd Suddenly Stopped Working In ASP.Net Offline Web App

Building an offline web app in VS2010. I have a master page with a navigation menu control. So far I've been able to add 4 new pages, each navigated to from this menu control. All has been added to the Cache Manifest file and all has worked offline up until now. After the most recent page was added to the project, now when I am offline, my menu control doesn't load properly and the console shows that the webresource.axd for the menu control couldn't be found and then gives the sys is not defined error. The error does not occur just by navigating to a page, only when button is clicked that causes a location.reload(true).
I've seen from VS where things will be working and then when you restart VS the next morning stuff will suddenly be broken. But I mean this is really blowing my mind.
Is there another way maybe to refresh an offline page such that the controls reset back to original value? That is the only reason I am doing the refresh.
It was something so simple I am embarrassed. I changed location.reload(true) to location.reload(false). That way, it wasn't trying to reload the page from the server. All fixed.

iPhone Web based apllication back ,forward and refresh button

In my iphone web based application i want to add backword,Forward,Refresh and Action button like the native Webview,How i implement this in my app.
Thanks,
Arun
Use what HTML gives you to draw this navigation. Or look for ready code for that.