Highlighted
Absent Member.
Absent Member.
80 views

Automating .net

I have UFT 12.5 and I'm trying to get a .net application to record / playback.

I have a drop down box that appears like

DropDown.PNG

If I record selecting the drop down arrow, I get nothing

If I record selecting something from the drop down list, I get nothing

If I record tabbing out of the field, I get the following

SwfWindow("Cherwell Service Management").SwfEdit("SwfEdit").Type  micTab 

If I use the .NET windows form spy I get the following

ComboBox.PNGCollection.PNG

So it can be seen but how do I get that into my code to play back??

I have got it to play back using the following but that has limitations as noted in the comments

'Call Source - the following will select a Call Source based on the first letter of name only. Example: E = E-mail; P = Phone
'Problem S will only ever select Scheduler and not Self Service as second letter typed will be used as the first letter
SwfWindow("Cherwell Service Management").SwfEdit("CallSource").Type "E" 'This will get E-mail

 

 

0 Likes
1 Reply
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Re: Automating .net

Hi Mozza,

Hope you are doing well.

Could you please let us know your current Microsoft .NET Framework or the one used to develop the object we need to verify the compatibility with your UFT version using below Product Availability Matrix:

https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM196013

 

Also as workaround you may use Low-Level or Analog Recording modes following below intructions to continue working:

How to use Low-Level or Analog Recording modes:
 
Best regards,
 
” If you find this or any post useful to resolve the issue, please mark this thread as correct answer and other members can benefit with the information given”
 
Ruddy Alvarez H.
Customer Support Engineer

If you find thst aat this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the pond show your appreciation.
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.