LcabezasM Absent Member.
Absent Member.
3706 views

From testpartner script to Silk .NET scripts

Jump to solution

Friends, first of all I am newbie in SilkTest, I come to you because I have researched and have not had much luck.

I have a client that has a web streams Siebel 8.1, automated with Testpertner 6.3.0. and test_scripts.
We need to replace them with Silk Test, think with .Net scripts should be possible, please tell me if it is not.
For example I have the following simple code TP, as I can replicate or migrate to Silk?

IEWindow("Application=IEXPLORE.EXE", tpAttachNoWait).Attach

TypeEditBox "TypeName=HTMLEditBox Name=s_5_1_0_0", (Num_De_Telefono)
HTMLEditBox("Name=s_4_1_1_0").Click
HTMLAnchor("Caption=Enviar").Click

Greetings...

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Contributor
Micro Focus Contributor

RE: From testpartner script to Silk .NET scripts

Jump to solution

I think we could deal better with this if you could log a support case please, Luis.

0 Likes
8 Replies
Micro Focus Contributor
Micro Focus Contributor

RE: From testpartner script to Silk .NET scripts

Jump to solution

TypeEditBox looks like it is a user defined function, I assume that this performs some action against the control identified by the attach name that is passed to the function, it will be impossible to answer any question without knowing the contents of this function.

If you are asking whether Silk Test can automate Internet Explorer then the answer is a resounding yes. My advice is to attempt to record the same actions using a Silk Test .Net script and that should give you an idea on what the differences are between the two languages and object models. Remember that the attach names will not be compatible because the underlying engines are different, also Silk Test uses locators whereas TestPartner uses attach names.

Good luck.

//*eggbox
0 Likes
Micro Focus Contributor
Micro Focus Contributor

RE: From testpartner script to Silk .NET scripts

Jump to solution

As Eggbox says, the scripting engines are different. TestPartner uses VBA (Visual Basic for Applications) whereas Silk Test Workbench uses vb.Net. There is no direct translation between the two languages. Some third-party companies will sell you tools to migrate from VBA to vb.Net but in a very specialised situation like automated testing I'm not sure how much use these would be.

In short, replication (starting from scratch) is almost certainly going to be a lot easier than migration.

0 Likes
LcabezasM Absent Member.
Absent Member.

RE: From testpartner script to Silk .NET scripts

Jump to solution

thank you for your comments ..

I explain the main problem...  I am trying to automate a flow against Oracle Siebel (CLUAT CRM ESN 8.1), in which I have to interact with a grid, click on a cell, enter a phone number, with that data is displayed and you must click on a link the same data appears in the grid.

The problem is that Silk only detects the primary DOM element as a whole, does not detect the click or the buttons on the grid, fails to capture the interaction with cells.

please see the picture:

www.dropbox.com/.../2015-04-23%2018_00_07-.png

0 Likes
Highlighted
Micro Focus Contributor
Micro Focus Contributor

RE: From testpartner script to Silk .NET scripts

Jump to solution

I think we could deal better with this if you could log a support case please, Luis.

0 Likes
LcabezasM Absent Member.
Absent Member.

RE: From testpartner script to Silk .NET scripts

Jump to solution

ok DaiG, you can tell me how to send the case to support please?

...I am newbie in SilkTest and in this forum  and also..  

0 Likes
Micro Focus Contributor
Micro Focus Contributor

RE: From testpartner script to Silk .NET scripts

Jump to solution

Go to supportline.microfocus.com and create an account (if you haven't already done so). Log in and from the menu on the left select My Incidents | Report an Incident.

0 Likes
LcabezasM Absent Member.
Absent Member.

RE: From testpartner script to Silk .NET scripts

Jump to solution

well, I saw where enter the case, the issue is not yet have a license, we are evaluating silk, if it serves then buy the licenses ...we still have 35 days evaluation ...

0 Likes
Micro Focus Contributor
Micro Focus Contributor

RE: From testpartner script to Silk .NET scripts

Jump to solution

You can still log support cases during the evaluation period. When your sales rep gave you access to the download, he/she must have issued you with a 600000xxxxxx number - this is the licence number you enter when logging a support case.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.