问题标签 [tosca]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
168 浏览

tosca - 扫描当前 URL 并与 tosca 中的缓冲区进行比较

登录网站后,可能会先到校对页面,然后再到着陆页,或者直接到着陆页,这是不受控制和不可预测的。因此,我扫描了校对页面并比较了我的测试用例中的 URL,但由于直接进入登录页面而失败。如果我反之亦然,它会在登陆页面出现时起作用,但在校对页面出现在两者之间时会失败。有什么办法可以处理这种情况。

谢谢安佳娜。

0 投票
0 回答
75 浏览

automation - 有没有办法使用 Tricentis Tosca TBoxAPI 将在 excection 中生成的文件附加到结果中

是否可以将在执行测试用例时生成的文件附加到 Tricentis Tosca 的执行结果中?

我编写了一个生成 .csv 文件的 SpecialExecutionTask,但现在我想将它附加到 TestResult 中,所以我将它放在项目中。

TBox API 有没有办法做到这一点?

谢谢

0 投票
1 回答
266 浏览

tosca - 缓冲在运行时使用 tosca 在其他页面上导航的新 url

有一个名为 X 的网站,当您单击网站 X 中的特定按钮时,它会在另一个带有新 url 的选项卡中导航,我想在运行时缓冲该新 url。在托斯卡怎么办?

0 投票
0 回答
451 浏览

tosca - 如何使用 tosca 验证按钮的背景颜色和字体颜色

我正在尝试自动化 Tosca 中按钮的背景颜色和字体颜色,但无法做到这一点,谁能帮我解决这个问题

0 投票
1 回答
732 浏览

tosca - 如何计算 TOSCA 中两个日期之间的月差?

日期 1:2020 年 10 月 25 日 日期 2:2021 年 1 月 25 日 差异 = 3

在 TOSCA 中找出两个日期之间的差异的公式是什么?

0 投票
0 回答
178 浏览

tosca - 缓冲区动作模式的缓冲区值未保存在 TOSCA Commander 中

我已经使用缓冲区操作模式定义了缓冲区值。我尝试使用 MATH 函数调用缓冲区以验证另一个属性,但我的缓冲区不是自动列出的。当我在设置 - 引擎 - 缓冲区下检查时 - 没有存储定义的缓冲区值。

如何解决这个问题?

0 投票
0 回答
551 浏览

tosca - Tosca 字符串操作模块不替换双引号

我正在处理一个要求,我想使用 TC 字符串操作替换“用 \”。以下是我传递给 TC 字符串操作模块的参数。

值:{B[matching_pattern]} 操作:替换,全局模式:“ReplaceBy:” Reault:matching_pattern 动作模式:buffer

此方法适用于除 "

任何帮助将不胜感激。

0 投票
0 回答
48 浏览

tosca - 观察问题 Tosca 中已添加具有相同键的项目 触发 SQL 语句时每日自动化运行

System.ArgumentException:已添加具有相同键的项目。在 System.ThrowHelper.ThrowArgumentException(ExceptionResource 资源) 在 System.Collections.Generic.Dictionary 2.Insert(TKey key, TValue value, Boolean add) at Tricentis.Automation.Engines.SpecialExecutionTasks.Database.DatabaseResourceManager.CreateResource(String connectionName, IDatabaseConnectionResource newDatabaseConnectionResource) at Tricentis.Automation.Engines.SpecialExecutionTasks.Database.DatabaseResourceManager.CreateResource(String connectionName, String dsn, String userId, String password, Nullable1 connectionTimeout, Nullable 1 commandTimeout) at Tricentis.Automation.Engines.Transitions.ConnectionStringToDatabaseConnectionTransition.GetTechnicals() at Tricentis.Automation.Engines.Adapters.Controllers.RootAdapterController.SearchInternal() at Tricentis.Automation.Engines.Adapters.Controllers.AdapterController.Search() at Tricentis.Automation.Engines.Representations.Controllers.RepresentationController.SearchAllRepresentations(IAdapterController adapterController) at Tricentis.Automation.Engines.Representations.Controllers.RepresentationController.SearchRepresentations(IAdapterController adapterController) at Tricentis.Automation.Engines.Representations.Controllers.RootRepresentationController.SearchRepresentation() at Tricentis.Automation.Engines.Representations.Controllers.RepresentationController.Search() at ᜃ.ᜀ(IRepresentationController A_0) at ᜃ.ᜁ(IRepresentationController A_0, IRepresentation& A_1) at ᜄ.ᜀ(IRepresentationController A_0, IRepresentation& A_1) at ᜃ.ᜀ() at Tricentis.Automation.Execution.Synchronization.RepresentationTestActionSynchronizer.Retry() at Tricentis.Automation.Execution.Synchronization.Synchronizer1.DoSynchronize(InterfaceType interfaceType) 在 Tricentis.Automation.Execution.Synchronization.Synchronizer 1.TryRestore(Exception ex, TCurrent executor) at Tricentis.Automation.Execution.Synchronization.Synchronizer1.DoSynchronize(InterfaceType interfaceType) 在 Tricentis.Automation .Execution.Synchronization.Synchronizer 1.DoSynchronize(ITestAction itemToSynchronize) at Tricentis.Automation.Execution.TestActionExecutor.DoExecute() at Tricentis.Automation.Execution.ItemExecutor1.Execute()

0 投票
0 回答
35 浏览

templates - 无法使用 cloudify tosca 模板在 Vsphere 上创建快照 VM

我一直在尝试对 VM 进行一些重新配置,例如 poweron/shutdown/etc 我正在使用插件中定义的接口所有其他操作都工作正常,但它无法创建 VM 的快照并且它没有在日志中显示任何错误

0 投票
1 回答
497 浏览

tosca - 找不到容器“x”

是否有人使用 Tosca(模块)并且在测试用例中有相同的错误: 找不到容器'x'

attr 已经适应:XPath-> 正确;可见=真;类名-> 正确。

应该怎么做,tosca 才能找到这个容器?谢谢你