how to click on a checkbox from a dropdown list
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2018
10:33 AM
05-31-2018
10:33 AM
how to click on a checkbox from a dropdown list
i'm trying to check an item from a dropdown table list. i can find the item but unable to click because i need to scroll down to view the checkbox. my code works if the item is visible. i'm just not sure how do i use the logic to scroll down if expected item is available ,any help or suggestion will be highly appreciated.
Screen shot and code is attached.
thanks
Solved! Go to Solution.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2018
10:35 AM
05-31-2018
10:35 AM
What if, before you call currentObject.Click, you make a call to currentObject.scrollIntoView(true)?
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2018
11:15 AM
05-31-2018
11:15 AM
Thank you So Much, have a nice day
