Mozza
Mozza

Reputation: 11

UFT automation testing on C#

I am currently using UFT (HP product - QTP) I need to automate test scripts against an application called Cherwell. Cherwell is written in C# and .net UFT addon for .net selected but there is not addon in UFT for C# (?) All the fields are represented by click co-ordinates and this will not replay

Has anyone automated Cherwell? Has anyone automated against C#? Can it be done with UFT?

Upvotes: 1

Views: 4142

Answers (2)

Alvaro
Alvaro

Reputation: 126

If using .Net and C#, we have two technology options: Winforms or WPF, so try loading both addins. Now, it is expected that UFT should recognize them using specific test objects like SwfButton or WpfButton (the prefix of the test object will depend on the technology. You can use this to determine your app's technology).

If still nothing, try adjusting "Record and Run settings" from Record menu. From "Windows Applications" tab, select the option "Record and Run test on any open Window-based application".

Upvotes: 2

dmcgill50
dmcgill50

Reputation: 540

HP UFT supports automating against the .NET Framework. Your C# application is of that breed. You will need to make sure that HP UFT is fully patched. You can work with HP to ensure this is the case. Simply open a support ticket and provide your SAID designating the kind of license and support you have paid for. Please refer to the support matrix provided by Joe Colantonio.

HP UFT Support Matrix

Upvotes: 1

Related Questions