解决了

如何在网页上的鼠标悬停在一个链接使用托斯卡?

  • 2023年7月31日
  • 3回复
  • 8的观点

Userlevel 5
徽章 + 2
  • 社区经理
  • 72回复

你好,

如何在网页上的鼠标悬停在一个链接使用托斯卡?

注意:尝试使用{MOUSEOVER}点击使用TBox,然而,它并不奏效。

谢谢,

(最初要求和解决支持中心)

图标

最佳答案社区管理员2023年7月31日14:04

I just tried a quick example of {MOUSEOVER} with TBox, Tosca 8.2.0 and it seemed to work fine.<\/p>

\u00a0<\/p>

Using XScan I create a module with the \"Apps\" link on the Google homepage (the little image of 9 boxes between \"Images\" and \"Sign In\" near the top right of the page).<\/p>

\u00a0<\/p>

Using this in a test step, {MOUSEOVER} brings up the popup\/tooltip text. {CLICK} brings up the submenu of apps. This matches the behaviours of the control when I manually mouseover or click it.<\/p>

\u00a0<\/p>

Perhaps I'm misunderstanding your particular scenarios or there is something else going on in your web page that affects the behaviour when Tosca tries to steer the control, but at least for simple usage it seems to do what it supposed to.<\/p>","className":"post__content__best_answer"}">

查看原始

3回复

Userlevel 3
徽章 + 2

我只是尝试一个简单的例子与TBox {MOUSEOVER},托斯卡8.2.0似乎工作好。

使用XScan我创建一个模块与谷歌主页上的“应用程序”链接(9的小图像框之间的“图像”和“登录”页面的右上角附近)。

使用此测试步骤,{MOUSEOVER}提出弹出/提示文本。{点击}提出应用的子菜单。这个比赛的行为控制当我手动鼠标悬停或点击它。

也许我误解你的特定的场景或有其他东西在您的web页面,影响行为当托斯卡试图引导控制,但至少对于简单的使用似乎应该做它。

Userlevel 5
徽章 + 2

您可以使用热键功能扫描弹出托斯卡向导。还需要扫描一个容器(Tabcontrol)执行单击选项和conatiner (Tabcontrol)变量或对象出现在它。

Userlevel 3
徽章 + 2

我不知道你是否仍在寻找一个答案,但这是我会怎么做,如果你经历面临着同样的问题。

TBox:

我完全同意布兰登·拉塞尔和托马斯储料器在说什么。最近有很多添加TBox使它非常强大,即使{MOUSEOVER}没有旧版本的工作,现在必须工作在托斯卡的新版本。如果你得到任何错误消息,请贴在这里,有人能够工作。

古典引擎:

你告诉的行为可以很容易被复制(不用写海关关键词)。然而,这仅仅是一个解决方案,达到期望的结果。请捕获的元素必须鼠标使用托斯卡向导。在所有的概率是HTMLLink。在测试步骤,给这个元素的值为{RIGHTCLICK}。在90%的情况下,鼠标指针会移动到链接,您将能够看到行动发生如果你有老鼠over-ed控制。如果它不工作尝试改变DOMClick选项。这就是我的鼠标控制自动化所有门户测试。我一直这样做,因为托斯卡7.2.2测试套件版本。

我希望这个解决方案适合你。

回复


Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu
map