Accessibility Insights for Web seems not working with edge if internet explorer motor is used - accessibility-insights

I'm looking for Edge extension to test accessibility of professional web application. I have found Accessibility Insights for Web, and documentation said it works with Edge. I tried. If I run this extension with web application using chrome motor it works, however if I run it with a web application using Internet explorer motor "Fast past" loop and never give result.
Can I use Accessibility Insights for Web to test accessibility of web application running with I.E. motor, and if it's possible how to do that?

Thank you for using Accessibility Insights.
Unfortunately, Accessibility Insights for Web is unable to run in Edge Internet Explorer Mode. There are some features that are missing from Internet Explorer Mode, which prevents the web extension from injecting scripts in the page. If possible, please run Accessibility Insights for Web on your web application in Edge with Chromium.

Related

Mobile used web app automation without Appium?

Can we use normal selenium web automation to test a mobile web app by changing window size to mobile resolution? or do we need to use an emulator and appium?
Currently, I'm working in a company. I didn't use appium for mobile web app automation. What I did is an automated web app with selenium ,Robot Framework as a normal web application and changed the window size to mobile resolution. Is it right?
sample code for window size set for mobile size is shown below for more understanding...!
open browser https://sample.com chrome
set window size 440 717
Thanks for your help guys!!
I would suggest you to use Appium if it's a mobile-based web application as this is the preferred way of end-to-end testing.
For mobile automation, you don't need to download Android Studio as it is an heavy-weight tool. You can make use of avdmanager.
To create emulators, you can refer https://gist.github.com/mrk-han/66ac1a724456cadf1c93f4218c6060ae
Hi guys, I found a clarification for this according to my question.I'm trying to automate a WebApp for mobile and I'm testing in a mobile chrome browser. So it is easy to find elements with appium.We will not need appium inspector to capture elements as we are automating a mobile web application.Not a Native Android app.
https://appiumpro.com/editions/57-how-to-determine-element-locators-for-mobile-web-and-hybrid-apps
Refer above link and inspect the elements. It's totally the same as we are doing normal web automation. The only difference is using the emulator and appium server to run the test.
It was a kind of major issue for me as a beginner.I think now it's been solved.

Does Microsoft UI Automation Framework work with Chrome, Python and Java Apps?

I am working on an automation project, in which I need to capture the activities [ application launched, data entered, input type etc.] user performs on a desktop. I came across Microsoft UI Automation framework which so far works well for native windows based applications like MS Office, .NET apps etc. However I did not find any useful information / samples of capturing the information from different web browsers [Chrome is a must], Python apps, Java Apps etc. Can someone please confirm whether MS UI Automation Framework supports such apps. Any working example to extract user activities from these apps would be highly appreciated. Thanks.
Chrome only supports UI Automation for toolbars, tabs, menu, buttons around the web page. Everything that's rendered as a web page is not seen by UIA.
For the web page content, the easiest way is to use Selenium (driven by the ChromeDriver), which is kind of a de facto standard for browsers, and has nothing to do with UIA.
To test if an app supports UIA, and how far it does, it's very easy, just run UIA's Inspect tool and check the UI tree over that application.
Some additions to Simon's answer...
Chrome page content can be seen by UIA if you run chrome --force-renderer-accessibility. Only for existing Chrome process it won't work. Though user can create a new tab chrome://accessibility manually and enable UIA for all or some chosen pages. This method also works for AT-SPI accessibility technology on Linux. Of course, Selenium WebDriver is an industry standard here. But another way exists. Both Mozilla and IE support UIA by default.
Inspect.exe can be simply downloaded from this GitHub repo.
Regarding Java apps it depends on the app type. Your chances is about 50/50.
WxPython or PyQt5 are good for UIA. TkInter or Kivy apps are not.
P.S. There is an example how to drag a file from explorer.exe and drop to Google Drive in Chrome using Python library pywinauto.
I'm a bit late to the party..
But Chromes accessibility features are only activated once something tries to access it's accessibility.
If you call AccessibleObjectFromWindow ([DllImport("oleacc.dll")]) with the window handle an existing chrome window will have its accessibility activated (and you'll see the actual web page content in UIA!).
If the chrome window is opened after your app is running - Chrome pings open processes for any open accessibility apps... for that you use AccessibleObjectFromEvent and the event you're responding to comes from the windows pipeline: EVENT_SYSTEM_ALERT = 0x0002 .
The bottom line is - you have to tell chrome that there's something installed that wants to access it's web page content.
Oh! and your application has to be signed!! Unsigned apps won't be able to access web content - I think that's the same in firefox too.
I hope this helps someone in the future.
See:
https://www.chromium.org/developers/design-documents/accessibility

Blueprism - Not able to spy elements

I am using Blueprism to launch a URL in browser to spy it. I am able to launch the URL using the application modeller, but not able to spy it. The "Identify" option itself does not appear in blue prism. What is the problem and what is the solution ?
In spying a web application, key things to note for your application modeler;
1. your application modeler must be a "Browser-Based Application"
2. Launching from an executable or attaching to one. (Assuming you are launching from an executable from your question)
3. Specify url.
From your question. you are able to launch the browser from the application modeler. the most possible problem is you missing step 1 as mentioned above. Confirm your application modeler is specified as "Browser-Based Application"
Check a few things : is your modeler attached to the browser, are you in the right mode (for ease of use I would recommend using IE in HTML mode), and if that doesn't work try accessibility mode.
Try these simple steps:
Close the browser application and let the Blue Prism open your browser.
Try testing your object in Object Studio.
Now open your application modeler and launch. Check and you will find the identify option appeared.
If you launch application from Google Chrome, then you can get this error because in Google Chrome it's not possible to Spy and launch the applications. Any RPA Tools will support only Internet Explorer

Create/embed Firefox/Chrome base browser in Visual Studio

Im creating a freeware application (long live the free community) and I'm trying to add various features that might drive people to use the application such as implementing whatsapp web https://web.whatsapp.com/ into the app so that the user will always have an "always on top" window with their chats rather than everytime having to switch tabs if they're multitasking on their browser.
The problem i am having is that the built in Browser control with VS 2013 does not work with whatsapp web and i get the option to use supported browsers like firefox...chrome...safari.
Is there anyway to make a VB.NET application open an actual chrome/firefox based browser within itself?
I found an article on Gecko Browser...I am not sure if web.whatsapp.com would see this as a firefox browser: http://www.vbforums.com/showthread.php?692005-Mozilla-Firefox-Gecko-Xulrunner-in-VB-NET-%28versions-14-and-up%29
Help appreciated.

Switch webpage from IE Metro to IE10 Desktop Version

I need to create a way so that when users load our webpage inside IEmetro it switches them to IE10 Desktop automatically. Reason behind this is our website features won't work in IEmetro. our site is built in Aspx and cs code, java script and uses some jquery at times.
Does anyone have an idea how we can achieve this?
You don't have any control over what browser the user is using; and there is no reason why your site should not work in Internet Explorer in the Modern UI (formerly 'Metro'). The two browsers are nearly identical in just about every way.
If you're having problems working with Internet Explorer 10, please ask a more specific question here and/or work through the Internet Explorer 10 Guide for Developers.
I would also be interested in this.
IEMetro unfortunately has a number of features disabled, and shows javascript alerts differently drastically altering the user experience.