[英]How to enter data in child popup window fields and click ok button , when click radio button at main window
Step1 : Click on radio button at main window 步骤1 :单击主窗口中的单选按钮
Step2 : Small popup window was raised 第二步 :弹出小窗口
Step3 : should enter data in text fields and click ok button 步骤3 :应在文本字段中输入数据,然后单击确定按钮
Step4 : The small window should close and return to main window . 步骤4 :小窗口应关闭并返回主窗口。
I have tried using the switch handle concept in java - selenium web driver but not worked as expected . 我尝试在java-selenium Web驱动程序中使用切换句柄概念,但未按预期工作。 could any one suggest any solution
有人可以提出任何解决方案吗
您可以使用javax.swing.JOptionPane通过showInputDialog()函数完成它
If you are using Autoit Window commands dont forget to set 如果您使用的是“自动窗口”命令,请不要忘记设置
Opt("WinSearchChildren", 1) ;0=no, 1=search children also
in order to detect children. 为了发现孩子。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.