Twitter bootstrap 使用Selenium IDE如何在引导脚本化UI中鼠标悬停元素?
我尝试使用mouseover在使用引导的站点中的元素上悬停(我尝试使用按钮,或者简单地使用img类),但没有成功。这是我想鼠标悬停的元素,在它上面显示一些内容(我想验证)。谢谢Twitter bootstrap 使用Selenium IDE如何在引导脚本化UI中鼠标悬停元素?,twitter-bootstrap,selenium,mouseover,selenium-ide,onmouseover,Twitter Bootstrap,Selenium,Mouseover,Selenium Ide,Onmouseover,我尝试使用mouseover在使用引导的站点中的元素上悬停(我尝试使用按钮,或者简单地使用img类),但没有成功。这是我想鼠标悬停的元素,在它上面显示一些内容(我想验证)。谢谢 <span class="label-info form-info" data-toggle="popover" title="Information" data-content="The data that needs to be verified"> 我尝试了以下对我无效的方法: <tr>
<span class="label-info form-info" data-toggle="popover" title="Information" data-content="The data that needs to be verified">
我尝试了以下对我无效的方法:
<tr>
<td>mouseOver</td>
<td>xpath of element location mentioned above</td>
<td></td>
</tr>
鼠标盖
上面提到的元素位置的xpath
请参见下面的谷歌示例,当鼠标滑过谷歌搜索按钮时,按钮模糊
<tr>
<td>open</td>
<td>https://www.google.co.in/</td>
<td></td>
</tr>
<tr>
<td>mouseOver</td>
<td>id=gbqfba</td>
<td>Google Search</td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>I'm Feeling Lucky</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Google Search</td>
<td></td>
</tr>
<tr>
<td>mouseOut</td>
<td>id=gbqfba</td>
<td>Google Search</td>
</tr>
打开
https://www.google.co.in/
鼠标盖
id=gbqfba
谷歌搜索
验证文本当前
手气不错
验证文本当前
谷歌搜索
灭鼠器
id=gbqfba
谷歌搜索
请参见下面的谷歌示例,当鼠标滑过谷歌搜索按钮时,按钮模糊
<tr>
<td>open</td>
<td>https://www.google.co.in/</td>
<td></td>
</tr>
<tr>
<td>mouseOver</td>
<td>id=gbqfba</td>
<td>Google Search</td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>I'm Feeling Lucky</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Google Search</td>
<td></td>
</tr>
<tr>
<td>mouseOut</td>
<td>id=gbqfba</td>
<td>Google Search</td>
</tr>
打开
https://www.google.co.in/
鼠标盖
id=gbqfba
谷歌搜索
验证文本当前
手气不错
验证文本当前
谷歌搜索
灭鼠器
id=gbqfba
谷歌搜索
谢谢,但问题是引导css,我不确定如何使用mouseover进行引导,因为它对其元素不起作用。有什么想法吗?谢谢,但问题是引导css,我不知道如何使用mouseover进行引导,因为它对其元素不起作用。有什么想法吗?