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

Is it possible to call .NET Invoke method from SilkTest test case?

Is it possible to call .NET Invoke method from SilkTest test case? I can call it using DynamicInvoke method, but I don't know what to pass as parameters that would be equal to method delegate.
xx77aBs
  • 4,678
  • 9
  • 53
  • 77
1
vote
1 answer

Access .NET properties from SilkTest classic

Is it possible to access .NET properties using SilkTest classic (4Test language)? I need to read value of labels that are shown on System.Windows.Forms.DataVisualization.Charting.Chart control. I can't use GetProperty or DynamicInvoke because when…
xx77aBs
  • 4,678
  • 9
  • 53
  • 77
1
vote
1 answer

SilkTest base state unrecognized after consecutive tests run

In my testing environment, we have classes that perform certain actions, some of them using SilkTest stuff. The test procedures are defined by XML files that we parse, turn into ActionImpl classes, and perform stuff with. For example, the following…
Tom
  • 221
  • 4
  • 15
1
vote
1 answer

Perform SilkTest actions on an Eclipse that's always already open?

I want to be able to recognize the Eclipse window, which is always already open, so I won't ever need to open it with SilkTest. Is there a way that I can set the base state to be a window that's always going to be open? It seems the way to set the…
Tom
  • 221
  • 4
  • 15
1
vote
1 answer

Alternative way to identify a window in SilkTest?

Using SilkTest, I am identifying a Putty window with the following technique: Window puttyWindow = desktop.find("//Window[@caption='*PuTTY*']"); Is there a better way to accomplish this? Perhaps get an ID number to identify the Window? Or is…
Tom
  • 221
  • 4
  • 15
1
vote
1 answer

Handling IE8 Information Bar in SilkTest

I'm automating a file download with SilkTest. In IE8, an information bar shows up saying "To help protect your security, Internet Explorer blocked... Click here for options...". I want to be able to target this with SilkTest. Is this possible? Is it…
Tom
  • 221
  • 4
  • 15
1
vote
1 answer

Using a variable retrived from a file as column value in a SQL Query in SilkTest Script

I am creating a SilkTest script in which am storing a string in a List of String variable List of STRING FaultDn This variable reads the string from a file. FaultDn = ReadFile("C:\FaultDn.txt") Then I try to connect to SQL database to retrieve a…
Diya
  • 143
  • 1
  • 3
  • 13
1
vote
1 answer

Alternative SilkTest IDE

Coming from Eclipse, there are many features that simply do not exist in the SilkTest IDE. My question is this: Is there an alternative IDE to SilkTest that I could use to maintain our SilkTest scripts? Something that can offer some of the power…
Plenoge
  • 17
  • 8
0
votes
1 answer

SilkTest : Navigate to Browser Instance1

I login as User1 from Browser- instance1, then login as User2 from same browser Instance2, how can I go back to Browser- instance1? Browser: IE6-7
user936636
  • 43
  • 1
  • 6
0
votes
1 answer

Pass Variables to SilkTest Workbench stw.exe from Command Line

Variables are not recognized I hava a Silk Test Workbench .Net Script called Dummy Public Module Main Public Test As String = "test" Public Sub Main() msgBox(Test) End Sub End Module I want to run stw.exe using Command Line and override…
Raymond
  • 1
  • 1
0
votes
2 answers

How to fix Bitmap failed to stabilize error on Silk Test

getting Bitmap exception on captureBitmap() method for desktop application in silktest workbench With _desktop.FormsWindow("AppMainWindow") .CaptureBitmap("C:\Snapshots\ErrorImage.PNG") .PushButton("buttonOK").Click() End…
0
votes
1 answer

Jenkins Output Incomplete Log to the Console - SilkTest

I have a Jenkins pipeline that will run a batch file which contains command to run silk test. The part of the pipeline is as follow: stage('execute-testscripts') { steps { script { bat "cd…
junsiong2008
  • 107
  • 13
0
votes
2 answers

Silk Test Visual Test Pressed Enter Key

Let's say there's only one textbox on a page (no confirm button). I have inputted the text. How do I press enter? (in mobile, I can press the "enter" key in the keyboard, but there's no keyboard in visual test). Can anyone please help me? EDIT So in…
JesVan
  • 63
  • 1
  • 1
  • 7
0
votes
1 answer

class.method(XPath).select();

I have a following line of code: silk.find(buttonSubmitSearchXPathMain).select(); I've never seen a method being accompanied by . I have a few other methods like that with the same brackets but different words. Unfortunately I'm…
Prostak
  • 3,565
  • 7
  • 35
  • 46
0
votes
2 answers

How to map silk 4j script to the test case in Silk Central

Please suggest on how to map/link silk 4j script to the manual test case written in Silk Central. Like for 4Test script we select .t file and then the testcase under silk test classic properties in silk central for each test case.