My colleague is using Power Automate to navigate a site. The shadow-root elements seem to be skipped. Any ideas?
Related
I have seen something peculiar... a drop-down-list that has two single lists bound together. See here the website about what I ment.
I've also added a image here and here in case the website changes it appearance.
How is this done (language)? And where can it be downloaded?
I want to click on the blank area of a browser. How do I do this with watir?
For example, go to google, enter some words and then click the white space/blank area so that the search suggestions box goes away.
Two possible ways to tackle this, one I've successfully done and one I haven't.
First, using watir, something I have not tried is here: How to click on specific element in canvas by its coordinates (using WebDriver)?. I haven't looked into this much but it seems like these two guys have it figured.
The thing I have tried, however, is to use something called Sikuli. Sikuli scripts can be run ontop of an existing watir-designated browser because they are purely image-recognition based. You can trigger the sikuli script to execute from within ruby and implement the canvas (blank area) click that way. Sikuli is crazy simple to use if you use the IDE to generate the macro.
I want to compare a website before and after a code deployment for any change in UI elements. Is there any tool online which allows for such comparisons?
As per your comment on Yan's question, I think you are looking for a way to automate Layout Testing of your website.
If Yes, here is a way to automate layout testing of a web application using Galen Framework. Open source solution for layout testing.
This tool has its own language and is very easy to learn and understand. It is a Selenium based and you can run test in Selenium Grid, Sauce Labs if you want to test your application in different browsers. even you can use chrome driver or IEDriver for running it locally without using Selenium grid or Sauce Labs
This tool gets the location of specified element on page and check them relatively to each other.
Example: If you want to check icon sizes and its placement on the web page (lets assume it is inside header), you can do it like this:
First define object using any of the available locators(css path, ID, xpath)
=======================================
header css #header
icon id icon
=======================================
Now state where exactly your icon should exist inside header and what should be it's height and width. (I have assumed all the values here)
icon
inside: header 5px top, 10px right
width: 20px
height: 25px
This tool can also be used to test responsive designs.
You can find complete documentation on official website http://galenframework.com
The best part is you can even create JAVA Tests. Galen JavaScript API is also available along with the sample projects in github.
At my place HTML designers write the specifications (in Galen language) of web pages and in the later stages of application lifecycle same specifications are used by developer/testers
As you mentioned that you want to
compare a website before and after a code deployment for any change in UI elements, you can use html reports generated by Galen after each run/test.
I believe you don't want to compare the changes manually but want to automate the process. You can use selenium web driver to find the elements on the web page and then test if they present on the changed one. Applitools provides the framework that allows to test the image changes combined with the selenium code.
I was looking for automation testing tools for Windows Phone like adb for Android or iOS instruments for iOS. I have found Coded UI Test. That works fine if you want to build your test on a subset of UI elements.
But I need to build the list of all UI elements dynamically, or rather I need to know the hierarchical tree of the window with which the user interacts (something similar to logElementTree in iOS instruments) during the test.
I wouldn't build UIMap for every page of my app. Instead I'd prefer to build the hierarchical tree of UIElements dynamically in order to find the element of interest (such as an object for a tap action) by its properties (name, text, bounds, etc.).
For example, to give you an idea, I would like to do something like this pseudo code:
listOfUIObjects = getWindowTree(app);
element=listOfUIObjects.getElementByText("Pippo");
element.tap();
Does someone of you know a way to do this with coded ui test?
If it's not possible, is there an automation tool to do this?
You won't grab a 'tree' as such, but you can search for controls programatically. Take a look here for a starter:
http://www.codewrecks.com/blog/index.php/2014/04/10/programmatically-use-of-coded-ui-in-visual-studio/
Another good place to look is the generated code behind a UI map - it will show you the search code used which you should be able to modify for your own uses.
I have entered some values in BillBoard, BBControl, EventMapping tables through direct editor...
I can see billboard for InstallFiles action, but it is not being displayed for any other action...
I am also confused what value should i give in Feature column of billboard table....
Billboards are associated with a specific action in InstallExecuteSequence, usually InstallFiles.
Windows Installer doesn't support displaying a billboard across multiple actions. So using billboards is a good solution only for very large installers for which InstallFiles action takes a long time.
For smaller installers a better solution is using HTML host controls. This way you can create your own HTML with some slides. HTML host controls are supported only by some commercial setup authoring tools which offer an external UI.
Edit:
The main question is how long is your installation process and which action is the longest. You can determine this by creating an install log. If it's 1-2 minutes, it's not worth the effort. If it's 10-15 minutes, you can try this: http://kb.flexerasoftware.com/doc/Helpnet/InstallShield2011/IHelpEUDialogsBillboard.htm