I have a Dropdown textbox on my application page. On click of textbox it shows dropdown list. But When i run the script it doesn’t work. I am not able to click on textbox and select a option from dropdown.
Hi i tried using waitForElementVisible But not worked, still it says Element not visible. Infact I do not see the dropdown list when test is running. But Click action says test passed in log view.
Unable to click on object ‘Object Repository/Address zone/li_L1’ (Root cause: org.openqa.selenium.ElementNotVisibleException: element not visible
(Session info: chrome=72.0.3626.121)
(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.17763 x86_64) (WARNING: The server did not provide any stacktrace information)
This keyword is working fine with other elements. Do not know whats wrong with this specific step!!
“CustomKeywords.‘clickaction.Click.clickUsingJS’(findTestObject(’ Address zone/List’),
0)”
And + symbol is to add the UDF field’s and that ll show up in dropdown. We can only add the dropdown options there and we cannot select the option from there. It looks something like this
I undestand and i am sorry for that. There are something which is confidential and i cannot share here That’s the reason i had removed the actual path from object repository. Cause term used is very confidential. That is making me to retype n modify the scripts.
In that case - its obviously having trouble actually locating the element itself to click on - Can you please share the elements attributes you captured ? or did you manually add the xpath
No - on the screenshot you just sent me, next xpath click on attributes - please make sure that you make the window big enough so that none of the text is cut off