xpath


Unable to capture XPath of dynamic element - Selenium - C#(Visual Studio)


There is a Text box where in data is entered. On entering a drop down list pops out(kind of auto extender), with few options matching the entered text. I need to select one value form the list. But I am unable to capture the XPath, when I try to fetch the XPath, the list auto closes. How to capture such element?
HTML code for List:
<div id="citydiv" style="height: 120px; overflow: auto; position: absolute; width: 129px; visibility: hidden; left: 370px; top: 542px; z-index: 1000; display: none;" class="AutoExtender"></div>

Related Links

Error when get attributes with xquery in basex 7.9
DustJS xpath next sibling axis equivalent
How to find same elements with xpath
Need to identify element
find element by xpath 'No such element' error
Selenium WebDriver findElement(By.xpath()) not working
Use XPath with condition to get array values from XML
What is the difference between absolute and relative xpaths? Which is preferred in Selenium automation testing?
XPath fails when using XmlUtil (UFT 12.0)
xpath syntax for ignoring whitespace and newlines
How to get relative path in XPath?
extract text without <div> and <p> with xpath
using xpath need to get to a child and get another node one level up
XPath expression to filter incoming XML Documents
pull data from 2 xml files into third file
wso2 esb xpath substring-before special characters Carriage Return

Categories

HOME
qt
jboss
nam
flask
gaming
facebook-messenger
focus
kivy
theano
odata
mongoid
openflow
jint
share
video-streaming
cocotb
elastic-load-balancer
fireloop
slide
lapack
amazon-emr
fbloginview
game-maker
fullcalendar-scheduler
multi-step
django-rq
sonicwall
mixpanel
fosuserbundle
cocos2d-android
cloudsim
bluemix-mobile-services
tableview
hdl
software-packaging
router
strophe.js
bobo-browse.net
basic-authentication
autodesk-model-derivative
advanced-filter
xmlunit
image-optimization
recovery
gitolite
export-to-pdf
flowchart
hypothesis-test
raytracing
sendinput
android-5.0-lollipop
mura
http-basic-authentication
email-forwarding
polymaps
degrees
sidewaffle
cognos-tm1
deviare
bilinear-interpolation
traversable
android-sdcard
piping
processor
ui4j
smart-tv
stack-smash
fanotify
asp.net-web-api-helppages
gitlab-omnibus
domino-designer-eclipse
karma-coverage
unidata
actionpack
ocmockito
whitespace-language
kotlin-android-extensions
python-curses
android-audiomanager
tidyr
adhoc-polymorphism
smacss
android-2.3-gingerbread
stripe.net
xmi
boolean-algebra
property-injection
assetic
objective-c-runtime
microformats
android-authenticator
itunes-sdk
jsplitpane
email-verification
lynx
uploading
affinetransform
background-repeat
zend-server-ce
litespeed
will-paginate
botnet
downgrade
mongrel
chunking
pinax
j2mepolish
autobench
downloadfile

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App