Sr. Software Developer
Original Message:
Sent: Mon April 06, 2026 11:27 AM
From: singireddy supriya
Subject: Select from the DropDown
Hey Thank you, It worked .. i didn't use webfocus that was the reason it didn't work earlier.
------------------------------
singireddy supriya
Original Message:
Sent: Mon April 06, 2026 10:49 AM
From: Tarcio Alonso Mota
Subject: Select from the DropDown
Just an example:
defVar --name browser --type Browser
webStart --name web --type "Chrome" --userprofilepreferences "AutomationOptimized" --downloadpath "C:\\Users\\Administrator\\AppData\\Local\\IBM Robotic Process Automation\\downloads" browser=value
webNavigate --url "https://opensource-demo.orangehrmlive.com/web/index.php/auth/login"
webWaitElement --selector "XPath" --xpath "//*[@id=\"app\"]/div[1]/div/div[1]/div/div[2]/div[2]/form/div[1]/div/div[2]/input"
webSet --value Admin --selector "XPath" --xpath "//*[@id=\"app\"]/div[1]/div/div[1]/div/div[2]/div[2]/form/div[1]/div/div[2]/input" --simulatehuman
webSet --value admin123 --selector "XPath" --xpath "//*[@id=\"app\"]/div[1]/div/div[1]/div/div[2]/div[2]/form/div[2]/div/div[2]/input" --simulatehuman
webClick --selector "XPath" --xpath "//*[@id=\"app\"]/div[1]/div/div[1]/div/div[2]/div[2]/form/div[3]/button"
webWaitElement --selector "XPath" --xpath "//*[@id=\"app\"]/div[1]/div[1]/aside/nav/div[2]/ul/li[1]/a"
webClick --selector "XPath" --xpath "//*[@id=\"app\"]/div[1]/div[1]/aside/nav/div[2]/ul/li[1]/a"
webWaitElement --selector "XPath" --xpath "//*[@id=\"app\"]/div[1]/div[2]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[2]/div/div[2]/div"
webClick --selector "XPath" --xpath "//*[@id=\"app\"]/div[1]/div[2]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[2]/div/div[2]/div" --simulatehuman
webFocus --selector "XPath" --xpath "//*[@id=\"app\"]/div[1]/div[2]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[2]/div/div[2]/div/div[2]"
sendKeys --keys "{e}"
sendKeys --keys "{ENTER}"
webClose --name web --leavebrowseropen
------------------------------
Tarcio Alonso Mota
Sr. Software Developer
IBM
Original Message:
Sent: Mon April 06, 2026 10:11 AM
From: singireddy supriya
Subject: Select from the DropDown
tried using webclick and websetkeys but didn't work..it was able to click the dropdown but unable to select from it websetkeys is executing but i dont see anything happening on the site.
------------------------------
singireddy supriya
Original Message:
Sent: Mon April 06, 2026 10:07 AM
From: Tarcio Alonso Mota
Subject: Select from the DropDown
This control is custom, it is not a native "<select>".
You may need to select it manually by sending webClick and webSetKeys commands, or use the executeJavaScript command.
------------------------------
Tarcio Alonso Mota
Sr. Software Developer
IBM
Original Message:
Sent: Mon April 06, 2026 09:59 AM
From: singireddy supriya
Subject: Select from the DropDown
Hi, I am trying to create a poc and found OrangeHRM site for that , below is the screenshot of the combobox,i tried using select Item in combo box activity.
------------------------------
singireddy supriya
Original Message:
Sent: Mon April 06, 2026 07:01 AM
From: Tarcio Alonso Mota
Subject: Select from the DropDown
Is your application a Windows, Java, or web application?
What command did you try to use?
Could you provide a screenshot of the screen with the dropdown menu open so we can get a better view of the situation?
------------------------------
Tarcio Alonso Mota
Sr. Software Developer
IBM
Original Message:
Sent: Fri April 03, 2026 06:40 AM
From: singireddy supriya
Subject: Select from the DropDown
I wanted to select city from the dropdown, but when i tried with the select from comb box its doing nothing and even tried by sending window keys nothing seemed to be working . Are there any other ways?
------------------------------
singireddy supriya
------------------------------