Setting WebEdit field fails regularly
I have an application which has a WebEdit field which works as a filter.
QTP can recognise the filter and set focus. For some reason, QTP fails to set the value of the field.
I've tried to set the field using many different methods but every approach fails.
Can anyone suggest a workaround for this - the problem occurs for every filter in the application?
Is there a setting in my local install of QTP that I should be changed?
Some of the methods I have used are listed below:-
Set WshShell = CreateObject("WScript.Shell")
WshShell.AppActivate "Enterprise" ' Activate the browser window
Browser("Enterprise").Page("Enterprise").WebEdit(" filter").Set fundCode
Browser("Enterprise").Page("Enterprise").WebEdit(" html id:=f[0-9][0-9]_lst1_filter").Set fundCode
Try switching the replay type.
When to change QTP Web ReplayType Setting? | KnowledgeInbox
Also in the Method 1 did you try without that AppActivate step? Could be undoing the click of that field and moving focus.
Also in the Method 1 did you try without that AppActivate step?
this appears to have worked. Thanks for your help