I am following an android studio(oreo) tutorial on creating a simple math game that shows a question on top and you have to click on 1 out of 4 given answers on the bottom.
while following the tutorial in .xml file. android:Tag="0" doesn't work. and I m using bumblebee.
I am trying to work on multiple onclick with same name but soon as I compile with android:tag"0" its giving me error.
btw it does compile without the tag but it crashes when I pick 1 of 4 answers since no tags are not assigned to my onclicks.game that I m working on
is there a new syntax for it on bumble bee?
thanks
Related
When tried the action chain class in python it only selected some text/ couple of lines on the page rather than dropping the desired element to the correct destination.
I tried multiple ways to achieve drag and drop including click and hold and moving to the destination element or X and Y coordinates but I didnt succeed.
The destination element is canvas.
I searched for same solution using javascript executor, but I could find that for HTML5 only not for the HTML.
Tried most of the solutions available accross different forums, but it didn't work.
Looking for some solution here for drag and drop for electron desktop application in selenium with python flavour.
Thank you in advance.
I am trying to navigate a website that stores documents related to several projects. To get to a specific project I need to search a project name by inputting it in the search bar and selecting from the search result. I am able to find the search bar and search for the project that I am interested in but, trying to click on the searched project gives me "element is not visible" exception.
There is also a recently viewed projects section and I can select every project in this list except the first one. This does not help my use case though as the project, that I am searching for, might not always be in the recently viewed list. And I cannot select the first project in this list (But that is a different question maybe for some other time)
Here is the python code that I am using
change_proj = find_element.ret_element_handle(browser, 'xpath', '//td/em/button[text()="Change project"]')
change_proj.click()
print("after change_proj")
# Search bar in pop up window to change project
search_bar = browser.find_elements_by_name("searchString")
search_bar[1].send_keys(projectName)
project = browser.find_element_by_xpath("//span[contains(., '" + projectName + "')]")
project.click()
# This is the line that generates the exception
With the great help available on internet, I have tried a) waiting for element to be clickable, b) moving to the element "project" using ActionChains c) trying different version of the xpath that looks for a specific text but, none of these have worked.
I am attaching the html of the page as the image (Some entries are blanked out for confidentiality)
From the Intellij website:
Scratch Files, a very handy feature that helps you experiment and prototype. With this feature you can sketch something really quick right in the editor, without modifying your project or creating any files.
You can open an infinite number of Scratch Files and easily switch between them. IntelliJ IDEA will provide all of its coding assistance features for these files according to the type you will select for them in a status bar widget.
However, when I create a facelet scratch file the "URI is not registered" error appears, none of the tags are recognized, and tab-completion of tags as I type does not happen.
I create the new facelet scratch file as follows:
Tools -> New Scratch -> XHTML file
When the mouse hovers over one of the red-highlighted xmlns lines a balloon pops up: URI is not registered (Settings | Project Settings | Schemas and DTDs). When the mouse hovers over the h:outputLabel tag a balloon pops up: Cannot resolve symbol: 'h:outputLabel'. However, in my project there are no such errors in any of my Facelet files.
According to Jetbrains, "IntelliJ IDEA will provide all of its coding assistance features for these files according to the type you will select for them in a status bar widget." Is this just a broken feature or is there a way to resolve this problem? It's completely not useful to have a XHTML scratch file that does not provide coding assistance.
UPDATE:
Changing to java.sun.com namespace does not resolve the issue:
I've fixed this issue on IntelliJ. In "settings > plugins", install "Jakarta EE:Server Faces(JSF)" or enable it
I am working on Android GingerBread. I'm using the following tutorial:
http://www.androidhive.info/2012/02/android-custom-listview-with-image-and-text/
for the following XML:
http://api.androidhive.info/music/music.xml
The problem is, everything is good except that I'm not getting the image of the first node in my Customized ListView thumbnail.
If someone knows the solution, it would be highly appreciated. I've tried several times cleaning and refreshing the project but no use.
I am using route-me MapView for displaying offline map. It works well in the sample. I followed the Embedding guides and added the MapView.XCodeProj to my Xcode project it compiles successfully. But in my viewcontroller if i add RMMapView view as a subview to main view. It gives an error as "RMMapView refrence not found"
Need a bit more information, the exact error output would be helpful, but it sounds like you are missing the libraries. Make sure that libMapView.a has been added to Target->Build Phases->Link Binary With Libraries.
You might want to double check every step of the embedding guides.
Ciao!
-- Randy