Menu action correct value
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023
07:12 AM
08-03-2023
07:12 AM
Menu action correct value
What value would I have to write to select any element in the drop down menu? I don't mind if I have to select it with an index or with its text value.
Labels:
- Labels:
-
Keyword Tests
-
Script Tests
-
Web Testing
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023
07:35 AM
08-03-2023
07:35 AM
The method you want to use for your drop down list is ClickItem. For example,
dropdownList.ClickItem("Electricity");
PopupMenu is this UI control,
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023
11:25 PM
08-03-2023
11:25 PM
Is there a way to do that in a keyword test with the menu action operation?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2023
12:42 AM
08-04-2023
12:42 AM
Here's an example, which selects 'Audi' from the combo box using method ClickItem()
The following keyword operations,
MainMenu will select this,
PopupMenu will select this,
