简体   繁体   English

如何使用Sikuli API从右键单击中选择选项

[英]How to select option from Right Click using Sikuli API

I am using Sikuli Java API to verify screens in a Eclipse Based Application. 我正在使用Sikuli Java API来验证基于Eclipse的应用程序中的屏幕。 Now I am struck with Performing Right Click on a Task and Do a Right Mouse Click and select a Option 现在,我对执行任务的右键单击和单击鼠标右键并选择一个选项感到震惊

I have heard about Key Modifiers but how to use it I am not sure. 我听说过密钥修饰符,但不确定如何使用。

Kindly suggest your ways 请建议您的方式

I'm not completly understand about this question, but when I want to select option after right click 我对这个问题并不完全了解,但是当我想在右键单击后选择选项时

  1. I will check the options it have short key or not (like Delete, it can use type(Key.DELETE) instead) 我将检查它是否具有短键的选项(例如Delete,它可以使用type(Key.DELETE)代替)
  2. or it have not, I just capture menu image and click it 还是没有,我只是捕获菜单图像并单击它

Refer this link on how to use Mouse/Keyboard actions - http://doc.sikuli.org/region.html#low-level-mouse-and-keyboard-actions . 请参阅此链接,了解如何使用鼠标/键盘操作-http://doc.sikuli.org/region.html#low-level-mouse-and-keyboard-actions

  1. Do a mouse right click 用鼠标右键单击
  2. Do a sikuli click based on screenshot of the option 根据选项的屏幕截图进行点击

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法使用 java 在 selenium 的右键菜单中选择 select - Unable to select an option from right click menu in selenium using java 如何使用sikuli单击特定的复选框 - How to click on a particular Checkbox using sikuli 从Selenium Webdriver - Java中的右键菜单中选择一个选项 - Select an Option from the Right-Click Menu in Selenium Webdriver - Java 如何右键单击元素并在selenium中的chrome浏览器中选择一个选项 - How to right click on a element and select a option in chrome browser in selenium 当屏幕上存在两个完全相同的图像时,如何通过使用Sikuli和Java从屏幕上单击图像 - how to click an image from the screen by using Sikuli with java when there are two exact identical images present in the screen 选择Firefox浏览器的“后退”按钮以右键单击,然后从右键单击Selenium Web Driver-Java中的“菜单”。 - Select the “back” button of the Firefox browser to right click and Select the Option from the right click Menu in Selenium Web Driver - Java 如何使用 Selenium 和 Java 从非 select 下拉菜单中单击和 select 选项 - How to click and select an option from a non select dropdown using Selenium and Java 如何使用Sikuli + Java根据与其相邻的文本选择单选按钮? - How to select a radio button based on the text adjacent to it using Sikuli + Java? 如何在Webdriver中使用Sikuli选择准确的图像 - How can I select an exact image using Sikuli in webdriver Sikuli-单击元素不适用于Java API,但可以在IDE中使用-WPF应用 - Sikuli - Click on element does not work with Java API but it works from IDE - WPF app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM