Elements are not visible after selecting items from dropdown in android app

Deepanshu Rawat

There is a city field (drop down) in the address section, after clicking on it a pop up will open in which I can select the city after selecting city I'm not able to select any of the address elements.

def selecting state
      puts "Selecting State "
      puts  @utilities.is_element_present("id",get_selector(:address_1)) #returns true
      find_element(id:  get_selector(:province)).click #open dropdown
      sleep 1.5
      find_elements(id: "android:id/text1")[0].click . #select first state 
      sleep 2
      puts  @utilities.is_element_present("id",get_selector(:address_1))
#returns false   
    end

Ideally, address1 field should be true even after selecting the state.

enter image description here enter image description here

Angusiasty

This issue has been there for years and it's up to Google to fix it.

As a workaround you can create a list of object that your dropdown should contain and select item you want with 'down arrow' key. You can then verify what has been picked in textview field.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Selenium selecting value from dropdown

分類Dev

After selecting the value from dropdown list then it shows no any value next time

分類Dev

File not found error after selecting a file in android

分類Dev

Error after selecting data from database

分類Dev

Flutter set image after selecting from gallery

分類Dev

Issue Selecting DB value from DropDown List when Page is generated

分類Dev

input string not in correct format when selecting value from dropdown

分類Dev

How to open a div selecting a value from dropdown in jQuery

分類Dev

App icon is not visible on Actionbar in android Lollipop and above

分類Dev

Can no longer launch app from FirebaseMessagingService after Android OS update

分類Dev

Android app crashes after a variable is loaded from component

分類Dev

App auto closes after selecting list view item

分類Dev

Scrapping data from html table, selecting elements between titles

分類Dev

From list to data frame with tidyverse, selecting specific list elements

分類Dev

Issues selecting the first visible element

分類Dev

How to expose component from installed app to be visible to instant app?

分類Dev

Dropdown list not visible in Firefox

分類Dev

How to close a pop up list view after selecting an item in Android

分類Dev

Clear Push notifications from notification centre after selecting one

分類Dev

Get visible items in RecyclerView

分類Dev

Items in GridView not visible

分類Dev

Visible items of ListView

分類Dev

Change order of visible items

分類Dev

IllegalStateException when trying selecting photo from Google Photos app

分類Dev

Update UI after removing items from List

分類Dev

Android App not start after click

分類Dev

Selenium - Selecting an item from dropdown list if the values are inside <table> tags and NOT under <option> in html

分類Dev

Android Editext selecting multiple contacts from Contact List

分類Dev

Collision detection system not working after porting from Java applet to Android app

Related 関連記事

  1. 1

    Selenium selecting value from dropdown

  2. 2

    After selecting the value from dropdown list then it shows no any value next time

  3. 3

    File not found error after selecting a file in android

  4. 4

    Error after selecting data from database

  5. 5

    Flutter set image after selecting from gallery

  6. 6

    Issue Selecting DB value from DropDown List when Page is generated

  7. 7

    input string not in correct format when selecting value from dropdown

  8. 8

    How to open a div selecting a value from dropdown in jQuery

  9. 9

    App icon is not visible on Actionbar in android Lollipop and above

  10. 10

    Can no longer launch app from FirebaseMessagingService after Android OS update

  11. 11

    Android app crashes after a variable is loaded from component

  12. 12

    App auto closes after selecting list view item

  13. 13

    Scrapping data from html table, selecting elements between titles

  14. 14

    From list to data frame with tidyverse, selecting specific list elements

  15. 15

    Issues selecting the first visible element

  16. 16

    How to expose component from installed app to be visible to instant app?

  17. 17

    Dropdown list not visible in Firefox

  18. 18

    How to close a pop up list view after selecting an item in Android

  19. 19

    Clear Push notifications from notification centre after selecting one

  20. 20

    Get visible items in RecyclerView

  21. 21

    Items in GridView not visible

  22. 22

    Visible items of ListView

  23. 23

    Change order of visible items

  24. 24

    IllegalStateException when trying selecting photo from Google Photos app

  25. 25

    Update UI after removing items from List

  26. 26

    Android App not start after click

  27. 27

    Selenium - Selecting an item from dropdown list if the values are inside <table> tags and NOT under <option> in html

  28. 28

    Android Editext selecting multiple contacts from Contact List

  29. 29

    Collision detection system not working after porting from Java applet to Android app

ホットタグ

アーカイブ