Questions tagged [silktest]

Silk Test is Micro Focus's (previously Borland's) test automation solution for development, quality and business teams.

Silk Test is Micro Focus's (previously Borland's) test automation solution for development, quality and business teams.

https://www.microfocus.com/products/silk-portfolio/silk-test

101 questions
1
vote
1 answer

create a class in silktest

May I know how to create a class in SilkTest?I am using Open Agent. I created a class: winclass hello void check() print("hi") I included it in the include file.But whenever i create an object for it in Test Script,I get an error saying…
psy
  • 914
  • 3
  • 10
  • 31
1
vote
1 answer

Truncate the method in java

I have the following code: public class Search { private Desktop desktop = new Desktop(); @Before public void baseState() { BrowserBaseState baseState = new BrowserBaseState("silk4j.settings"); …
Prostak
  • 3,565
  • 7
  • 35
  • 46
1
vote
1 answer

How to deal with automated scripts when multiple releases are in progress simultaneously

We have a continuous development architecture where developers are working on multiple software releases at the same time like developing/ fixing R6.5 or R5.8 releases simultaneously. Sometimes there are major GUI differences between the two…
SSharma
  • 41
  • 1
1
vote
1 answer

Silk Test - Record open dialog in Chrome

I'm using silk test 17.5 in order to record a .net script on a web application, in Chrome 51. I have to upload a file by a open dialog box. What is the bets way to achieve it? Thank you.
BlueTree
  • 179
  • 1
  • 13
1
vote
2 answers

How to set a checkbox status as True / False within a IF-THEN statement using vb.net

I am trying to automate a scenario using silk test and am very new to coding using vb.net. Basically i have a checkbox identified and want to set it to either true or false based on a string value being passed. for e.g. Dim tfnSigned As…
1
vote
1 answer

How to use callback function in SilkTest's 4Test language

So I'm trying to use something ancient like the 4Test language in SilkTest in a somewhat modern manner. I have several similar tests which differ in only a part of the code. I would like to create an infrastructure function which would do the…
Kokozaurus
  • 639
  • 7
  • 22
1
vote
1 answer

Unable to dismiss a message box automatically in vb.net

I am trying a simple code in Silk4Net using VB.Net. I have automated launching of a calculator. Before the numbers can be typed, a message box appears. I am unable to find a way to dismiss the message box automatically. I want to be able to…
Pallavi Prasad
  • 577
  • 2
  • 9
  • 28
1
vote
0 answers

MSTest occasionally hangs with VSTTExecution sourced error: ControllerExecution.ReleaseAllAgents: timed out waiting on m_agentsReleased

We're using Silk product suite for test automation. Our test scripts are developed in Silk4Net product and run on execution machines using MSTest.exe. Exec machines have only Visual Studio Test Agent installed as per Silk…
Cagin Uludamar
  • 372
  • 1
  • 3
  • 16
1
vote
0 answers

SilkTest: HTML tag associated to a DomElement object

I have a SilkTest DomElement object, and I need to get the HTML tag associated to this DomElement. How can I do this? Thanks. // Silk4J DomElement column = row.getCell(i); if (???) { // TD case } else { // TH case } I may need it for others…
1
vote
2 answers

Is there any way to convert SilkTest into C#

I am trying to figure out a way to reliably convert SilkTest scripts into C#. The only idea I have come up with so far is disassembling a SilkTest binary then decompiling it. However, I can't find a way to get a SilkTest binary from a SilkTest .t…
user3236794
  • 578
  • 1
  • 6
  • 16
1
vote
2 answers

Integration between HP ALM and Borland SilkTest

Is there a mode to execute a SilkTest Workbench script from HP ALM (SaaS)? I know that there is a test called VAPI-XP, but I'd like to use in/out parameters, for get the final result test and the attachments that I recorded in time execution.…
1
vote
0 answers

Getting the maximum width of a textfield in Silk4J

In a previous version of our application there was a SAP GUI SapTextField that allowed too long input. I'd now like to write a test that ensures the maximum input length of the textfield is limited. Unfortunately I could not find a way to determine…
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
1
vote
1 answer

How to click a Button of type Menu or ButtonAndMenu in a SapToolbarControl?

I have a button in a SapToolbarControl which is of type ToolBarButtonType.ButtonAndMenu. I found out how to get the ID of the button and I have tried the three methods selectContextButton(), selectButton() and…
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
1
vote
0 answers

How to map a SAP FileOpenDialog?

I am using Silk4J 16 Hotfix 2 and I'm trying to automate a test. When pressing a button, a file open dialog appears and I need to specify a file to continue the test. Unfortunately it is not possible to record locators for the object map using…
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
1
vote
1 answer

Determining whether a button is enabled or disabled (Silk4J)

I am testing a SAP GUI application and I need to find out whether a button is enabled or disabled. I have read the MicroFocus documentation for the SapButton class, but I can't find a method like getEnabled(), isEnabled() or getDisabled() or…
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222